From 6c8946b21635246355ec41f216426783685a14b2 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 14 十月 2020 09:14:09 +0800
Subject: [PATCH] 20201013
---
HDL_ON/UI/MainPage.cs | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs
index 79cdbd7..36f4c36 100644
--- a/HDL_ON/UI/MainPage.cs
+++ b/HDL_ON/UI/MainPage.cs
@@ -80,19 +80,17 @@
}
else
{
- //BusSocket.Start(6688);
- //CommonPage.InitReceiveEvent();
- //Control.ReadGatewayIPAddress();
-
- //if(Entity.DB_ResidenceData.residenceData.GatewayType == 1)
- //{
- // Control.ReadGatewayIPAddress();
- //}
- //else
- //{
- //BusSocket.Start(6000);
- //CommonPage.InitReceiveEvent();
- //}
+ if (Entity.DB_ResidenceData.residenceData.GatewayType == 1)
+ {
+ BusSocket.Start(6688);
+ CommonPage.InitReceiveEvent();
+ Control.ReadGatewayIPAddress();
+ }
+ else
+ {
+ BusSocket.Start(6000);
+ CommonPage.InitReceiveEvent();
+ }
new System.Threading.Thread(() =>
{
--
Gitblit v1.8.0