From fba7be989c27154db963cfce1ddd7b01d71e8b21 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期五, 20 十月 2023 14:21:12 +0800
Subject: [PATCH] 2023年10月20日14:20:17

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index 7d455a8..87f5585 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -239,7 +239,7 @@
                                     int h = time / (60 * 60);
                                     int m = time % (60 * 60) / 60;
                                     int s = (time % (60 * 60) % 60);
-                                    view2.btnState.Text = inputs.hold_time + "s";
+                                    view2.btnState.Text = LogicMethod.Current.getTimeStr(inputs.hold_time); 
                                     view2.btnState.Name = h + ":" + m + ":" + s;
                                     this.hold_time = inputs.hold_time;
                                 }
@@ -1400,7 +1400,7 @@
                         this.hold_time = (h + m + s).ToString();
                         if (button != null)
                         {
-                            button.Text = this.hold_time + "s";
+                            button.Text = LogicMethod.Current.getTimeStr(this.hold_time);
                             button.Name = timeValue;
                         }
                         selectedState = device.spk + "_" + timeValue;

--
Gitblit v1.8.0