From a56a485926a8927f904d7f4795c371c25b35753a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 22 十二月 2020 18:18:15 +0800 Subject: [PATCH] Merge branch 'WJC' into NewFilePath --- HDL_ON/DAL/DriverLayer/Control.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 1883b20..d6da0f6 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -262,7 +262,7 @@ /// <returns></returns> public void SendWriteCommand(Function function, Dictionary<string, string> commandDictionary) { - function.usageCount++; + function.controlCounter++; function.refreshTime = DateTime.Now; //濡傛灉鏄帶鍒惰皟鍏夌殑寮�鏃讹紝浜害鍊间笉鑳戒负0 @@ -567,7 +567,7 @@ localAttr.curValue = attr.value; } } - MainPage.Log($"{localSwitch.trait_on_off.curValue}: "); + //rgb.lastState = Language.StringByID(StringId.Brightness) + " : " + rgb.brightness + "%"; RelayPage.UpdataState(localSwitch); } break; @@ -638,7 +638,7 @@ } } lightCCT.lastState = Language.StringByID(StringId.Brightness) + " : " + lightCCT.brightness + "%"; - DimmerPage.UpdataStates(lightCCT); + ColorTureLampPage.UpdataStates(lightCCT); } break; case SPK.CurtainSwitch: -- Gitblit v1.8.0