From d9fd4c59bea0f21d4c8241920cef90440cf53f43 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 28 八月 2021 17:20:45 +0800 Subject: [PATCH] 2021-8-28-05 --- HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs index 7c485d1..999ffc2 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs @@ -149,6 +149,8 @@ case SPK.AcStandard: //鍦扮儹 case SPK.FloorHeatStandard: + //鏂伴 + case SPK.AirFreshStandard: {//寮�鍏崇伅 foreach (var dic in dicList) { @@ -411,6 +413,13 @@ } break; + case SPK.SensorHcho: + { + string str = new InpOrOutLogicMethod { }.GetText(dicList); + inputView.btnState.Text = str; + + } + break; } } break; @@ -654,6 +663,7 @@ || device.spk == SPK.SensorCO2 || device.spk == SPK.SensorPm25 || device.spk == SPK.SensorTVOC + || device.spk == SPK.SensorHcho ) { //杩欎釜璁惧姣旇緝鐗规畩 @@ -706,12 +716,16 @@ case "pm25": { conditionDeviceFunList.PmCo2TvocAction(thisView, device, "pm25", StringId.pm25, indexVulae, true, stateValue); - } break; case "tvoc": { conditionDeviceFunList.PmCo2TvocAction(thisView, device, "tvoc", StringId.tvoc, indexVulae, true, stateValue); + } + break; + case "hcho": + { + conditionDeviceFunList.PmCo2TvocAction(thisView, device, "hcho", StringId.tvoc, indexVulae, true, stateValue); } break; } @@ -2146,6 +2160,11 @@ strtext = Language.StringByID(StringId.tvoc) + new PublicInterface { }.GetString("tvoc", value); } break; + case "hcho": + { + strtext = Language.StringByID(StringId.Formaldehyde) + new PublicInterface { }.GetString("hcho", value); + } + break; } } return strtext; -- Gitblit v1.8.0