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/Send.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Send.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Send.cs
index 2108664..616273c 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Send.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Send.cs
@@ -18,6 +18,9 @@
             var jObject = new JObject { }; 
             jObject.Add ("gatewayId", GatewayId);
             jObject.Add ("homeId", HomeId);
+            jObject.Add ("pageSize", 1000);
+            jObject.Add ("pageNo", 1);
+
             var responsePackNew = RequestServerhomeId (jObject, API.GetTimerList);
             return responsePackNew;
         }
@@ -67,6 +70,7 @@
                 jObject.Add ("gatewayId", GatewayId); 
                 jObject.Add ("homeId", HomeId);
                 jObject.Add ("timerName", timer.timerName);
+                jObject.Add ("room", timer.RoomName);
                 jObject.Add ("isEnable", timer.isEnable);
                 jObject.Add ("executeUtcTime", Method.GetUtcTime (timer.executeUtcTime));
                 jObject.Add ("controlData", deviceDateJObject);
@@ -126,6 +130,7 @@
                 jObject.Add ("homeId", HomeId);
                 jObject.Add ("id", timer.id);
                 jObject.Add ("timerName", timer.timerName);
+                jObject.Add ("room", timer.RoomName);
                 jObject.Add ("isEnable", timer.isEnable);
                 jObject.Add ("executeUtcTime", Method.GetUtcTime (timer.executeUtcTime));
                 jObject.Add ("controlData", deviceDateJObject);

--
Gitblit v1.8.0