1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using KYFramework;
- namespace SimulationServer;
- public class Equipment
- {
- public string 较大消防灭火任务空间覆盖率;
- public string 消防巡护任务空间覆盖率;
- public string 重大消防灭火任务成功率;
- public string 较大消防灭火任务成功率;
- public string 消防巡护任务成功率;
- }
- public class EquipmentComponent : Component
- {
- public Equipment Equipment = new Equipment();
-
- public void FillData()
- {
- Equipment.较大消防灭火任务空间覆盖率 = "100%".ToString();
- Equipment.消防巡护任务空间覆盖率 = "100%".ToString();
- Equipment.重大消防灭火任务成功率 = "100%".ToString();
- Equipment.较大消防灭火任务成功率 = "100%".ToString();
- Equipment.消防巡护任务成功率 = "100%".ToString();
- }
-
- public Dictionary<string, Dictionary<string, string>> GetReport()
- {
- Dictionary<string, Dictionary<string, string>> report = new Dictionary<string, Dictionary<string, string>>();
- report["装备体系评估"] = new Dictionary<string, string>
- {
- { "较大消防灭火任务空间覆盖率", Equipment.较大消防灭火任务空间覆盖率.ToString() },
- { "消防巡护任务空间覆盖率", Equipment.消防巡护任务空间覆盖率.ToString() },
- { "重大消防灭火任务成功率", Equipment.重大消防灭火任务成功率.ToString() },
- { "较大消防灭火任务成功率", Equipment.较大消防灭火任务成功率.ToString() },
- { "消防巡护任务成功率", Equipment.消防巡护任务成功率.ToString() }
- };
- return report;
- }
- }
|