From 48ba446936b51fffafa7c3600c0dadc6ac0e8c20 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 10 七月 2020 10:52:13 +0800 Subject: [PATCH] 2020-07-10-01 --- ZigbeeApp/Shared/Phone/ZigBee/Device/FreshAir.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/FreshAir.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/FreshAir.cs index cc6989d..25d2391 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/FreshAir.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/FreshAir.cs @@ -18,8 +18,9 @@ /// 椋庨�熸ā寮� /// <para>5:鑷姩</para> /// <para>6:Smart</para> - /// <para>7:鎵嬪姩</para> + /// <para>15:鎵嬪姩</para> /// </summary> + [Newtonsoft.Json.JsonIgnore] public int currentFanMode = 0; /// <summary> /// 椋庨�熸。浣� @@ -27,12 +28,14 @@ /// <para>2:涓</para> /// <para>3:楂橀 </para> /// </summary> + [Newtonsoft.Json.JsonIgnore] public int currentFanSpeed = 0; /// <summary> /// 椋庢墖鐘舵�� /// <para>0:鍏抽棴 </para> /// <para>4:鎵撳紑 </para> /// </summary> + [Newtonsoft.Json.JsonIgnore] public int currentFanStatus = 0; /// <summary> @@ -109,8 +112,7 @@ if (topic == gatewayID + "/" + "Error_Respon") { - var gatewayTemp = new ZbGateway() { Time = jobject.Value<int>("Time"), DataID = jobject.Value<int>("Data_ID"), CurrentGateWayId = Gateway.getGatewayBaseInfo.gwID }; - var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<ZbGateway.ErrorResponData>(jobject["Data"].ToString()); + var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<CommonDevice.ErrorResponData>(jobject["Data"].ToString()); if (temp == null) { @@ -124,7 +126,6 @@ if (topic == gatewayID + "/" + "SetWritableValue_Respon") { - var gatewayTemp = new ZbGateway() { DeviceID = jobject.Value<int>("Device_ID"), DeviceAddr = jobject.Value<string>("DeviceAddr"), DeviceEpoint = jobject.Value<int>("Epoint"), DataID = jobject.Value<int>("Data_ID"), CurrentGateWayId = Gateway.getGatewayBaseInfo.gwID }; var tempData = Newtonsoft.Json.JsonConvert.DeserializeObject<SetWritableValueResponData>(jobject["Data"].ToString()); if (tempData == null) @@ -224,7 +225,7 @@ /// <summary> /// 鎵嬪姩 /// </summary> - Manual = 7, + Manual = 15, } } } -- Gitblit v1.8.0