]> git.basschouten.com Git - openhab-addons.git/blob
49283af120ee0b14d69e1f7139f8f23d8957c600
[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;
14
15 /**
16  * Power saving time slot data.
17  *
18  * @author Victor Antonovich - Initial contribution
19  */
20 public class PowerSavingTimeSlot {
21
22     private int hourOff;
23     private int hourOn;
24
25     public PowerSavingTimeSlot(int hourOff, int hourOn) {
26         this.hourOff = hourOff;
27         this.hourOn = hourOn;
28     }
29
30     public int getHourOff() {
31         return hourOff;
32     }
33
34     public void setHourOff(int hourOff) {
35         this.hourOff = hourOff;
36     }
37
38     public int getHourOn() {
39         return hourOn;
40     }
41
42     public void setHourOn(int hourOn) {
43         this.hourOn = hourOn;
44     }
45 }