From a5ba89efa83d0a4afd0d25dbeba5989e4944b5b8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 24 十一月 2020 18:57:56 +0800 Subject: [PATCH] 20201124;mqtt代码整理备份 --- HDL_ON/Entity/DB_ResidenceData.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs index 87de6b6..489d7d3 100644 --- a/HDL_ON/Entity/DB_ResidenceData.cs +++ b/HDL_ON/Entity/DB_ResidenceData.cs @@ -1,7 +1,5 @@ 锘縰sing System; using System.Collections.Generic; -using HDL_ON.DAL; -using HDL_ON.DAL.Net; using Shared; namespace HDL_ON.Entity @@ -11,7 +9,10 @@ public DB_ResidenceData() { } - + /// <summary> + /// 涓讳汉token + /// </summary> + public string MasterToken; /// <summary> /// 0:bus缃戝叧 /// 1:A鍗忚缃戝叧 @@ -406,7 +407,7 @@ ins_Function = null; if (MainPage.IsRemote) { - Mqtt_Cloud.DisConnectRemoteMqttClient("閫�鍑虹櫥褰曪紝鎴栬�呭垏鎹綇瀹�"); + DAL.Mqtt.MqttClient.DisConnectRemote("閫�鍑虹櫥褰曪紝鎴栬�呭垏鎹綇瀹�"); } } @@ -417,7 +418,7 @@ /// <summary> /// 褰撳墠浣忓畢鐨勭綉鍏矼AC /// </summary> - public string residenceGatewayMAC = "0281B9078C000000";// "00964E19C4467B1E"; + public string residenceGatewayMAC = "4E47323347591243";//"0281B9078C000000";// "00964E19C4467B1E"; /// <summary> /// 淇濆瓨浣忓畢鏁版嵁 /// </summary> @@ -669,7 +670,7 @@ case FunctionCategory.Thermostat: if (DB_ResidenceData.residenceData.GatewayType == 0) { - DriverLayer.Control.ins.SendReadCommand(function); + DriverLayer.Control.Ins.SendReadCommand(function); } break; } -- Gitblit v1.8.0