From bee4133c05f9c41f24ec7fa7449faabb79306087 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 21 一月 2021 15:47:25 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/CJL' into NewFilePath --- 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