From 3f45dd0172305bef0008e4e5a8725dedec2340c9 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 21 四月 2022 10:28:21 +0800 Subject: [PATCH] 紧急求助按钮备份 --- HDL_ON/UI/UI2/1-HomePage/HomePage.cs | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs index 0bb4e7c..b5f8992 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs @@ -633,9 +633,10 @@ attributes = new List<FunctionAttributes>() { new FunctionAttributes(){ key = "status",curValue= "on",state = "on" }, - new FunctionAttributes(){ key = "battery_value",curValue= "2000",state = "2000" }, - new FunctionAttributes(){ key = "battery_percentage",curValue= "80",state = "80" }, - new FunctionAttributes(){ key = "battery_state",curValue= "high",state = "high" }, + new FunctionAttributes(){ key = "alarm_status",curValue= "alarm",state = "alarm" }, + new FunctionAttributes(){ key = "battery_value",curValue= "200",state = "200" }, + new FunctionAttributes(){ key = "battery_percentage",curValue= "10",state = "10" }, + new FunctionAttributes(){ key = "battery_state",curValue= "low",state = "low" }, }, }); @@ -884,6 +885,7 @@ /// <summary> /// 鍔犺浇璁惧鍔熻兘鏄剧ず鍖哄煙 + /// Tag 鏀惰棌鍗$墖 /// </summary> void LoadDeviceFunctionControlZone() { @@ -1097,6 +1099,7 @@ /// <summary> /// 鍔犺浇鍔熻兘鎺у埗鍗$墖 + /// Tag 鍗$墖鑷畾涔� /// </summary> void LoadDeviceFunctionDiv(FrameLayout view, Function function) { @@ -1311,6 +1314,11 @@ LoadEvent_ControlClothesHanger(function, btnUp, btnDown); } + //绱ф�ユ眰鍔� + else if (function.spk == SPK.SensorHelp) + { + + } else { -- Gitblit v1.8.0