黄学彪
2019-10-29 0f5a53c7b36c27a0f2bec12e6119207edb6860f8
ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
@@ -452,13 +452,26 @@
                        }
                    }
                    var accounts = new JArray();
                    foreach (var dictionary in logic.Accounts) {
                    foreach (var dictionary in logic.Accounts)
                    {
                        var Type = int.Parse(dictionary["Type"]);
                        switch (Type)
                        {
                            case 1: {
                            case 1:
                                {
                                    ///
                                } break;
                                    if (logic.LogicType == 1)
                                    {
                                        var accounts1 = new JObject
                                        {
                                            ["Type"] = int.Parse(dictionary["Type"]),
                                            ["Account"] = dictionary["Account"],
                                        };
                                        accounts.Add(accounts1);
                                    }
                                }
                                break;
                            case 7:
                                {
                                    var location = new JObject
@@ -481,6 +494,7 @@
                        { "IsEnable", logic.IsEnable} ,
                        { "LogicName", logic.LogicName},
                        { "Relationship",logic.Relationship} ,
                         { "LogicType",logic.LogicType} ,
                        { "LogicCustomPushText",logic.LogicCustomPushText} ,
                        { "TimeAttribute", timeAttribute} ,
                        { "Conditions", conditions },