| | |
| | | public string name; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 登录锁定后的异常扩展参数 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class AccountLoginLockExtraRes |
| | | { |
| | | /// <summary> |
| | | /// 最大允许的密码错误次数 |
| | | /// </summary> |
| | | public int maxPwdErrorNum; |
| | | /// <summary> |
| | | /// 当前错误次数 |
| | | /// </summary> |
| | | public int currentPwdErrorNum; |
| | | /// <summary> |
| | | /// 解锁事件 |
| | | /// </summary> |
| | | public long unlockTime; |
| | | |
| | | } |
| | | #endregion |
| | | |
| | | #region ■ 注册 ____________________________ |
| | |
| | | /// ON_LINE(0,"在线"), |
| | | /// OFF_LINE(1,"下线"),; |
| | | /// </summary> |
| | | public string gatewayStatus; |
| | | /// <summary> |
| | | /// 网关是否在线 |
| | | /// </summary> |
| | | public bool GatewayOnline |
| | | { |
| | | get |
| | | { |
| | | if (gatewayStatus == "ON_LINE") |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | public bool gatewayStatus; |
| | | |
| | | ///// <summary> |
| | | ///// |
| | |
| | | public string Id; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// AppNameObj |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class AppNameObj |
| | | { |
| | | /// <summary> |
| | | /// 软件来源,Evoyo、ON、ON_Plus |
| | | /// </summary> |
| | | public string appName = SoftwareType.ON_Plus.ToString(); |
| | | } |
| | | |
| | | #region APP版本检测 |
| | | /// <summary> |
| | | /// AppVersionCheckObj |
| | |
| | | /// 子账号ID |
| | | /// </summary> |
| | | public string childAccountId; |
| | | /// <summary> |
| | | /// 分享类型 1.ROOM 2.DEVICE 3.SCENE |
| | | /// </summary> |
| | | public string shareType = "DEVICE"; |
| | | ///// <summary> |
| | | ///// 分享类型 1.ROOM 2.DEVICE 3.SCENE |
| | | ///// 不传默认查全部 |
| | | ///// </summary> |
| | | //public string shareType = "DEVICE"; |
| | | } |
| | | |
| | | #endregion |
| | |
| | | /// 推送附加数据 |
| | | /// </summary> |
| | | public string Extras; |
| | | /// <summary> |
| | | /// 信息类型 |
| | | /// </summary> |
| | | public string messageType = ""; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 极光推送消息 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class JPushExpandData |
| | | { |
| | | /// <summary> |
| | | /// 附加内容 |
| | | /// </summary> |
| | | public string expandData; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 极光推送消息 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class ExpandData |
| | | { |
| | | /// <summary> |
| | | /// 附加内容 |
| | | /// </summary> |
| | | public string expantContent; |
| | | /// <summary> |
| | | /// 信息类型 |
| | | /// </summary> |
| | | public string messageType; |
| | | } |
| | | |
| | | //#region 旧接口 |
| | | ///// <summary> |
| | | ///// |