From c8c33200e43f05136eca9fc8ff4942f8def31cc6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 18 八月 2021 10:45:40 +0800
Subject: [PATCH] 2021-08-18 1.完善Android对接LinphoneSDK 2.完善SIP相关接口对接

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index e2ec5ee..d6af876 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -161,7 +161,7 @@
                     }
                     break;
                 //瓒呭0娉紶鎰熷櫒
-                case SPK.SensoruUtrasonic:
+                case SPK.SensorUtrasonic:
                     {
 
                         LogicView.FunTypeView view = new LogicView.FunTypeView();
@@ -203,7 +203,7 @@
                     }
                     break;
                 //鐜妫�娴嬩紶鎰熷櫒
-                case SPK.SenesorEnvironment:
+                case SPK.SensorEnvironment:
                     {
                         #region 鐣岄潰
                         ///娓╁害
@@ -366,7 +366,7 @@
                     case SPK.SensorDuiShe:
                     case SPK.SensorPir:
                     case SPK.SensorDoorWindow:
-                    case SPK.SensoruUtrasonic:
+                    case SPK.SensorUtrasonic:
                         {
                             keyVlaue = "status";
                         }
@@ -537,7 +537,7 @@
                {
                    var value = view.GetValue(key, text);
                    selectedState = device.spk + "_"+ key;
-                   AddDictionary(key, value, "integer");
+                   AddDictionary(key, value, "integer","in");
                    Save(device,index, edit);
                });
         }
@@ -553,7 +553,7 @@
         private void GetEditState(Entity.Function device, int index, Button button1, Button button2, Button button3, Button button4)
         {
             Input inputs = Logic.currlogic.input[index];
-            var dicList = inputs.condition as List<Dictionary<string, string>>;
+            var dicList = inputs.condition;
             //娓呴櫎涔嬪墠鏃ф暟鎹�
             dicSateteList.Clear();
             if (dicList.Count != 0)

--
Gitblit v1.8.0