]> git.basschouten.com Git - openhab-addons.git/blob
d04e87acede569ea9c452fa2f51b511a03e694f8
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.ambientweather.internal.processor;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.ambientweather.internal.handler.AmbientWeatherStationHandler;
17
18 /**
19  * The {@link ProcessorInterface} is responsible for
20  *
21  * @author Mark Hilbush - Initial contribution
22  */
23 @NonNullByDefault
24 public interface ProcessorInterface {
25     /*
26      * Set the channel group Id for the station
27      */
28     public void setChannelGroupId();
29
30     /*
31      * Set the number of remote sensors supported by the station
32      */
33     public void setNumberOfSensors();
34
35     /*
36      * Updates the info channels (i.e. name and location) for a station
37      */
38     public void processInfoUpdate(AmbientWeatherStationHandler handler, String station, String name, String location);
39
40     /*
41      * Updates the weather data channels for a station
42      */
43     public void processWeatherData(AmbientWeatherStationHandler handler, String station, String jsonData);
44 }