12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- 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<string, string> devMessageType = new Dictionary<string, string>();
- }
- public class RedisEnum
- {
- /// <summary>
- /// 业主设备是否修改【设备新增、修改、删除、拷贝、迁移、用户配置】
- /// </summary>
- public const string TdevDevStoreUpdateRedisKey = "redis_TdevDevStore_IsUpdate";
- /// <summary>
- /// 业主设备设备点是【新增、修改、禁用、删除、顺序】
- /// </summary>
- public const string WebScadaDevSpotUpdateRedisKey = "redis_WebScadaDevSpot_IsUpdate";
- /// <summary>
- /// 盒子设备【新增、修改】
- /// </summary>
- public const string BoxDevSpotUpdateRedisKey = "mqtt_BoxDevSpot_IsUpdate";
- /// <summary>
- /// 大屏控件ID存储
- /// </summary>
- public const string LargeScreenControlIdRedisKey = "LargeScreenControl_ID";
- }
- }
|