JLChen
2020-06-04 6d55af8792cf8fbef0055e677b900fc352dba9a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
 
namespace Shared
{
    /// <summary>
    /// 红外学码空调
    /// </summary>
    [System.Serializable]
    public class CustomAC : AC
    {
        public CustomAC()
        {
            Type = DeviceType.CustomAC;
            DeviceTextID = 42; //SimpleControl.R.MyInternationalizationString.AC;
        }
 
        /// <summary>
        /// 红外学码的功能列表
        /// </summary>
        public List<CustomACControlList> customACControlLists = new List<CustomACControlList> ();
 
 
    }
 
    [System.Serializable]
    public class CustomACControlList
    {   
        /// <summary>
        /// 通用开关号
        /// </summary>
        public byte UniversalID = 0;
        /// <summary>
        /// 通用控制ID  
        /// 关   0
        /// 开   1
        /// 制冷 2
        /// 制热 3
        /// 自动 4
        /// 通风 5(没有温度)
        /// 抽湿 6
        /// </summary>
        public byte UniversalModeType = 0;
 
        /// <summary>
        /// 自动 0
        /// 高风 1
        /// 中风 2
        /// 低风 3
        /// </summary>
        public byte UniversalFanSpeed = 0;
 
        /// <summary>
        /// 温度16到30
        /// </summary>
        public byte UniversalTemp = 0;
 
    }
}