2 * Copyright (c) 2010-2022 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.solarwatt.internal.domain.model;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.solarwatt.internal.domain.dto.DeviceDTO;
19 * Class for the weather forecast used by the energy manager to predict the produced power
20 * and plan the battery charging.
22 * This fields have been identified to exist:
23 * com.solarwatt.devices.forecast.Forecast=[
25 * DiffuseCorrectionFactors,
26 * DateNextYieldTrendScheduler,
27 * ModePreventPVForecast,
30 * DateNextConsumptionTrendScheduler,
31 * DateNextFactorScheduler,
36 * @author Sven Carstens - Initial contribution
39 public class Forecast extends Device {
40 public static final String SOLAR_WATT_CLASSNAME = "com.solarwatt.devices.forecast.Forecast";
42 public Forecast(DeviceDTO deviceDTO) {
47 protected String getSolarWattLabel() {