using System;
using System.Collections.Generic;
using System.Text;
namespace HDL_ON.Stan
{
#region ■ 常开自动化信息_____________________
///
/// 常开自动化信息
///
public class AlwayOnAutomationInfo
{
///
/// 常开模式开启的 时
///
public int Hour = 9;
///
/// 常开模式开启的 分
///
public int Minute = 0;
///
/// 是否是打开常开模式
///
public bool IsOpenAlwayOn = true;
///
/// 循环方式 1:执行一次 2:每天 3:每周 4:每月
///
public int LoopDiv = 1;
///
/// 当 LoopDiv = 3时,它的值是 星期1-7 LoopDiv = 4时,它的值是 日期1-31
///
public List ListLoopValue = new List();
///
/// 推送配置
///
public UI.UI2.Intelligence.Automation.PushConfigs PushSettion = new UI.UI2.Intelligence.Automation.PushConfigs();
}
#endregion
#region ■ 门锁常开模式信息___________________
///
/// 门锁常开模式信息
///
public class DoorLockAlwayOnInfo
{
///
/// 是否是常开
///
public bool IsAlwayOpen = false;
///
/// 开始时间
///
public DateTime StartTime = DateTime.Now;
///
/// 常开的时间(小时)
///
public int AlwayOpenHour = 4;
}
#endregion
#region ■ 门锁历史记录信息___________________
///
/// 门锁历史记录信息
///
public class DoorHistoryLog
{
///
/// 设备主键
///
public string Sid = string.Empty;
///
/// 数据库主键
///
public string Id = string.Empty;
///
/// 消息
///
public string StrMsg = string.Empty;
///
/// 时间
///
public DateTime Time;
}
#endregion
}