From b562a582ac3a288193e6e4f57c5eff8a344305a4 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 13:52:17 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 72 +++++++++--------------------------
1 files changed, 19 insertions(+), 53 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs
index 0aa879c..a3888ee 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs
@@ -87,16 +87,14 @@
bodyView.arcBar.IsClickable = false;
bodyView.arcBar.ThumbImagePath = "FunctionIcon/AC/DiyThumbIcon.png";
}
- ////鑷姩妯″紡涓嶅厑璁歌皟娓╁害 2021-10-27 09:41:35 wxr 闄堢惓鍙嶉
- //if (updateTemp.GetAttrState(FunctionAttributeKey.Mode) == "auto" || updateTemp.GetAttrState(FunctionAttributeKey.Mode) == "timer")
- //{
- // bodyView.btnPlus.Enable = false;
- // bodyView.btnMinus.Enable = false;
- // bodyView.arcBar.IsClickable = false;
- // bodyView.arcBar.IsOffline = true;
- //}
- //鏇存柊涓嶅悓鐣岄潰鐘舵�� 2022骞�06鏈�09鏃�19:22:55 wjc 淇敼
- bodyView.updateStatusPage();
+ //鑷姩妯″紡涓嶅厑璁歌皟娓╁害 2021-10-27 09:41:35 wxr 闄堢惓鍙嶉
+ if (updateTemp.GetAttrState(FunctionAttributeKey.Mode) == "auto" || updateTemp.GetAttrState(FunctionAttributeKey.Mode) == "timer")
+ {
+ bodyView.btnPlus.Enable = false;
+ bodyView.btnMinus.Enable = false;
+ bodyView.arcBar.IsClickable = false;
+ bodyView.arcBar.IsOffline = true;
+ }
});
}
catch (Exception ex)
@@ -118,16 +116,14 @@
//function.SaveFunctionData(true);
};
- ////鑷姩妯″紡涓嶅厑璁歌皟娓╁害 2021-10-27 09:41:35 wxr 闄堢惓鍙嶉
- //if (function.GetAttrState(FunctionAttributeKey.Mode) == "auto" || function.GetAttrState(FunctionAttributeKey.Mode) == "timer")
- //{
- // btnPlus.Enable = false;
- // btnMinus.Enable = false;
- // arcBar.IsClickable = false;
- // arcBar.IsOffline = true;
- //}
- //鍒濆鍖栦笉鍚岀晫闈㈢姸鎬� 2022骞�06鏈�09鏃�19:22:55 wjc 淇敼
- this.updateStatusPage();
+ //鑷姩妯″紡涓嶅厑璁歌皟娓╁害 2021-10-27 09:41:35 wxr 闄堢惓鍙嶉
+ if (function.GetAttrState(FunctionAttributeKey.Mode) == "auto" || function.GetAttrState(FunctionAttributeKey.Mode) == "timer")
+ {
+ btnPlus.Enable = false;
+ btnMinus.Enable = false;
+ arcBar.IsClickable = false;
+ arcBar.IsOffline = true;
+ }
}
/// <summary>
@@ -147,7 +143,7 @@
/// </summary>
void LoadEvent_TempChange()
{
- if (!function.online)
+ if (!function.isOnline())
{
new Tip()
{
@@ -287,36 +283,6 @@
dialogView.MouseUpEventHandler = eventHandler;
}
- /// <summary>
- /// 鏇存柊涓嶅悓鐣岄潰鐘舵��
- /// </summary>
- private void updateStatusPage()
- {
- btnPlus.Enable = true;
- btnMinus.Enable = true;
- arcBar.IsClickable = true;
- arcBar.IsOffline = false;
- switch (getModeValue)
- {
- case "auto"://鑷姩
- case "timer"://
- btnPlus.Enable = false;
- btnMinus.Enable = false;
- arcBar.IsClickable = false;
- arcBar.IsOffline = true;
- break;
-
- }
- }
- /// <summary>
- /// 鑾峰彇妯″紡value鍊�
- /// </summary>
- private string getModeValue
- {
- get
- {
- return function.GetAttrState(FunctionAttributeKey.Mode);
- }
- }
+
}
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0