From cb9567eab8f5b417dfa13e904798eef5095e5248 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 21 十二月 2021 10:03:09 +0800 Subject: [PATCH] 安卓协议界面,插座电量功能 --- HDL_ON/DAL/DriverLayer/Control.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 4a6ad64..28ef74e 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -835,7 +835,7 @@ var revString = Encoding.UTF8.GetString(receiveBytes); receiveObj.BodyDataString = revString; MainPage.Log($"灞�鍩熺綉淇℃伅: 瑙e瘑鍚庯細" + receiveObj.BodyDataString); - //if(receiveObj.Topic.EndsWith("/thing/property/up")) + //if (receiveObj.Topic.EndsWith("/thing/property/up")) //{ // MsgInfoList.Add(revString + "\r\n"); //} @@ -1142,6 +1142,7 @@ case SPK.ElectricSocket: case SPK.PanelSocket: SocketPage.UpdataState(localFunction); + SocketPage_InstantaneousValue.UpdataView(localFunction); break; case SPK.ElectricTV: break; -- Gitblit v1.8.0