Interface Sensor
-
- All Known Subinterfaces:
SimpleSensor
- All Known Implementing Classes:
AbstractSensor
,AbstractSimpleSensor
,Default
,DHT11
,Hygrometer
,Thermometer
public interface Sensor extends Device
Interface enables multiple DataFeeds, but preserves single identification parameters for Device. Therefore it needs several different DataFeeds, where values are generated simultaneously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDataFeed(DataFeed dataFeed)
Adds DataFeed to CompositionList<DataFeed>
getDataFeeds()
Returns list of all DataFeeds for Compositionvoid
removeDataFeed(DataFeed dataFeed)
Removes DataFeed from Composition-
Methods inherited from interface io.patriot_framework.generator.device.Device
getCoapController, getDataObservable, getNetworkAdapter, requestData, setCoapController, setDataObservable, setNetworkAdapter, startCoapController, stopCoapController
-
-