]> git.basschouten.com Git - openhab-addons.git/blob
c610a79c50c7b77d17e2d85c59b1208cfb34def0
[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.mybmw.internal.dto.charge;
14
15 import java.util.List;
16
17 import org.openhab.binding.mybmw.internal.utils.Constants;
18
19 /**
20  * The {@link Timer} Data Transfer Object
21  *
22  * @author Bernd Weymann - Initial contribution
23  * @author Norbert Truchsess - edit and send of charge profile
24  */
25 public class Timer {
26     public int id = -1;// ": 1,
27     public String action;// ": "deactivate",
28     public Time timeStamp;
29     public List<String> timerWeekDays;
30
31     @Override
32     public String toString() {
33         return id + Constants.COLON + action + Constants.COLON + timeStamp + Constants.COLON + timerWeekDays;
34     }
35 }