using System.Collections.Generic; public static class Config { /// /// 服务器 /// public static string ServerAddress { get; set; } = ""; /// /// 桶名称 /// public static string BucketName { get; set; } = "WebPlan"; /// /// 区域名称 /// public static string AreaName { get; set; } /// /// 单位名称 /// public static string CompanyName { get; set; } /// /// 人员定位接口 /// public static string LocationServer { get; set; } /// /// 人员定位接口地图id /// public static string MapId { get; set; } /// /// 人员定位楼梯上层定位设备code /// public static string LTTopCode { get; set; } /// /// 人员定位楼梯楼梯间定位设备code /// public static string LTMidCode { get; set; } /// /// 人员定位楼梯下层定位设备code /// public static string LTBottomCode { get; set; } /// /// 人员定位报警接口 /// public static string AlarmServer { get; set; } /// /// 人员定位摄像头 /// public static string PersonnelVideoUrl { get; set; } /// /// 定位标签 /// public static List Tags { get; set; } = new List(); /// /// 定位数据范围 /// public static float Range { get; set; } /// /// 定位数据轮询间隔 /// public static float Interval { get; set; } /// /// 报警轮询间隔 /// public static float AlarmInterval { get; set; } } public class ConfigWebGL { /// /// 服务器 /// public string ServerAddress { get; set; } = "http://127.0.0.1:8000"; /// /// 桶名称 /// public string BucketName { get; set; } = "WebPlan"; /// /// 区域名称 /// public string AreaName { get; set; } /// /// 单位名称 /// public string CompanyName { get; set; } /// /// 人员定位接口 /// public string LocationServer { get; set; } /// /// 人员定位接口地图id /// public string MapId { get; set; } /// /// 人员定位楼梯上层定位设备code /// public string LTTopCode { get; set; } /// /// 人员定位楼梯楼梯间定位设备code /// public string LTMidCode { get; set; } /// /// 人员定位楼梯下层定位设备code /// public string LTBottomCode { get; set; } /// /// 人员定位报警接口 /// public string AlarmServer { get; set; } /// /// 人员定位摄像头接口 /// public string PersonnelVideoUrl { get; set; } /// /// 定位标签 /// public List Tags { get; set; } = new List(); /// /// 定位数据范围 /// public float Range { get; set; } /// /// 定位数据轮询间隔 /// public float Interval { get; set; } /// /// 报警轮询间隔 /// public float AlarmInterval { get; set; } }