]> git.basschouten.com Git - openhab-addons.git/blob
e09be5c6bc111c9f2b6ae8f601392da609dda29b
[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.solarwatt.internal.domain.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.solarwatt.internal.domain.dto.DeviceDTO;
17
18 /**
19  * Specialised class for the MyReserve battery.
20  *
21  * The MyReserve also contains {@link MyReservePowerMeter} and {@link MyReserveInverter}.
22  *
23  * No additional fields where found.
24  * com.kiwigrid.devices.solarwatt.MyReserve=[]
25  *
26  * @author Sven Carstens - Initial contribution
27  */
28 @NonNullByDefault
29 public class MyReserve extends BatteryConverter {
30     public static final String SOLAR_WATT_CLASSNAME = "com.kiwigrid.devices.solarwatt.MyReserve";
31
32     public MyReserve(DeviceDTO deviceDTO) {
33         super(deviceDTO);
34     }
35
36     @Override
37     protected String getSolarWattLabel() {
38         return "BatteryConverter";
39     }
40 }