]> git.basschouten.com Git - openhab-addons.git/blob
ffca1afb6aab028b4634445c2da5dc65ee5d33af
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.boschshc.internal.services.intrusion.dto;
14
15 import org.openhab.binding.boschshc.internal.services.dto.BoschSHCServiceState;
16
17 /**
18  * A state which is periodically sent by the intrusion detection control state while arming.
19  * <p>
20  * Example data:
21  * 
22  * <pre>
23  * {
24  *   "@type": "intrusionDetectionControlState",
25  *   "activeProfile": "0",
26  *   "alarmActivationDelayTime": 30,
27  *   "actuators": [
28  *     {
29  *       "readonly": false,
30  *       "active": true,
31  *       "id": "intrusion:video"
32  *     },
33  *     {
34  *       "readonly": false,
35  *       "active": false,
36  *       "id": "intrusion:siren"
37  *     }
38  *   ],
39  *   "remainingTimeUntilArmed": 29559,
40  *   "armActivationDelayTime": 30,
41  *   "triggers": [
42  *     {
43  *       "readonly": false,
44  *       "active": true,
45  *       "id": "hdm:ZigBee:000d6f0012f02378"
46  *     }
47  *   ],
48  *   "value": "SYSTEM_ARMING"
49  * }
50  * </pre>
51  * 
52  * @author David Pace - Initial contribution
53  *
54  */
55 public class IntrusionDetectionControlState extends BoschSHCServiceState {
56
57     public IntrusionDetectionControlState() {
58         super("intrusionDetectionControlState");
59     }
60
61     public String activeProfile;
62
63     public int alarmActivationDelayTime;
64
65     public long remainingTimeUntilArmed;
66
67     public int armActivationDelayTime;
68
69     public ArmingState value;
70 }