|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.PluginServiceInterface.Model
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class TaskPackage
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int XH { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool Ischeck { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务包包号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BID { get; set; }
|
|
|
|
|
//public string TBBSM { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 包名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PackageName
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
string fileName = string.Empty;
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(PackagePath))
|
|
|
|
|
{
|
|
|
|
|
fileName = System.IO.Path.GetFileName(PackagePath);
|
|
|
|
|
}
|
|
|
|
|
//if (IsAdd)
|
|
|
|
|
//{
|
|
|
|
|
// fileName = "(New)" + fileName;
|
|
|
|
|
//}
|
|
|
|
|
return fileName;
|
|
|
|
|
}
|
|
|
|
|
set { }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标记是否是批次外的任务包
|
|
|
|
|
/// </summary>
|
|
|
|
|
//public bool IsAdd { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务包路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PackagePath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 解密任务包路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DecryptPackagePath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 加密后临时任务包路径:系统的操作保存到临时任务包,保存工程时再将临时任务包的数据放到主包
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PackageTempPath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对应矢量化后不可以编辑的图层存放的GDB路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GDBPath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对应矢量化后可编辑图层对应的GDB路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SchemeGDBPath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 包状态:未完成、已完成、已输出、返外业、待确认、外业中、未上传、已上传、上传失败
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string State { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返外业备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BZ { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 图斑数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TBCount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 未完成图斑数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int WWCCount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已完成图斑数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int WCCount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 输出路径:预处理软件使用
|
|
|
|
|
/// </summary>
|
|
|
|
|
//public string OutputPath { get; set; }
|
|
|
|
|
|
|
|
|
|
public string YWLX { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|