]> git.basschouten.com Git - openhab-addons.git/blob
52f1fcbfbb87b16eef9e3319d67a9e0555f94ca7
[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  * Class for the weather forecast used by the energy manager to predict the produced power
20  * and plan the battery charging.
21  *
22  * This fields have been identified to exist:
23  * com.solarwatt.devices.forecast.Forecast=[
24  * CorrectionFactors,
25  * DiffuseCorrectionFactors,
26  * DateNextYieldTrendScheduler,
27  * ModePreventPVForecast,
28  * WeatherForecast,
29  * ForecastProperties,
30  * DateNextConsumptionTrendScheduler,
31  * DateNextFactorScheduler,
32  * WeatherAPIKey,
33  * WeatherHistory
34  * ]
35  *
36  * @author Sven Carstens - Initial contribution
37  */
38 @NonNullByDefault
39 public class Forecast extends Device {
40     public static final String SOLAR_WATT_CLASSNAME = "com.solarwatt.devices.forecast.Forecast";
41
42     public Forecast(DeviceDTO deviceDTO) {
43         super(deviceDTO);
44     }
45
46     @Override
47     protected String getSolarWattLabel() {
48         return "Forecast";
49     }
50 }