Interface SimulatorDatasource
- All Known Implementing Classes:
AbstractCsvDatasource
,CsvDatasourceDirect
,CsvDatasourcePredefined
,SimulatorApp
,SingleDatasourceDirect
public interface SimulatorDatasource
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
Gets the available keys.int
Returns the delta between two values in seconds.<T> T
getValue
(OpenemsType type, ChannelAddress channelAddress) Gets the value for the given key (channelId) in the given type.
-
Method Details
-
getKeys
Gets the available keys.- Returns:
- the Channel-Id
-
getTimeDelta
int getTimeDelta()Returns the delta between two values in seconds.- Returns:
- the delta in seconds
-
getValue
Gets the value for the given key (channelId) in the given type.- Type Parameters:
T
- the type- Parameters:
type
- the expected typechannelAddress
- the Channel-Address- Returns:
- the value, possibly null
-