From f759dc1e6f49c53733eafda82207c85af18f9931 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 28 五月 2020 15:46:54 +0800
Subject: [PATCH] 2020-05-28-1
---
ZigbeeApp/Shared/Phone/Device/Logic/Send.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
old mode 100644
new mode 100755
index 3996c24..e33ecd0
--- a/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
@@ -35,20 +35,17 @@
if (topic == $"{gatewayID}/Logic/GetLogicList_Respon")
{
- Console.WriteLine("鎵撳嵃閫昏緫杩斿洖鏁版嵁1====");
var list = jObjectdata["Data"]["LogicList"];
if (list == null)
{
return;
}
- Console.WriteLine("鎵撳嵃閫昏緫杩斿洖鏁版嵁2====");
foreach (var listIfon in list)
{
var logicId = int.Parse(listIfon["LogicId"].ToString());
logicIdList.Add(logicId);
}
- Console.WriteLine("鎵撳嵃閫昏緫杩斿洖鏁版嵁3===="+logicIdList.Count.ToString());
}
};
@@ -534,6 +531,10 @@
case 8:
{
var accounts1 = new JObject();
+ if (dictionary.ContainsKey("Type"))
+ {
+ accounts1.Add("Type", int.Parse(dictionary["Type"]));
+ }
if (dictionary.ContainsKey("Option4"))
{
accounts1.Add("Option4", dictionary["Option4"]);
--
Gitblit v1.8.0