You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.6 KiB
129 lines
3.6 KiB
using System.Collections.Generic; |
|
|
|
public static class Config |
|
{ |
|
/// <summary> |
|
/// 服务器 |
|
/// </summary> |
|
public static string ServerAddress { get; set; } = ""; |
|
/// <summary> |
|
/// 桶名称 |
|
/// </summary> |
|
public static string BucketName { get; set; } = "WebPlan"; |
|
/// <summary> |
|
/// 区域名称 |
|
/// </summary> |
|
public static string AreaName { get; set; } |
|
/// <summary> |
|
/// 单位名称 |
|
/// </summary> |
|
public static string CompanyName { get; set; } |
|
/// <summary> |
|
/// 人员定位接口 |
|
/// </summary> |
|
public static string LocationServer { get; set; } |
|
/// <summary> |
|
/// 人员定位接口地图id |
|
/// </summary> |
|
public static string MapId { get; set; } |
|
/// <summary> |
|
/// 人员定位楼梯上层定位设备code |
|
/// </summary> |
|
public static string LTTopCode { get; set; } |
|
/// <summary> |
|
/// 人员定位楼梯楼梯间定位设备code |
|
/// </summary> |
|
public static string LTMidCode { get; set; } |
|
/// <summary> |
|
/// 人员定位楼梯下层定位设备code |
|
/// </summary> |
|
public static string LTBottomCode { get; set; } |
|
/// <summary> |
|
/// 人员定位报警接口 |
|
/// </summary> |
|
public static string AlarmServer { get; set; } |
|
/// <summary> |
|
/// 人员定位摄像头 |
|
/// </summary> |
|
public static string PersonnelVideoUrl { get; set; } |
|
/// <summary> |
|
/// 定位标签 |
|
/// </summary> |
|
public static List<string> Tags { get; set; } = new List<string>(); |
|
/// <summary> |
|
/// 定位数据范围 |
|
/// </summary> |
|
public static float Range { get; set; } |
|
/// <summary> |
|
/// 定位数据轮询间隔 |
|
/// </summary> |
|
public static float Interval { get; set; } |
|
/// <summary> |
|
/// 报警轮询间隔 |
|
/// </summary> |
|
public static float AlarmInterval { get; set; } |
|
} |
|
|
|
public class ConfigWebGL |
|
{ |
|
/// <summary> |
|
/// 服务器 |
|
/// </summary> |
|
public string ServerAddress { get; set; } = "http://127.0.0.1:8000"; |
|
/// <summary> |
|
/// 桶名称 |
|
/// </summary> |
|
public string BucketName { get; set; } = "WebPlan"; |
|
/// <summary> |
|
/// 区域名称 |
|
/// </summary> |
|
public string AreaName { get; set; } |
|
/// <summary> |
|
/// 单位名称 |
|
/// </summary> |
|
public string CompanyName { get; set; } |
|
/// <summary> |
|
/// 人员定位接口 |
|
/// </summary> |
|
public string LocationServer { get; set; } |
|
/// <summary> |
|
/// 人员定位接口地图id |
|
/// </summary> |
|
public string MapId { get; set; } |
|
/// <summary> |
|
/// 人员定位楼梯上层定位设备code |
|
/// </summary> |
|
public string LTTopCode { get; set; } |
|
/// <summary> |
|
/// 人员定位楼梯楼梯间定位设备code |
|
/// </summary> |
|
public string LTMidCode { get; set; } |
|
/// <summary> |
|
/// 人员定位楼梯下层定位设备code |
|
/// </summary> |
|
public string LTBottomCode { get; set; } |
|
/// <summary> |
|
/// 人员定位报警接口 |
|
/// </summary> |
|
public string AlarmServer { get; set; } |
|
/// <summary> |
|
/// 人员定位摄像头接口 |
|
/// </summary> |
|
public string PersonnelVideoUrl { get; set; } |
|
/// <summary> |
|
/// 定位标签 |
|
/// </summary> |
|
public List<string> Tags { get; set; } = new List<string>(); |
|
/// <summary> |
|
/// 定位数据范围 |
|
/// </summary> |
|
public float Range { get; set; } |
|
/// <summary> |
|
/// 定位数据轮询间隔 |
|
/// </summary> |
|
public float Interval { get; set; } |
|
/// <summary> |
|
/// 报警轮询间隔 |
|
/// </summary> |
|
public float AlarmInterval { get; set; } |
|
}
|
|
|