using System;
using System.Collections.Generic;
namespace Shared
{
[System.Serializable]
public class SecurityModul : Common
{
public SecurityModul () : base ()
{
this.Type = DeviceType.SecurityModule;
DeviceTextID = SimpleControl.R.MyInternationalizationString.Security;
}
///
/// 区域号
///
public byte AreaNumber = 0;
///
/// VacationArm = 1,//假期
/// AwayArm = 2,//离开
/// NightArm = 3,//晚上
/// NightWithGuestArm = 4,//夜晚会客
/// DayArm = 5,//白天
/// Disarm = 6,// 解除安防
///
public byte AreaType = 6;
public List SensorList = new List();
public List HistoricalRecords = new List();
}
[System.Serializable]
public class ScurityDryContact : Common
{
public ScurityDryContact () :base ()
{
this.Type = DeviceType.DryContact;
}
///
/// 0:
/// 1:
/// 2:bypass启用
///
public byte ByPass = 1;
///
/// 0:不启用
/// 1:启用
///
public byte Enable = 0;
///
/// 传感器类型
/// 0:窗户
/// 1:门
/// 2:人体感应
///
public byte SensorType = 0;
///
/// 状态
/// 0:关闭
/// 1:开启
///
public byte Status = 0;
///
/// 区域号
///
public byte AreaNumber = 0;
///
/// 干接点在安防模块里面的索引
///
public byte IndexOfScurity = 1;
}
}