]> git.basschouten.com Git - openhab-addons.git/blob
18f720106e512b1f4bd46ae3ffc1c8417cdb71e7
[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 inverters adhering to the sunspec modbus protocol.
20  *
21  * This fields have been identified to exist:
22  * com.kiwigrid.devices.sunspec.SunSpecInverter=[
23  * IdSunSpecBlocks
24  * ]
25  *
26  * @author Sven Carstens - Initial contribution
27  */
28 @NonNullByDefault
29 public class SunSpecInverter extends Inverter {
30     public static final String SOLAR_WATT_CLASSNAME = "com.kiwigrid.devices.sunspec.SunSpecInverter";
31
32     public SunSpecInverter(DeviceDTO deviceDTO) {
33         super(deviceDTO);
34     }
35
36     @Override
37     protected String getSolarWattLabel() {
38         return "SunSpecInverter";
39     }
40 }