123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- using Newtonsoft.Json;
- namespace Model;
- public class MissionInformation
- {
- [JsonProperty("任务名称")]
- public string MissionName;
- [JsonProperty("任务ID")]
- public string MissionId;
- [JsonProperty("任务主要类型")]
- public string MissionMainType;
- [JsonProperty("任务类型")]
- public string MissionType;
- [JsonProperty("开始时间")]
- public string StartTime;
- [JsonProperty("结束时间")]
- public string EndTime;
- [JsonProperty("起飞准备时间")]
- public double TakeoffPreparationTime;
- [JsonProperty("应用机型")]
- public string[] AircraftInfos;
- [JsonProperty("应用飞机编号")]
- public string[] AircraftId;
- }
- public class MissionPoint
- {
- [JsonProperty("任务点经度")]
- public double MissionPointLongitude;
- [JsonProperty("任务点纬度")]
- public double MissionPointLatitude;
- [JsonProperty("任务点海拔")]
- public double MissionPointHeight;
- }
- public class ZCTask
- {
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("矩形侦查区域边界点")]
- public List<double[]> poly;
- [JsonProperty("扫描线间距")]
- public double ScanRange;
- [JsonProperty("侦查飞行真高")]
- public double hSC;
- [JsonProperty("是否真实高度")]
- public bool isRealHeight;
- [JsonProperty("是否环绕模式")]
- public bool isSurround;
- [JsonProperty("环绕圈数")]
- public int SurroundNum;
- [JsonProperty("火点ID")]
- public int FirePointId;
- public MissionPoint[] MissionPoints;
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class SHJTask
- {
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("索滑降高度")]
- public double H;
- [JsonProperty("投送人数")]
- public int person_number;
- [JsonProperty("风速")]
- public double windspeed;
- [JsonProperty("能见度")]
- public double vis;
- [JsonProperty("索滑降速度")]
- public double descendspeed;
- [JsonProperty("转运人数")]
- public int personNumber;
- [JsonProperty("索滑降点")]
- public MissionPoint[] MissionPoints;
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class DMMHTask
- {
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("地面部署人数")]
- public double GroundPersonnel;
- [JsonProperty("机降人数")]
- public double LandingPersonnel;
- [JsonProperty("机降点")]
- public MissionPoint[] MissionPoints;
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class AirRoute
- {
- [JsonProperty("巡护航线名称")]
- public string AirRouteName;
- [JsonProperty("巡护航线点经度")]
- public double AirRouteLongitude;
- [JsonProperty("巡护航线点纬度")]
- public double AirRouteLatitude;
- [JsonProperty("巡护航线点海拔")]
- public double AirRouteHeight;
- }
- public class XHTask
- {
- public double DelayTime;
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("巡护航线参数")]
- public AirRoute[] airroute;
- [JsonProperty("火点ID")]
- public int FirePointId;
- [JsonProperty("取水点")]
- public MissionPoint[] MissionPoints;
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class MHTask
- {
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("取水点")]
- public MissionPoint[] MissionPoints;
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class SeaSouJiuTask
- {
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("目标点ID")]
- public int TargetPointId;
- //搜索任务载荷
- [JsonProperty("搜索任务载荷")]
- public string SearchPayload;
-
- //搜索方式
- [JsonProperty("搜索方式")]
- public string SearchMode;
- //搜索扫视宽度
- [JsonProperty("搜索扫视宽度")]
- public double SearchWidth;
-
- //探测波长(m)
- [JsonProperty("探测波长(m)")]
- public double DetectionWavelength;
- //最小可检测信号(dBm)
- [JsonProperty("最小可检测信号(dBm)")]
- public double MinDetectionSignal;
- //雷达发射机发射信号功率(dBm)
- [JsonProperty("雷达发射机发射信号功率(dBm)")]
- public double RadarTransmitterPower;
- //发射天线增益(dB)
- [JsonProperty("发射天线增益(dB)")]
- public double TransmitAntennaGain;
- //接受天线增益(dB)
- [JsonProperty("接受天线增益(dB)")]
- public double ReceiveAntennaGain;
- //光电转塔水平范围
- [JsonProperty("光电转塔水平范围")]
- public double OpticalTowerHorizontalRange;
- //红外探测器视场角
- [JsonProperty("红外探测器视场角")]
- public double InfraredDetectorFieldAngle;
- //飞行高度
- [JsonProperty("飞行高度")]
- public double FlightHeight;
-
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class LandSouJiuTask
- {
- [JsonProperty("任务信息")]
- public MissionInformation missionInformation;
- [JsonProperty("目标点ID")]
- public int TargetPointId;
- //搜索任务载荷
- [JsonProperty("搜索任务载荷")]
- public string SearchPayload;
- //搜索方式
- [JsonProperty("搜索方式")]
- public string SearchMode;
- //搜索扫视宽度
- [JsonProperty("搜索扫视宽度")]
- public double SearchWidth;
- //探测波长(m)
- [JsonProperty("探测波长(m)")]
- public double DetectionWavelength;
- //最小可检测信号(dBm)
- [JsonProperty("最小可检测信号(dBm)")]
- public double MinDetectionSignal;
- //雷达发射机发射信号功率(dBm)
- [JsonProperty("雷达发射机发射信号功率(dBm)")]
- public double RadarTransmitterPower;
- //发射天线增益(dB)
- [JsonProperty("发射天线增益(dB)")]
- public double TransmitAntennaGain;
- //接受天线增益(dB)
- [JsonProperty("接受天线增益(dB)")]
- public double ReceiveAntennaGain;
- //光电转塔水平范围
- [JsonProperty("光电转塔水平范围")]
- public double OpticalTowerHorizontalRange;
- //红外探测器视场角
- [JsonProperty("红外探测器视场角")]
- public double InfraredDetectorFieldAngle;
- //飞行高度
- [JsonProperty("飞行高度")]
- public double FlightHeight;
- [JsonProperty("下一个任务ID")]
- public string NextTaskId;
- }
- public class MHTaskConfig
- {
- [JsonProperty("总灭火任务编号")]
- public int TotalMHId;
- [JsonProperty("火点ID")]
- public int FirePointId;
- [JsonProperty("执行次数")]
- public int RunTimes;
- [JsonProperty("吊桶洒水灭火任务")]
- public List<MHTask> mHTask = new List<MHTask>();
- [JsonProperty("机降灭火任务")]
- public List<DMMHTask> dMMHTask = new List<DMMHTask>();
- [JsonProperty("索滑降灭火任务")]
- public List<SHJTask> sHJTask = new List<SHJTask>();
- }
- public class TaskConfig
- {
- [JsonProperty("灭火任务")]
- public List<MHTaskConfig>mHTaskConfigs = new List<MHTaskConfig>();
- [JsonProperty("火场侦查任务")]
- public List<ZCTask>zCTask= new List<ZCTask>();
- [JsonProperty("防火巡护任务")]
- public List<XHTask> xHTask = new List<XHTask>();
- [JsonProperty("海上搜救任务")]
- public List<SeaSouJiuTask> seaSouJiuTasks = new List<SeaSouJiuTask>();
- [JsonProperty("陆上搜救任务")]
- public List<LandSouJiuTask> LandSouJiuTasks = new List<LandSouJiuTask>();
- }
|