using System; using System.Collections.Generic; namespace Shared { /// /// 红外学码空调 /// [System.Serializable] public class CustomAC : AC { public CustomAC() { Type = DeviceType.CustomAC; DeviceTextID = 42; //SimpleControl.R.MyInternationalizationString.AC; } /// /// 红外学码的功能列表 /// public List customACControlLists = new List (); } [System.Serializable] public class CustomACControlList { /// /// 通用开关号 /// public byte UniversalID = 0; /// /// 通用控制ID /// 关 0 /// 开 1 /// 制冷 2 /// 制热 3 /// 自动 4 /// 通风 5(没有温度) /// 抽湿 6 /// public byte UniversalModeType = 0; /// /// 自动 0 /// 高风 1 /// 中风 2 /// 低风 3 /// public byte UniversalFanSpeed = 0; /// /// 温度16到30 /// public byte UniversalTemp = 0; } }