using System;
|
using System.Collections.Generic;
|
|
namespace Shared
|
{
|
[System.Serializable]
|
public class CustomAC : AC
|
{
|
public CustomAC()
|
{
|
Type = DeviceType.CustomAC;
|
DeviceTextID = SimpleControl.R.MyInternationalizationString.AC;
|
}
|
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;
|
|
|
|
}
|
}
|