From 9ab5bd54fadd8fc9c542b48c99a117a4e182669b Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 14 十月 2021 16:37:56 +0800
Subject: [PATCH] 智能空开能源界面数据更新

---
 HDL_ON/DAL/Mqtt/MqttInfoConfig.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/DAL/Mqtt/MqttInfoConfig.cs b/HDL_ON/DAL/Mqtt/MqttInfoConfig.cs
index f609dc5..2bc9532 100644
--- a/HDL_ON/DAL/Mqtt/MqttInfoConfig.cs
+++ b/HDL_ON/DAL/Mqtt/MqttInfoConfig.cs
@@ -49,7 +49,7 @@
             }
         }
 
-        public HomeGatewayInfo HomeGatewayInfo = null;
+        public HomeGatewayInfo HomeGatewayInfo = new HomeGatewayInfo();
 
         public MqttInfo mMqttInfo = null;
 
@@ -67,7 +67,8 @@
         public void Refresh()
         {
             m_Current = null;
-            Save();
+            Common.FileUtlis.Files.DeleteFile(ConfigFile);
+            //Save();
         }
 
         public void Save()

--
Gitblit v1.8.0