using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HDL_ON { /// /// 控制命令类型 /// public enum CommandType { } /// /// 场景类型 /// public enum SceneType { /// /// 普通场景 /// OrdinaryScenes = 0x01, /// /// 电影changing /// MovieScene = 0x02, } /// /// 功能类别 /// public enum FunctionType { Scene = 0x0001, MovieScene = 0x0002, Relay = 0x0101, Dimmer = 0x0102, RGB = 0x0103, Curtain = 0x0201, MotorCurtain = 0x0202, RollingShutter = 0x0203, AC = 0x0301, FloorHeating = 0x0401, } /// /// 功能类型 /// public enum FunctionCategory { UnKown = int.MaxValue, /// /// 场景 /// Scene = 1, /// /// 逻辑 /// Logic = 2, /// /// 安防 /// Security = 3, /// /// 灯光 /// Light = 0x04, /// /// 窗帘 /// Curtain = 0x05, /// /// 空调 /// AC = 0x06, /// /// 地热 /// FloorHeating = 0x07, /// /// 新风 /// FreshAir = 0x08, /// /// 按键 /// Key = 0x09, /// /// 音乐 /// Music = 0x0A, /// /// 传感器 /// Sensor = 0x0B, /// /// 门锁 /// DoorLook = 0x0C, /// /// 时间 /// Timer = 0x0D, /// /// 计数器 /// Counter = 0x0E, /// /// 地理围栏 /// GeographicalFence = 0x0F, /// /// 干接点 /// DryContact = 0x10, /// /// 红外 /// IR = 0x11, /// /// DMX /// DMX = 0x12, /// /// 电器 /// EelectricAppliance = 0x13, /// /// 天气 /// Weather = 0x14, DoorLock=0x15, Electric=0x16, EnergyMonitoring = 0x17, Environmental = 0x18, Panel = 0x19, SecurityMonitoring = 0x20, VideoIntercom = 0x21, } }