From a715181089be0d31cd737a5367ffd02690b9d77f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 12 十一月 2020 13:36:01 +0800 Subject: [PATCH] 20201112 --- HDL_ON/Entity/Enumerative/MyEnum.cs | 66 +++++++++++++++++++++++++++------ 1 files changed, 54 insertions(+), 12 deletions(-) diff --git a/HDL_ON/Entity/Enumerative/MyEnum.cs b/HDL_ON/Entity/Enumerative/MyEnum.cs index aa586ce..98a240f 100644 --- a/HDL_ON/Entity/Enumerative/MyEnum.cs +++ b/HDL_ON/Entity/Enumerative/MyEnum.cs @@ -57,10 +57,14 @@ /// </summary> public enum FunctionType { - Scene = 0x0001, - MovieScene = 0x0002, + Scene = 0x0A01, + MovieScene = 0x0A02, Relay = 0x0201, Dimmer = 0x0202, + /// <summary> + /// 鑹叉俯 + /// </summary> + ColorTemperature =0x0203, RGB = 0x0204, Curtain = 0x0301, MotorCurtain = 0x0303, @@ -68,9 +72,17 @@ AC = 0x0401, FloorHeating = 0x0402, - Fan = 0x1002, - TV = 0x1003, + Fan = 0x1001, + TV = 0x1002, Socket =0x0102, + + PM25 = 0x0506, + CO2 = 0x0507, + Temp = 0x0502, + TVOC = 0x0505, + Humidity = 0x0503, + + A31Music = 0x0902, } /// <summary> @@ -120,14 +132,14 @@ ///// 鎸夐敭 ///// </summary> //Key = 0x09, - ///// <summary> - ///// 闊充箰 - ///// </summary> - //Music = 0x0A, - ///// <summary> - ///// 浼犳劅鍣� - ///// </summary> - //Sensor = 0x0B, + /// <summary> + /// 闊充箰 + /// </summary> + Music = 0x09, + /// <summary> + /// 浼犳劅鍣� + /// </summary> + Sensor = 0x05, ///// <summary> ///// 闂ㄩ攣 ///// </summary> @@ -278,4 +290,34 @@ } + + + 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=涓� + } } -- Gitblit v1.8.0