using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DW5S.Entity { /// /// 任务状态 /// public enum EnumTaskState { [Display(Name = "未执行")] Stopped, [Display(Name = "执行中")] Running } public enum EnumTaskType { [Display(Name = "实时任务")] Real, [Display(Name = "历史任务")] History } /// /// 任务来源类型 /// public enum TaskSourceType { [Display(Name = "本地创建")] LocalSource, [Display(Name = "外部系统")] ExternalSystem, } /// /// 任务定位类型 /// public enum EnumPosType { [Display(Name = "一星一地测向定位")] X1D1CX, [Display(Name = "两星一地无参定位")] X2D1NoRef, [Display(Name = "两星一地有参定位")] X2D1, } public enum EnumTxType { [Display(Name = "接收站天线")] Rec, [Display(Name = "超短波天线")] Cdb, [Display(Name = "测向站地址")] Cx, [Display(Name = "参考站地址")] Ref, } public enum EnumSatType { [Display(Name = "常规卫星")] NormalSat = 1, [Display(Name = "地面站卫星")] CdbSat = 2 } /// /// 定位结果定位类型 /// public enum EnumPosResType { /// /// 一星一地带参 /// [Display(Name = "一星一地带参")] X1D1CX, /// /// 两星一地带参(主动参考站) /// [Display(Name = "两星一地带参")] X2D1, /// /// 两星一地带参(被动参考站) /// [Display(Name = "两星一地带参")] X2D1Fixed, /// /// 两星一地无参 /// [Display(Name = "两星一地无参")] X2D1NoRef } /// /// WMTS地图来源 /// public enum EnumWmtsSource { /// /// 自采集 /// [Display(Name = "自采集")] ZCJ, /// /// 数据中心 /// [Display(Name = "数据中心")] SJZX } [Flags] public enum EnumMapLayerType { /// /// 未选中任何图层 /// None = 0, /// /// 卫星图 /// [Display(Name = "卫星图")] SatMap = 2, /// /// 道路图 /// [Display(Name = "道路图")] RoadMap = 4, /// /// 行政区划图 /// [Display(Name = "行政区划图")] XZQH_Map = 8 } /// /// 定位点的信号检测类型 /// public enum EnumPosCheckType { /// /// DAMA /// [Display(Name = "DAMA")] DAMA = 1, /// /// IBS /// [Display(Name = "IBS")] IBS = 2, /// /// 能量检测 /// [Display(Name = "能量检测")] Ky5758 = 4, /// /// 常规信号 /// [Display(Name = "常规信号")] Normal = 8, } /// /// 信号检测类型(支持多选) /// [Flags] public enum EnumSigCheckType { /// /// DAMA /// [Display(Name = "DAMA")] DAMA = 1, /// /// IBS /// [Display(Name = "IBS")] IBS = 2, /// /// 能量检测 /// [Display(Name = "能量检测")] Ky5758 = 4, /// /// 常规信号 /// [Display(Name = "常规信号")] Normal = 8, } /// /// 信号类型 /// public enum EnumSigType { /// /// 目标信号 /// [Display(Name = "目标")] Target = 1, /// /// 参考信号 /// [Display(Name = "参考")] Ref = 2 } /// /// 日志类型 /// public enum EnumLogType { /// /// 消息 /// [Display(Name = "消息")] Info, /// /// 警告 /// [Display(Name = "警告")] Warning, /// /// 错误 /// [Display(Name = "错误")] Error } /// /// 服务状态 /// public enum EnumServerStatus { /// /// 在线 /// [Display(Name = "在线")] OnLine = 1, /// /// 离线 /// [Display(Name = "离线")] OffLine = 2, /// /// 工作中 /// [Display(Name = "工作中")] Working = 3, /// /// 空闲 /// [Display(Name = "空闲")] FreeTime = 4, /// /// 故障 /// [Display(Name = "故障")] Failure = 5, } /// /// 触发模式 /// public enum EnumAdTriggerMode { /// /// 内触发 /// [Description("内触发")] In = 1, /// /// 外触发 /// [Description("外触发")] Out = 2 } /// /// 时钟类型 /// public enum EnumAdClockType { /// /// 内时钟 /// [Description("内时钟")] In = 1, /// /// 外时钟 /// [Description("外时钟")] Out = 2, /// /// 外参考 /// [Description("外参考")] OutRef = 3 } }