From f748908e5414736eb243ae7ec66a80dc9f5d9d49 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 26 九月 2024 11:37:00 +0800
Subject: [PATCH] 水浸传感器,红外传感器,面板空调

---
 HDL_ON/UI/UI0-Stan/Controls/CompoundControls/BatteryPersentControl.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI0-Stan/Controls/CompoundControls/BatteryPersentControl.cs b/HDL_ON/UI/UI0-Stan/Controls/CompoundControls/BatteryPersentControl.cs
index 2ba65dc..e319bfa 100644
--- a/HDL_ON/UI/UI0-Stan/Controls/CompoundControls/BatteryPersentControl.cs
+++ b/HDL_ON/UI/UI0-Stan/Controls/CompoundControls/BatteryPersentControl.cs
@@ -20,11 +20,11 @@
         /// <summary>
         /// 杩涘害鏉�
         /// </summary>
-        private NormalViewControl btnProgress = null;
+        public NormalViewControl btnProgress = null;
         /// <summary>
         /// 鍥炬爣鎺т欢
         /// </summary>
-        private IconViewControl btnIcon = null;
+        public IconViewControl btnIcon = null;
 
         #endregion
 
@@ -91,12 +91,14 @@
                 //鍙樼孩鑹�
                 this.btnProgress.BackgroundColor = 0xfff62f48;
                 this.btnIcon.UnSelectedImagePath = "Public/BatteryNot.png";
+                this.btnIcon.SelectedImagePath = "Public/BatteryNot.png";
             }
             else
             {
                 //鍙樼伆鑹�
                 this.btnProgress.BackgroundColor = CSS_Color.PromptingColor1;
                 this.btnIcon.UnSelectedImagePath = "Public/BatteryEnough.png";
+                this.btnIcon.SelectedImagePath = "Public/BatteryEnough.png";
             }
         }
 

--
Gitblit v1.8.0