From 604341e5ef254ef6d4164423a342efef897a2172 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 22 一月 2021 17:51:48 +0800 Subject: [PATCH] 2021-1-22-1 --- HDL_ON/Entity/Function/Function.cs | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 7b241c6..ee358af 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -221,16 +221,12 @@ _trait_on_off.curValue = "off"; } } - if(_trait_on_off.curValue.ToString() != "on"&& _trait_on_off.curValue.ToString() != "off") + if(_trait_on_off.curValue.ToString() != "on"&& _trait_on_off.curValue.ToString() != "off" && _trait_on_off.curValue.ToString() != "stop") { _trait_on_off.curValue = "off"; } return _trait_on_off; } - //set - //{ - // _trait_on_off = value; - //} } /// <summary> -- Gitblit v1.8.0