WJC
2020-03-25 98c998ca98ee014266f65a517d672df0cd97f244
ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
@@ -54,11 +54,16 @@
                    return logicIdList;
                }
                mainGateWay.GwResDataAction += action;
                try
                {
                var jObject = new JObject { { "Cluster_ID", 0 }, { "Command", 2004 } };
                var jObjectdata1 = new JObject { { "LogicType", LogicType } };
                jObject.Add("Data", jObjectdata1);
                mainGateWay?.Send("Logic/GetLogicList", jObject.ToString());
                }
                catch(Exception e) {
                    var d = e.Message;
                }
                //await System.Threading.Tasks.Task.Run(async () =>
                //{
                var dateTime = DateTime.Now;
@@ -490,6 +495,7 @@
                                            ["Type"] = int.Parse(dictionary["Type"]),
                                            ["Account"] = dictionary["Account"],
                                            ["UserId"] = dictionary["UserId"],
                                            ["AccountName"] = dictionary["AccountName"],
                                        };
                                        accounts.Add(accounts1);
@@ -513,6 +519,7 @@
                        }
                    }
                    var data = new JObject{
                        { "LogicId",logic.LogicId},
                        { "IsEnable", logic.IsEnable} ,