mac
2023-09-26 841e7972869b6e967d06da0d91186cd69f1d4eb5
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -361,7 +361,7 @@
            }
            else if (SPK.SensorPm10 == device.spk
                || SPK.SensorPirHold == device.spk
                || SPK.SensorLight == device.spk)
               )
            {
                return "LogicIcon/sensor.png";
            }
@@ -370,7 +370,15 @@
            {
                return "FunctionIcon/DoorLock/DoorLock.png";
            }
            else if (SPK.SensorDryContact == device.spk
                || SPK.SensorDryContact2 == device.spk)
            {
                return "LogicIcon/ganjiedian.png";
            }
            else if (SPK.SensorLight == device.spk)
            {
                return "LogicIcon/lightloguc.png";
            }
            //LogicIcon/heatlogic.png"
            return $"FunctionIcon/Icon/{device.IconName}.png";
@@ -1223,7 +1231,7 @@
                //模拟设备
                var functions = new List<Function> {
                 new Entity.Function { sid = "1234567890", name = "光照传感器", spk = Entity.SPK.SensorLight },
                  new Entity.Function { sid = "1234567891", name = "插座", spk = Entity.SPK.PanelSocket },
                  new Entity.Function { sid = "1234567891", name = "干节点", spk = Entity.SPK.SensorDryContact },
                   new Entity.Function { sid = "1234567892", name = "紧急求助传感器", spk = Entity.SPK.SensorHelp },
                    //new Entity.Function { sid = "12345678933456", name = "门锁", spk = Entity.SPK.DoorLock },
                    //  new Entity.Function { sid = "1234567895444", name = "视频门锁", spk = Entity.SPK.VideoDoorLock },