From d53e6af2c5f17838fa79659614b15a2a1f383399 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 31 三月 2023 10:04:58 +0800 Subject: [PATCH] 1 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/UserSchedule.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/UserSchedule.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/UserSchedule.cs index 3a31e45..24c5ec1 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/UserSchedule.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/UserSchedule.cs @@ -363,9 +363,10 @@ var jay = jArray [a]; timer.id = jay ["id"].ToString (); timer.timerName =jay ["timerName"].ToString (); + timer.RoomName = jay ["room"].ToString (); timer.userId = jay ["userId"].ToString (); timer.isEnable = Boolean.Parse (jay ["isEnable"].ToString ()); - timer.executeUtcTime =SmartHome.Method.GetLocalUtcTime(jay ["executeUtcTime"].ToString ()); + timer.executeUtcTime = SmartHome.Method.GetLocalUtcTime(jay ["executeUtcTime"].ToString ()); timer.timerType = (TimerType)System.Enum.Parse (typeof (TimerType), jay ["timerType"].ToString ()); var whichDayJson = jay ["whichDay"].ToString (); var whichDayAry = Newtonsoft.Json.Linq.JArray.Parse (whichDayJson); @@ -386,8 +387,10 @@ } else { //鎻愮ず閿欒 - SmartHome.Method method = new SmartHome.Method (); - method.ShowGetTimerListErrorInfo (revertObj.Data.ToString ()); + IMessageCommon.Current.ShowErrorInfoAlter (revertObj.Code); + + //SmartHome.Method method = new SmartHome.Method (); + //method.ShowGetTimerListErrorInfo (revertObj.Data.ToString ()); } } catch (Exception ex) { Utlis.WriteLine (ex.Message); -- Gitblit v1.8.0