| | |
| | | public string RequestSource = MainPage.RequestSource; |
| | | |
| | | public string LoginAccessToken; |
| | | |
| | | } |
| | | |
| | | [System.Serializable] |
| | | public class BaseNoTokenObj |
| | | { |
| | | public string RequestVersion = MainPage.RequestVersion; |
| | | //[System.Serializable] |
| | | //public class BaseNoTokenObj |
| | | //{ |
| | | // public string RequestVersion = MainPage.RequestVersion; |
| | | |
| | | public string RequestSource = MainPage.RequestSource; |
| | | // public string RequestSource = MainPage.RequestSource; |
| | | |
| | | } |
| | | //} |
| | | |
| | | [System.Serializable] |
| | | public class PageSettingObj |
| | | { |
| | | public int Page = 1; |
| | | |
| | | public int PageSize = 50; |
| | | public int PageSize = 100; |
| | | } |
| | | |
| | | [System.Serializable] |
| | |
| | | [System.Serializable] |
| | | public class GetSingleHomeGatewayPaggerObj : BaseNoTokenObj |
| | | { |
| | | /// <summary> |
| | | /// 是否是子账号进行操作 |
| | | /// </summary> |
| | | public bool IsOtherAccountCtrl = MainPage.IsAdministrator; |
| | | public GetSingleHomeReqDtoObj ReqDto = new GetSingleHomeReqDtoObj() ; |
| | | } |
| | | |
| | | [System.Serializable] |
| | | public class GetSingleHomeReqDtoObj : BaseAccountCtrlObj |
| | | public class GetSingleHomeReqDtoObj : BaseRequestObj |
| | | { |
| | | /// <summary> |
| | | /// 住宅ID |
| | | /// </summary> |
| | | public string HomeId; |
| | | /// <summary> |
| | | /// 搜索网关唯一标识 默认为null |
| | | /// </summary> |
| | |
| | | /// UpdateMac 更新Mac(印度) |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class UpdateMacObj : BaseRequestObj |
| | | public class UpdateMacObj : BaseAccountCtrlObj |
| | | { |
| | | /// <summary> |
| | | /// 住宅Id |
| | |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region 1.66 BindMac |
| | | /// <summary> |
| | | /// /App/BindMac 绑定Mac(印度版) |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class BindMacObj : BaseAccountCtrlObj |
| | | { |
| | | ///// <summary> |
| | | ///// 住宅Id |
| | | ///// </summary> |
| | | //public string HomeId; |
| | | public string MAC; |
| | | |
| | | |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #endregion |
| | | |
| | |
| | | /// 删除项目(住宅) |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class EditHomeObj : BaseRequestObj |
| | | public class EditHomeObj : BaseAccountCtrlObj |
| | | { |
| | | /// <summary> |
| | | /// 项目(住宅)Id -->键名 : HomeId |
| | | /// </summary> |
| | | public string HomeId; |
| | | ///// <summary> |
| | | ///// 项目(住宅)Id -->键名 : HomeId |
| | | ///// </summary> |
| | | //public string HomeId; |
| | | /// <summary> |
| | | /// 住宅区域名称 |
| | | /// </summary> |
| | |
| | | #region ZigbeeUsers |
| | | |
| | | #region 2.11 使用帐号密码登录 |
| | | /// <summary> |
| | | /// 使用帐号密码登录 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class LoginObj : BaseNoTokenObj |
| | | { |
| | | public string Account; |
| | | public string Password; |
| | | public int Company; |
| | | } |
| | | ///// <summary> |
| | | ///// 使用帐号密码登录 |
| | | ///// </summary> |
| | | //[System.Serializable] |
| | | //public class LoginObj : BaseNoTokenObj |
| | | //{ |
| | | // public string Account; |
| | | // public string Password; |
| | | // public int Company; |
| | | //} |
| | | #endregion |
| | | |
| | | |