From e67e42de58795da31b10f19775e5af46e3d14b44 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 21 五月 2020 17:47:01 +0800
Subject: [PATCH] 2020-05-21-1
---
HDL_ON/DAL/Net/MqttCommon.cs | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/HDL_ON/DAL/Net/MqttCommon.cs b/HDL_ON/DAL/Net/MqttCommon.cs
index 21871fe..5b097f1 100644
--- a/HDL_ON/DAL/Net/MqttCommon.cs
+++ b/HDL_ON/DAL/Net/MqttCommon.cs
@@ -2,14 +2,9 @@
using System;
using MQTTnet.Client;
using System.Threading.Tasks;
-using Shared;
using System.Text;
using System.Security.Cryptography;
-using System.IO;
-using HDL_ON.DAL;
-using HDL_ON.UI;
using MQTTnet;
-using HDL_ON.DAL.Server;
namespace HDL_ON.DAL.Net
{
@@ -58,7 +53,7 @@
/// <summary>
/// 鍚姩杩滅▼Mqtt
/// </summary>
- public static async System.Threading.Tasks.Task StartCloudMqtt()
+ public static async Task StartCloudMqtt()
{
/*
try
@@ -128,7 +123,7 @@
MainPage.Log("Remote mqtt get Region MAC : " + UserConfig.Instance.CurrentRegion.RegionID);
var requestJson3 = Newtonsoft.Json.JsonConvert.SerializeObject(requestObj3);
var revertObj3 = HttpServerRequest.RequestHttps("GatewayByRegionList", requestJson3, true);
- if (revertObj3.StateCode == "SUCCESS")
+ if (revertObj3.DB_ResidenceData.residenceData.residecenInfo
{
var responseDataObj = Newtonsoft.Json.JsonConvert.DeserializeObject<List<GatewayRes>>(revertObj3.ResponseData.ToString());
var gatewayList = responseDataObj;
--
Gitblit v1.8.0