HDL_ON/UI/UI2/FuntionControlView/ArmSensor/SensorPirPage.cs
@@ -28,7 +28,7 @@ public override void InitFrameWhiteContent() { base.ShowColltionButton = false; base.SetTitleText(device.name); base.SetTitleText(Language.StringByID(StringId.Sensor)); //添加第二索引页 this.AddSecondPage(); @@ -114,6 +114,10 @@ { Application.RunOnMainThread(()=>{ var temp = device.attributes.Find((sta) => sta.key == FunctionAttributeKey.Status); if(temp== null) { temp = device.attributes.Find((sta) => sta.key == FunctionAttributeKey.PeopleStatus); } if (temp != null) { if (temp.state == "true")