]> git.basschouten.com Git - openhab-addons.git/blob
aa65bf1db45bcc479269ca8e5746ce848d4fd8fb
[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 powermeter connected via S0 bus.
20  *
21  * This fields have been identified to exist:
22  * com.kiwigrid.devices.s0counter.S0Counter=[
23  * SettingRateImpulses,
24  * CountPulses
25  * ]
26  * 
27  * @author Sven Carstens - Initial contribution
28  */
29 @NonNullByDefault
30 public class S0Counter extends PowerMeter {
31     public static final String SOLAR_WATT_CLASSNAME = "com.kiwigrid.devices.s0counter.S0Counter";
32
33     public S0Counter(DeviceDTO deviceDTO) {
34         super(deviceDTO);
35     }
36
37     @Override
38     protected String getSolarWattLabel() {
39         return "S0Counter";
40     }
41 }