using System;
|
namespace Shared
|
{
|
[System.Serializable]
|
public class UniversalDevice : Common
|
{
|
public UniversalDevice () : base ()
|
{
|
this.Type = DeviceType.UniversalDevice;
|
DeviceTextID = SimpleControl.R.MyInternationalizationString.UniversalDevice;
|
}
|
|
/// <summary>
|
/// 发送的附加数据
|
/// </summary>
|
public System.Collections.Generic.List<byte> SendBytes = new System.Collections.Generic.List<byte> ();
|
|
/// <summary>
|
/// 通用设备类型,
|
/// 0:通用开关
|
/// 1:。。。。
|
/// 2:。。。。
|
/// </summary>
|
public int UniversalType = 0xE01C;
|
|
/// <summary>
|
/// 目标设备类型
|
/// 0:灯光
|
/// 1:窗帘
|
/// 2:空调
|
/// 3:地热
|
/// 4:TV
|
/// 5: 机顶盒
|
/// 6:蓝光机
|
/// 7:功放
|
/// 8:投影机
|
///
|
/// </summary>
|
public byte TargetType = 0;
|
|
/// <summary>
|
/// 动作类型
|
/// 0:开
|
/// 1:关
|
/// 2:开/关
|
/// </summary>
|
public byte ActionType = 0;
|
|
public string ON_Text = Language.StringByID (SimpleControl.R.MyInternationalizationString.ON);
|
public string OFF_Text = Language.StringByID (SimpleControl.R.MyInternationalizationString.OFF);
|
|
public float CustomTextSize = 0;
|
|
}
|
}
|