From 01c46e7bfe9aa8fb20b29f70c83c03a307af548a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 22 十二月 2020 16:35:16 +0800 Subject: [PATCH] 2020-12-22 1.更新。 --- 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