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 |   43 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 38 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/DAL/Server/NewApiRes.cs b/HDL_ON/DAL/Server/NewApiRes.cs
index 177a663..6bb1700 100644
--- a/HDL_ON/DAL/Server/NewApiRes.cs
+++ b/HDL_ON/DAL/Server/NewApiRes.cs
@@ -585,7 +585,7 @@
         /// <summary>
         /// 缃戝叧ID
         /// </summary>
-        public string gatewayId ="";
+        public string gatewayId = "";
         /// <summary>
         /// 缃戝叧snID
         /// </summary>
@@ -994,7 +994,7 @@
 
     }
 
-    
+
     #endregion
 
     #region 鏁版嵁鍒嗕韩
@@ -1121,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]
@@ -1207,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