From a9d1161b1df96e7ddad566335989a1444e433ef5 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 28 三月 2023 11:54:45 +0800
Subject: [PATCH] 2023年03月28日11:52:02

---
 HDL_ON/DAL/Server/NewApiRes.cs |   73 ++++++++++++++++++++++++++++++++++--
 1 files changed, 68 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/DAL/Server/NewApiRes.cs b/HDL_ON/DAL/Server/NewApiRes.cs
index a3973e3..6bb1700 100644
--- a/HDL_ON/DAL/Server/NewApiRes.cs
+++ b/HDL_ON/DAL/Server/NewApiRes.cs
@@ -62,6 +62,36 @@
 
     #endregion
 
+    #region =============璁垮绠$悊=============
+    /// <summary>
+    /// 璁垮涓存椂瀵嗙爜
+    /// </summary>
+    [System.Serializable]
+    public class VisitorTempPassword
+    {
+        public string id;
+        public string homeId;
+        public string phone;//":"13355558888",
+        public string tempPwd;//":"123456",
+        public string validBeginTime;//":"2022-05-06 13:00:00",
+        public string validEndTime;//":"2022-05-09 13:00:00",
+        public int useCount;//":1,
+        public bool status = true;//:true
+    }
+
+    /// <summary>
+    /// 鑾峰彇涓存椂瀵嗙爜鍒楄〃
+    /// </summary>
+    public class GetTempPasswordList
+    {
+        public string pageNo;//": 0,
+        public string pageSize;//": 0,
+        public string totalCount;//": 0,
+        public string totalPage;//": 0
+        public List<VisitorTempPassword> list;
+    }
+    #endregion
+
     #region  鈻� 鐧诲綍 ____________________________
     [System.Serializable]
     public class LoginObj
@@ -555,7 +585,7 @@
         /// <summary>
         /// 缃戝叧ID
         /// </summary>
-        public string gatewayId ="";
+        public string gatewayId = "";
         /// <summary>
         /// 缃戝叧snID
         /// </summary>
@@ -964,7 +994,7 @@
 
     }
 
-    
+
     #endregion
 
     #region 鏁版嵁鍒嗕韩
@@ -1091,6 +1121,18 @@
     }
 
     /// <summary>
+    /// 璁惧鎺ㄩ�佹秷鎭鍒�
+    /// </summary>
+    [Serializable]
+    public class DeviceMessageRules
+    {
+        public string homeId;
+        public string deviceId;
+        public string conditionIdentify;
+        public bool push;
+    }
+
+    /// <summary>
     /// 
     /// </summary>
     [System.Serializable]
@@ -1177,11 +1219,32 @@
         /// <summary>
         /// 
         /// </summary>
-        public string version = MainPage.VersionString;
+        public string version = "V" + MainPage.VersionString;
+        ///// <summary>
+        ///// 杞欢鏉ユ簮锛孍voyo銆丱N銆丱N_Plus
+        ///// </summary>
+        //public string appName = SoftwareType.ON_Plus.ToString();
+
+        public string appCode = "1588071238036582401";
         /// <summary>
-        /// 杞欢鏉ユ簮锛孍voyo銆丱N銆丱N_Plus
+        /// IOS銆丄ndroid
         /// </summary>
-        public string appName = SoftwareType.ON_Plus.ToString();
+        public string releaseSystem = "";
+    }
+
+    /// <summary>
+    /// 
+    /// </summary>
+    [System.Serializable]
+    public class AppVersionResNew
+    {
+        public string version;
+        public string appName;
+        public string appCode;
+        public bool isEnforce;
+        public string releaseSystem;
+        public string packageUrl;//": "http://hdl-hz-test.oss-cn-hangzhou.aliyuncs.com/20/2022/11/51b8b0b2-0ebc-4632-a3b5-0be1e5d104e4.apk",
+        public string remark;
     }
 
     /// <summary>

--
Gitblit v1.8.0