From a7f60b109fd33d6defe0d828a911f5cf449803d0 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期二, 24 五月 2022 17:12:11 +0800 Subject: [PATCH] 2022年05月24日17:12:01 --- HDL_ON/DAL/DriverLayer/Control.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 80397b6..5f9b849 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -1066,6 +1066,10 @@ break; case SPK.CurtainShades: break; + case SPK.HvacCac: + Stan.HdlDeviceStatuPushLogic.Current.UpdateDeviceStatu(updateTemp.sid, updateTemp.status); + + break; case SPK.AcStandard: case SPK.HvacAC: case SPK.AcIr: @@ -1290,7 +1294,15 @@ if (pack.Code != StateCode.SUCCESS) { Application.RunOnMainThread(() => { - new PublicAssmebly().TipMsg(Language.StringByID(StringId.Tip), pack.message); + if(string.IsNullOrEmpty(pack.message)) + { + new PublicAssmebly().TipMsg(Language.StringByID(StringId.Tip), + Language.StringByID(StringId.OperationFailed)); + } + else + { + new PublicAssmebly().TipMsg(Language.StringByID(StringId.Tip), pack.message); + } }); } } -- Gitblit v1.8.0