From 5a5a2b696866f947b6025d26c3302e8ffef46435 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 11 一月 2021 16:11:20 +0800
Subject: [PATCH] 2021-01-11 1.更新MQTT连接和本地搜索网关方法。2.子账号相关接口完善
---
Crabtree/SmartHome/HDL/Common/HttpUtil/IMessageCommon.cs | 19 +++++++------------
1 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/Crabtree/SmartHome/HDL/Common/HttpUtil/IMessageCommon.cs b/Crabtree/SmartHome/HDL/Common/HttpUtil/IMessageCommon.cs
index 774885c..c86f5b8 100644
--- a/Crabtree/SmartHome/HDL/Common/HttpUtil/IMessageCommon.cs
+++ b/Crabtree/SmartHome/HDL/Common/HttpUtil/IMessageCommon.cs
@@ -62,10 +62,10 @@
//dicMsg = new Dictionary<string, Dictionary<string, int>>();
#region 鍏遍�氶敊璇爜
stateCodeDic = new Dictionary<string, int>();
- //涓庢湇鍔″櫒閫氳澶辫触
- stateCodeDic ["NETWORK_ERROR"] = MyInternationalizationString.FailedRequestServer;
- //鏁版嵁寮傚父
- stateCodeDic ["DATA_EXCEPTION"] = MyInternationalizationString.DataExceptionPleaseTryAgain;
+ ////涓庢湇鍔″櫒閫氳澶辫触
+ //stateCodeDic ["NETWORK_ERROR"] = MyInternationalizationString.FailedRequestServer;
+ ////鏁版嵁寮傚父
+ //stateCodeDic ["DATA_EXCEPTION"] = MyInternationalizationString.DataExceptionPleaseTryAgain;
//涓庢湇鍔″櫒閫氳澶辫触
stateCodeDic [StateCode.NETWORK_ERROR] = MyInternationalizationString.FailedRequestServer;
//鏁版嵁寮傚父
@@ -163,7 +163,7 @@
//鎺у埗澶辫触
- stateCodeDic ["14007"] = MyInternationalizationString.ControlFailure;
+ stateCodeDic ["14007"] = MyInternationalizationString.ControlFailure2;
//缃戝叧绂荤嚎
stateCodeDic ["14005"] = MyInternationalizationString.GatewayOffline;
//璁惧绂荤嚎
@@ -266,13 +266,8 @@
{
Application.RunOnMainThread(() =>
{
- var tip = new Tip()
- {
- Text = mes,
- CloseTime = closeTime,
- Direction = AMPopTipDirection.None
- };
- tip.Show(MainPage.MainFrameLayout);
+ //寮瑰嚭Tip鎻愮ず
+ Utlis.ShowTip (mes);
});
}
else
--
Gitblit v1.8.0