|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.Plugin.MakeTaskPackage.Entity
|
|
|
|
|
{
|
|
|
|
|
[DataContract]
|
|
|
|
|
public class WRJTask
|
|
|
|
|
{
|
|
|
|
|
private string m_id = string.Empty; // 任务包唯一编号
|
|
|
|
|
private string m_userName = string.Empty; // 创建人
|
|
|
|
|
private string m_createTime = string.Empty;// 创建时间
|
|
|
|
|
private string m_taskName = string.Empty; // 任务包名称
|
|
|
|
|
private int m_taskType = 1; // 任务类型:1 年度变更调查 2 督察举证;后续补充
|
|
|
|
|
private List<GeometryInfo> m_geometryInfoList; // 无人机任务列表
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string id { get => m_id; set => m_id = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string userName { get => m_userName; set => m_userName = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string createTime { get => m_createTime; set => m_createTime = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string taskName { get => m_taskName; set => m_taskName = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int taskType { get => m_taskType; set => m_taskType = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public List<GeometryInfo> tblist { get => m_geometryInfoList; set => m_geometryInfoList = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[DataContract]
|
|
|
|
|
public class GeometryInfo
|
|
|
|
|
{
|
|
|
|
|
private string m_tbbsm = string.Empty; // 图斑唯一编号,不为空
|
|
|
|
|
private string m_name = string.Empty; // 图斑名称
|
|
|
|
|
private string m_taskId = string.Empty; // 图斑所属任务或图层名称,不为空
|
|
|
|
|
private string m_subTask = string.Empty; // 图斑所属任务或图层的子任务名称
|
|
|
|
|
private string m_fjfl = string.Empty; // 图斑拍摄的照片分类,如整治前、整治后等,可为空
|
|
|
|
|
private string m_geometry = string.Empty; // 图形,CGCS2000球面坐标的WKT格式
|
|
|
|
|
private string m_attributes = string.Empty; // 图斑的属性,JSON字符串格式
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string tbbsm { get => m_tbbsm; set => m_tbbsm = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string name { get => m_name; set => m_name = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string taskId { get => m_taskId; set => m_taskId = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string subTask { get => m_subTask; set => m_subTask = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string fjfl { get => m_fjfl; set => m_fjfl = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string geometry { get => m_geometry; set => m_geometry = value; }
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string attributes { get => m_attributes; set => m_attributes = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|