New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace HDL_ON.Stan |
| | | { |
| | | #region ■ 成员信息类__________________________ |
| | | |
| | | /// <summary> |
| | | /// 获取账号的信息的结果 |
| | | /// </summary> |
| | | public class AccountInfoResult |
| | | { |
| | | /// <summary> |
| | | /// 账号(如果是长度为0的字符串,则代表这个账号在云端不存在,需要手动赋值) |
| | | /// </summary> |
| | | public string Account = string.Empty; |
| | | /// <summary> |
| | | /// 账号的id(应该是主键) |
| | | /// </summary> |
| | | public string MemberId = string.Empty; |
| | | /// <summary> |
| | | /// 用户昵称 |
| | | /// </summary> |
| | | public string MemberName = string.Empty; |
| | | /// <summary> |
| | | /// 地区码 |
| | | /// </summary> |
| | | public string MemberPhonePrefix = string.Empty; |
| | | /// <summary> |
| | | /// 邮箱 |
| | | /// </summary> |
| | | public string MemberEmail = string.Empty; |
| | | /// <summary> |
| | | /// 手机号 |
| | | /// </summary> |
| | | public string MemberPhone = string.Empty; |
| | | /// <summary> |
| | | /// 头像地址 |
| | | /// </summary> |
| | | public string MemberHeadIcon = string.Empty; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 常开自动化信息_____________________ |
| | | |
| | | /// <summary> |
| | | /// 常开自动化信息 |
| | | /// </summary> |
| | | public class AlwayOnAutomationInfo |
| | | { |
| | | /// <summary> |
| | | /// 常开模式开启的 时 |
| | | /// </summary> |
| | | public int Hour = 9; |
| | | /// <summary> |
| | | /// 常开模式开启的 分 |
| | | /// </summary> |
| | | public int Minute = 0; |
| | | /// <summary> |
| | | /// 是否是打开常开模式 |
| | | /// </summary> |
| | | public bool IsOpenAlwayOn = true; |
| | | /// <summary> |
| | | /// 循环方式 1:执行一次 2:每天 3:每周 4:每月 |
| | | /// </summary> |
| | | public int LoopDiv = 1; |
| | | /// <summary> |
| | | /// 当 LoopDiv = 3时,它的值是 星期1-7 LoopDiv = 4时,它的值是 日期1-31 |
| | | /// </summary> |
| | | public List<int> ListLoopValue = new List<int>(); |
| | | /// <summary> |
| | | /// 推送配置 |
| | | /// </summary> |
| | | public UI.UI2.Intelligence.Automation.PushConfigs PushSettion = new UI.UI2.Intelligence.Automation.PushConfigs(); |
| | | } |
| | | #endregion |
| | | |
| | | #region ■ 门锁常开模式信息___________________ |
| | | |
| | | /// <summary> |
| | | /// 门锁常开模式信息 |
| | | /// </summary> |
| | | public class DoorLockAlwayOnInfo |
| | | { |
| | | /// <summary> |
| | | /// 是否是常开 |
| | | /// </summary> |
| | | public bool IsAlwayOpen = false; |
| | | /// <summary> |
| | | /// 开始时间 |
| | | /// </summary> |
| | | public DateTime StartTime = DateTime.Now; |
| | | /// <summary> |
| | | /// 常开的时间(小时) |
| | | /// </summary> |
| | | public int AlwayOpenHour = 4; |
| | | } |
| | | #endregion |
| | | |
| | | #region ■ 门锁历史记录信息___________________ |
| | | |
| | | /// <summary> |
| | | /// 门锁历史记录信息 |
| | | /// </summary> |
| | | public class DoorHistoryLog |
| | | { |
| | | /// <summary> |
| | | /// 设备主键 |
| | | /// </summary> |
| | | public string Sid = string.Empty; |
| | | /// <summary> |
| | | /// 数据库主键 |
| | | /// </summary> |
| | | public string Id = string.Empty; |
| | | /// <summary> |
| | | /// 消息 |
| | | /// </summary> |
| | | public string StrMsg = string.Empty; |
| | | /// <summary> |
| | | /// 时间 |
| | | /// </summary> |
| | | public DateTime Time; |
| | | } |
| | | |
| | | #endregion |
| | | } |