using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ReactiveUI; using Kingo.Plugin.MakeTaskPackage.Entity; namespace Kingo.Plugin.MakeTaskPackage.Model { public class MakeTaskPackageModel : ReactiveObject { private int _id; public int ID { get { return _id; } set { this.RaiseAndSetIfChanged(ref _id, value); } } private int _pid; public int PID { get { return _pid; } set { this.RaiseAndSetIfChanged(ref _pid, value); } } private bool _isCheck; /// /// 是否选中 /// public bool IsCheck { get { return _isCheck; } set { this.RaiseAndSetIfChanged(ref _isCheck, value); } } private bool _isSlice; /// /// 是否切片 /// public bool IsSlice { get { return _isSlice; } set { this.RaiseAndSetIfChanged(ref _isSlice, value); } } private string _type; /// /// 类型 /// public string Type { get { return _type; } set { this.RaiseAndSetIfChanged(ref _type, value); } } private string _fileName; /// /// 文件名 /// public string FileName { get { return _fileName; } set { this.RaiseAndSetIfChanged(ref _fileName, value); } } private string _fileAliasName; /// /// 文件别名 /// public string FileAliasName { get { return _fileAliasName; } set { this.RaiseAndSetIfChanged(ref _fileAliasName, value); } } private string _make; /// /// 制作 /// public string Make { get { return _make; } set { this.RaiseAndSetIfChanged(ref _make, value); } } private object _layer; /// /// 图层 /// public object Layer { get { return _layer; } set { this.RaiseAndSetIfChanged(ref _layer, value); } } private string _dataState; /// /// 数据状态 /// public string DataState { get { return _dataState; } set { this.RaiseAndSetIfChanged(ref _dataState, value); } } private int _fcCount; /// /// 要素总数 /// public int FcCount { get { return _fcCount; } set { this.RaiseAndSetIfChanged(ref _fcCount, value); } } private int _currNum; /// /// 当前处理数 /// public int CurrNum { get { return _currNum; } set { this.RaiseAndSetIfChanged(ref _currNum, value); } } private int _layerIndex; /// /// 图层索引 /// public int LayerIndex { get { return _layerIndex; } set { this.RaiseAndSetIfChanged(ref _layerIndex, value); } } private int _gridRowIndex; /// /// 图层索引 /// public int GridRowIndex { get { return _gridRowIndex; } set { this.RaiseAndSetIfChanged(ref _gridRowIndex, value); } } private int _currentIndex; /// /// 当前索引 /// public int CurrentIndex { get { return _currentIndex; } set { this.RaiseAndSetIfChanged(ref _currentIndex, value); } } private bool _isLayerGroup; /// /// 是否是图层组 /// public bool IsLayerGroup { get { return _isLayerGroup; } set { this.RaiseAndSetIfChanged(ref _isLayerGroup, value); } } private List _taskModelList; /// /// 外业任务图层 /// public List TaskModelList { get { return _taskModelList; } set { this.RaiseAndSetIfChanged(ref _taskModelList, value); } } private ExcStateEnum _excState; /// /// 执行状态 /// public ExcStateEnum ExcState { get { return _excState; } set { this.RaiseAndSetIfChanged(ref _excState, value); } } private string _OutPath; public string OutPath { get { return _OutPath; } set { this.RaiseAndSetIfChanged(ref _OutPath, value); } } private string _OutFilePath; public string OutFilePath { get { return _OutFilePath; } set { this.RaiseAndSetIfChanged(ref _OutFilePath, value); } } /// /// 图层组名称 /// private string _mapGroupName; public string MapGroupName { get { return _mapGroupName; } set { this.RaiseAndSetIfChanged(ref _mapGroupName, value); } } /// /// 图层组索引 /// private int _mapGroupIndex; public int MapGroupIndex { get { return _mapGroupIndex; } set { this.RaiseAndSetIfChanged(ref _mapGroupIndex, value); } } /// /// mxd切片参数 /// private MxdParameters _mxdCutParameters; public MxdParameters MxdCutParameters { get { return _mxdCutParameters; } set { this.RaiseAndSetIfChanged(ref _mxdCutParameters, value); } } /// /// 图层数据源 /// private string _layerSource; public string LayerSource { get { return _layerSource; } set { this.RaiseAndSetIfChanged(ref _layerSource, value); } } /// /// 任务名称 /// private string _taskName; public string TaskName { get { return _taskName; } set { this.RaiseAndSetIfChanged(ref _taskName, value); } } /// /// 配置文件名称 /// private string _cfgFileName; public string CfgFileName { get { return _cfgFileName; } set { this.RaiseAndSetIfChanged(ref _cfgFileName, value); } } /// /// 图层数据过滤条件 /// private string _filterWhere; public string FilterWhere { get { return _filterWhere; } set { this.RaiseAndSetIfChanged(ref _filterWhere, value); } } /// /// 自定义范围字符串 /// private string _customStrGeo; public string CustomStrGeo { get { return _customStrGeo; } set { this.RaiseAndSetIfChanged(ref _customStrGeo, value); } } /// /// 自定义范围导出文件夹名称 /// private string _customPackName; public string CustomPackName { get { return _customPackName; } set { this.RaiseAndSetIfChanged(ref _customPackName, value); } } /// /// 执行状态 /// public enum ExcStateEnum { /// /// 正在导入 /// Loading = 0, /// /// 正在等待 /// Waiting = 1, /// /// 不需要导入 /// NoImport=2 } } }