From 3add06f19c3c68289ca58fb61d15dfa059c5c8f5 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 22 七月 2021 09:21:07 +0800
Subject: [PATCH] Merge branch 'wxr7-ez' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into wxr7-ez

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
index c279705..c1ec71b 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
@@ -258,7 +258,7 @@
                                         }
                                     }
                                     break;
-                                case SPK.SensoruUtrasonic:
+                                case SPK.SensorUtrasonic:
                                     {
                                         string str = "";
                                         foreach (var dic in dicList)
@@ -315,7 +315,7 @@
                                         }
                                     }
                                     break;
-                                case SPK.SenesorEnvironment:
+                                case SPK.SensorEnvironment:
                                     {
                                         string strtext = "";
                                         foreach (var dic in dicList)
@@ -599,7 +599,7 @@
                             {
                                 //鐢╯id鎵惧埌璁惧锛�
                                 var device = LogicMethod.CurrLogicMethod.GetDevice(inputCondition.sid);
-                                if (device.spk == SPK.SenesorEnvironment)
+                                if (device.spk == SPK.SensorEnvironment)
                                 {
                                     //杩欎釜璁惧姣旇緝鐗规畩
                                     ConditionDeviceFunList conditionDeviceFunList = new ConditionDeviceFunList();
@@ -1549,7 +1549,7 @@
                         }
                     }
                     break;
-                case SPK.SensoruUtrasonic:
+                case SPK.SensorUtrasonic:
                     {
                         foreach (var dic in dicList)
                         {
@@ -1782,6 +1782,11 @@
                         }
                         break;
                 }
+
+                if (!MainView.IsGatewayType)
+                {
+                    name +=Language.StringByID(StringId.push);
+                }
             }
             catch { }
             return name;

--
Gitblit v1.8.0