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; } /// /// 人员定位报警接口 /// 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 static List LTPostions { 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; } /// /// 人员定位报警接口 /// 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; } /// /// 楼梯定位数据类 /// public List LTPostions { get; set; } }