陈嘉乐
2020-07-01 c16f0f8fd1e5374164852a441751abb96a84d300
ZigbeeApp/Shared/Phone/Device/Logic/LogicIfon.cs
old mode 100755 new mode 100644
@@ -41,6 +41,18 @@
                            }
                        }
                        else if (common.Type == DeviceType.IASZone) {
                            var iASZonedevice = common as IASZone;
                            if (iASZonedevice.IasDeviceType == 541)
                            {//球形移动传感器
                                if (Common.Logic.CurrentLogic.Conditions[i]["Cluster_ID"] == objecttype["Cluster_ID"])
                                {
                                    Common.Logic.CurrentLogic.Conditions.RemoveAt(i);
                                    Common.Logic.CurrentLogic.Conditions.Insert(i, objecttype);
                                    return;
                                }
                            }
                        }
                        else
                        {
                            Common.Logic.CurrentLogic.Conditions.RemoveAt(i);