From 32ad85a377b00bc54ad7f15a45d7631d3e2b10d5 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期一, 13 六月 2022 17:41:12 +0800 Subject: [PATCH] 2022年06月13日17:39:46 --- HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs index eef7829..3afc54f 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs @@ -328,6 +328,33 @@ } break; case SPK.SenesorMegahealth: + { + foreach (var dic in dicList) + { + string value = dic["value"]; + switch (dic["key"]) + { + case "people_status": + { + if (value == "true") + { + inputView.btnState.Text = Language.StringByID(StringId.shi); + } + + } + break; + case "target_status": + { + if (value == "4") + { + inputView.btnState.Text = Language.StringByID(StringId.shi); + } + } + break; + } + + } + }break; case SPK.SenesorMegahealth2: { foreach (var dic in dicList) @@ -1968,6 +1995,34 @@ } break; case SPK.SenesorMegahealth: + { + foreach (var dic in dicList) + { + string value = dic["value"]; + switch (dic["key"]) + { + case "people_status": + { + if (value == "true") + { + button1.Text = Language.StringByID(StringId.shi); + } + + } + break; + case "target_status": + { + if (value == "4") + { + button2.Text = Language.StringByID(StringId.shi); + } + } + break; + } + + } + } + break; case SPK.SenesorMegahealth2: { foreach (var dic in dicList) -- Gitblit v1.8.0