]> git.basschouten.com Git - openhab-addons.git/blob
1dd2a20199bd96be14c5180c91233a56d7658a51
[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.ecobee.internal.dto.thermostat;
14
15 import java.util.List;
16
17 /**
18  * The {@link ProgramDTO} is a container for the Schedule and its Climates. See Core Concepts for
19  * details on how the program is structured. The schedule property is a two dimensional array
20  * containing the climate names.
21  *
22  * @author Mark Hilbush - Initial contribution
23  */
24 public class ProgramDTO {
25
26     /*
27      * The Schedule object defining the program schedule.
28      */
29     public List<List<String>> schedule;
30
31     /*
32      * The list of Climate objects defining all the climates in the program schedule.
33      */
34     public List<ClimateDTO> climates;
35
36     /*
37      * The currently active climate, identified by its ClimateRef.
38      */
39     public String currentClimateRef;
40 }