using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Common { public class TsysLicenseType { public const string OPERATION_BASE = "OPERATION_BASE"; public const string OWNER_BASE = "OWNER_BASE"; public const string REGULATOR_BASE = "REGULATOR_BASE"; public const string SYSTEM = "SYSTEM"; } public enum DevStatusEnum :int { [Description("禁用")] Delete = 0, [Description("分配、业主已购买")] Share = 1, [Description("启运(在线)")] Start =2, [Description("停运(离线)")] Stop = 3, [Description("报警")] Alarm =4, [Description("报废")] Discard = 5, } public class Dict { public Dictionary devMessageType = new Dictionary(); } public class RedisEnum { /// /// 业主设备是否修改【设备新增、修改、删除、拷贝、迁移、用户配置】 /// public const string TdevDevStoreUpdateRedisKey = "redis_TdevDevStore_IsUpdate"; /// /// 业主设备设备点是【新增、修改、禁用、删除、顺序】 /// public const string WebScadaDevSpotUpdateRedisKey = "redis_WebScadaDevSpot_IsUpdate"; /// /// 盒子设备【新增、修改】 /// public const string BoxDevSpotUpdateRedisKey = "mqtt_BoxDevSpot_IsUpdate"; /// /// 大屏控件ID存储 /// public const string LargeScreenControlIdRedisKey = "LargeScreenControl_ID"; } }