]> git.basschouten.com Git - openhab-addons.git/blob
e61fe1c17ac2269aa1309874cc6e10ba5c205987
[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.airvisualnode.internal.dto.airvisualpro;
14
15 /**
16  * Sensor Operating Mode
17  *
18  * @author Oleg Davydyuk - Initial contribution
19  */
20 public class SensorMode {
21
22     private long customModeInterval;
23
24     private long mode;
25
26     public SensorMode(long customModeInterval, long mode) {
27         this.customModeInterval = customModeInterval;
28         this.mode = mode;
29     }
30
31     public long getCustomModeInterval() {
32         return customModeInterval;
33     }
34
35     public void setCustomModeInterval(long customModeInterval) {
36         this.customModeInterval = customModeInterval;
37     }
38
39     public long getMode() {
40         return mode;
41     }
42
43     public void setMode(long mode) {
44         this.mode = mode;
45     }
46 }