1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using KYFramework;
- using Model;
- namespace SimulationServer;
- public class XHStaticCapacity
- {
- public string 巡护速度;
- public string 巡护航程;
- public string 有效探测距离;
- public string 虚警概率 = 0.ToString();
- public string 遗漏概率 = 0.ToString();
- public string 吊桶载人巡护能力 = 0.ToString();
- public string 抗风等级 = "";
- public string 夜间作业能力 = 0.ToString();
- public string 可靠性 = 0.ToString();
- }
- public class XHStaticCapacityComponent : Component
- {
- public XHStaticCapacity XhStaticCapacity = new XHStaticCapacity();
- public void FillData(AircraftDB db)
- {
- XhStaticCapacity.巡护速度 = "1";
- XhStaticCapacity.巡护航程 = "1";
- XhStaticCapacity.有效探测距离 = "2";
- XhStaticCapacity.抗风等级 = "自有";
- }
-
- public Dictionary<string, Dictionary<string, string>> GetReport()
- {
- Dictionary<string, Dictionary<string, string>> report = new Dictionary<string, Dictionary<string, string>>();
- report["静态能力"] = new Dictionary<string, string>
- {
- { "巡护速度/km/h", XhStaticCapacity.巡护速度.ToString() },
- { "巡护航程", XhStaticCapacity.巡护航程.ToString() },
- { "有效探测距离/km", XhStaticCapacity.有效探测距离.ToString() },
- { "虚警概率/-", XhStaticCapacity.虚警概率.ToString() },
- { "遗漏概率/-", XhStaticCapacity.遗漏概率.ToString() },
- { "吊桶载人巡护能力/-", XhStaticCapacity.吊桶载人巡护能力.ToString() },
- { "抗风等级", XhStaticCapacity.抗风等级.ToString() },
- { "夜间作业能力/-", XhStaticCapacity.夜间作业能力.ToString() },
- { "可靠性/-", XhStaticCapacity.可靠性.ToString() }
- };
- return report;
- }
- }
|