| | |
| | | } |
| | | break; |
| | | //人体存在传感器 |
| | | case SPK.sensorPirhold: |
| | | case SPK.SensorPirHold: |
| | | { |
| | | |
| | | |
| | |
| | | view2.btnClick.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | //主界面控件 |
| | | FrameLayout fLayout = new FrameLayout |
| | | FrameLayout fLayout2 = new FrameLayout |
| | | { |
| | | BackgroundColor = CSS.CSS_Color.viewTrans60lucence, |
| | | }; |
| | | this.AddChidren(fLayout); |
| | | TimeView(fLayout, device, view2.btnState); |
| | | this.AddChidren(fLayout2); |
| | | TimeView(fLayout2, device, view2.btnState); |
| | | |
| | | }; |
| | | |
| | |
| | | inputDevice.condition_type = "9"; |
| | | inputDevice.identifier = this.identifier; |
| | | } |
| | | else if (device.spk == SPK.sensorPirhold) |
| | | else if (device.spk == SPK.SensorPirHold) |
| | | { |
| | | //人体存在传感器 |
| | | inputDevice.hold_time = this.hold_time; |
| | |
| | | } |
| | | } |
| | | break; |
| | | case SPK.sensorPirhold: |
| | | case SPK.SensorPirHold: |
| | | case SPK.SensorDuiShe: |
| | | case SPK.SensorShanLan: |
| | | case SPK.SensorPir: |