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.
|
|
|
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>
|
|
|
|
/// 人员定位报警接口
|
|
|
|
/// </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>
|
|
|
|
/// 人员定位报警接口
|
|
|
|
/// </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; }
|
|
|
|
}
|