From 18c8ba14183bf72fd01e595124a9614bc4c7d6a3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 23 十月 2023 14:34:16 +0800 Subject: [PATCH] 2.3版本 --- HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs index 87f5585..f99b97c 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs @@ -1121,9 +1121,11 @@ } } int max = 100; + int min = 1; if (device.spk == SPK.SensorLight) { //鐓ф槑浼犳劅鍣� + min = 0; max =1200; } @@ -1171,12 +1173,12 @@ key = "illuminance"; comparator = "<"; } - break; + break ; } selectedState = device.spk + "_" + value; AddDictionary(key, value, data_type, comparator); SaveInput(device,index, edit); - },1,max); + },min,max); } /// PM2.5,Co2,Tvoc璁剧疆鍊� /// </summary> -- Gitblit v1.8.0