using System; using System.Collections.Generic; using System.Text; namespace HDL_ON.Stan { #region ■ 成员信息类__________________________ /// /// 获取账号的信息的结果 /// public class AccountInfoResult { /// /// 账号(如果是长度为0的字符串,则代表这个账号在云端不存在,需要手动赋值) /// public string Account = string.Empty; /// /// 账号的id(应该是主键) /// public string MemberId = string.Empty; /// /// 用户昵称 /// public string MemberName = string.Empty; /// /// 地区码 /// public string MemberPhonePrefix = string.Empty; /// /// 邮箱 /// public string MemberEmail = string.Empty; /// /// 手机号 /// public string MemberPhone = string.Empty; /// /// 头像地址 /// public string MemberHeadIcon = string.Empty; } #endregion #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 }