From 9d1acd149d4361874ebb0b9097a7650cde5c5add Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 09 二月 2023 15:15:52 +0800 Subject: [PATCH] Update MainPage.cs --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs index 40ba375..d54f4de 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs @@ -360,6 +360,10 @@ { return "LogicIcon/sensor.png"; } + else if (SPK.DoorLock == device.spk) + { + return "FunctionIcon/DoorLock/DoorLock.png"; + } //LogicIcon/heatlogic.png" return $"FunctionIcon/Icon/{device.IconName}.png"; -- Gitblit v1.8.0