From 9508510f0b27da3278fa1161eb2ba3dd1e3e2030 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 26 七月 2023 13:14:00 +0800
Subject: [PATCH] 2023年07月26日13:12:21

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
index 32662f8..1d787cb 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
@@ -460,7 +460,7 @@
                                     break;
                                 case SPK.IpCam_Imou:
                                     {
-                                        if (inputCondition.identifier == "door_caipcam_region_alram_eventll_cloud_event")
+                                        if (inputCondition.identifier == "ipcam_region_alram_event")
                                         {
                                             inputView.btnState.Text = Language.StringByID(StringId.quyuruqingaojing);
                                         }
@@ -468,9 +468,15 @@
                                     }
                                     break;
                                 case SPK.Ev_Ipcam:
+                                    if (inputCondition.identifier == "motiondetect_event")
+                                    {
+                                        inputView.btnState.Text = Language.StringByID(StringId.shi);
+                                    }
+                                    break;
+                                case SPK.Peephole:
                                     if (inputCondition.identifier == "pir_event")
                                     {
-                                        inputView.btnState.Text = Language.StringByID(StringId.On);
+                                        inputView.btnState.Text = Language.StringByID(StringId.shi);
                                     }
                                     break;
                                 case SPK.SensorPirHold:
@@ -2182,7 +2188,7 @@
                         }
                     }
                     break;
-              
+
                 case SPK.SensorGas:
                 case SPK.SensorSmoke:
                     {
@@ -2409,6 +2415,8 @@
                         button1.Tag = tag;
                     }
                     break;
+               
+
                 case SPK.MusicStandard:
                 case SPK.AvMusic:
                     {

--
Gitblit v1.8.0