Interface SimulatorDatasource

    • Method Detail

      • getKeys

        java.util.Set<java.lang.String> 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

        <T> T getValue​(OpenemsType type,
                       ChannelAddress channelAddress)
        Gets the value for the given key (channelId) in the given type.
        Type Parameters:
        T - the type
        Parameters:
        type - the expected type
        channelAddress - the Channel-Address
        Returns:
        the value, possibly null