using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HDL_ON { /// /// a协议命令 /// public enum CommandType_A { write, read, } /// /// 功能显示排序方式 /// public enum SortOrder { /// /// 无排序方式 /// None, /// /// 使用次数 /// UsageCount, /// /// 使用频率 /// UsageFrequency, /// /// 手动排序 /// FixedSerialNumber, } /// /// 场景类型 /// public enum SceneType { /// /// 普通场景 /// OrdinaryScenes = 0, /// /// 电影场景 /// MovieScene = 1, /// /// 灯光场景 /// LightScene = 2, } /// /// 功能类型 /// public enum ShowFunction { /// /// 场景 /// 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, /// /// 安防中心 /// SecurityCenter = 0x22, } /// /// 操作类型 /// public enum OptionType { Add, Update, Delete, Cover, } public enum InfraredCode_TV { VolDown = 1, ChannelUp,//00002=频道+ Menu,//00003=菜单 ChannelDown,//00004=频道- VolUp,//00005=音量+ Power,//00006=电源键 Mute,//00007=静音 One,//00008=1 Two,//00009=2 Three,//00010=3 Four,//00011=4 Five,//00012=5 Six,//00013=6 Seven,//00014=7 Eight,//00015=8 Nine,//00016=9 Change,//00017=-/-- Zero,//00018=0 AV_TV,//00019=AV/TV Back,//00020=返回 Confrim,//00021=确定 Up,//00022=上 Left,//00023=左 Right,//00024=右 Down,//00025=下 } }