From 281f7d0b8a363a3ed4d6f83bb5fa22bb6d0340f3 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 08 一月 2021 16:20:13 +0800 Subject: [PATCH] 2021-01-08 1.更新 --- 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