From 02498f7744e6fdc413e518f96b25f3635540dc6b Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 15 十一月 2022 11:27:38 +0800
Subject: [PATCH] 金茂科技系统更新

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index abe73d9..7554d49 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -264,6 +264,7 @@
                     break;
                 //姣背娉紶鎰熷櫒(鑷爺鍖楅偖)
                 case SPK.SenesorMegahealth:
+                    case SPK.SensorMmvPose:
                     {
 
                         LogicView.FunTypeView view1 = new LogicView.FunTypeView();
@@ -947,8 +948,13 @@
                 }
             }
             PublicInterface view = new PublicInterface();
-            //var listStr = view.GetViewList(key);
+            
             var listStr = view.GetSensorLevelList(device);//2022骞�05鏈�25鏃�10:01:33 浜у搧缁忕悊鍚涚厡瑕佹眰鏀规垚鍔ㄦ��
+            //if (listStr.Count == 0)
+            //{
+            //    //鍚鏄负浜嗗吋鐢ㄥ緢鑰佸緢鑰佺殑椤圭洰
+            //    listStr = view.GetViewList(key);
+            //}
             view.SingleSelectionShow(frame, listStr, Language.StringByID(title), view.GetSensorLevelText(device, stateValue,true)
                , (text) =>
                {
@@ -1008,7 +1014,7 @@
                             //鐣岄潰鏄剧ず閫変腑鍊�
                             btnState.Text = face.userName;
                             //鏁版嵁灏佽
-                            AddDictionary("open_type", "1", "string");
+                            AddDictionary("open_type", "1", "integer");
                             AddDictionary("user_id", face.userId, "string");
 
                         }, false);

--
Gitblit v1.8.0