From f500e14c0a994487070380c50c85e0929cbc8e63 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 05 一月 2021 10:48:04 +0800 Subject: [PATCH] 2021-01-05 1.更新 --- Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs | 43 +++++++++++++++++++++++++++++++++---------- 1 files changed, 33 insertions(+), 10 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs index d57a5f5..53e0577 100644 --- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs +++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs @@ -17,7 +17,6 @@ public string RequestSource = MainPage.RequestSource; public string LoginAccessToken; - } [System.Serializable] @@ -34,7 +33,7 @@ { public int Page = 1; - public int PageSize = 50; + public int PageSize = 100; } [System.Serializable] @@ -315,12 +314,20 @@ [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> /// 鎼滅储缃戝叧鍞竴鏍囪瘑 榛樿涓簄ull /// </summary> @@ -336,7 +343,7 @@ /// UpdateMac 鏇存柊Mac(鍗板害) /// </summary> [System.Serializable] - public class UpdateMacObj : BaseRequestObj + public class UpdateMacObj : BaseAccountCtrlObj { /// <summary> /// 浣忓畢Id @@ -348,7 +355,23 @@ } #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 @@ -391,12 +414,12 @@ /// 鍒犻櫎椤圭洰(浣忓畢) /// </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> -- Gitblit v1.8.0