using System;
|
namespace Shared
|
{
|
[System.Serializable]
|
public class DryContact : Common
|
{
|
public DryContact () : base()
|
{
|
this.Type = DeviceType.DryContact;
|
}
|
|
/// <summary>
|
/// The mode. 模式
|
/// 无效模式 0
|
/// 单一开 2
|
/// 单一关 3
|
/// 单一开关 1
|
/// 组合开 4
|
/// 组合关 5
|
/// 点动 6
|
/// 组合开关 7
|
/// 闹钟 13
|
/// 双击 单一开关 10
|
/// 双击 组合开关 11
|
/// 长按 短按 17
|
/// 短按 长点动 16
|
/// </summary>
|
public byte Mode;
|
|
public byte FunctionID;//gongnenghao
|
public byte GoalSunbetID;//mubiao ziwanghao
|
public byte GoalDeviceID;//mubiao shebeihao
|
public byte ButtonKeyType;
|
public byte Parameter1;
|
public byte Parameter2;
|
public byte Parameter3;//yunxing shijian
|
public byte Parameter4;//tiaoguang
|
|
public byte Status = 0;
|
}
|
}
|