Package io.openems.edge.common.meta
Interface Meta
- All Superinterfaces:
ModbusSlave
,OpenemsComponent
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setCurrency
(Currency value) Internal method to set the 'nextValue' onMeta.ChannelId.CURRENCY
Channel.default Currency
Gets the Currency.default EnumReadChannel
Gets the Channel forMeta.ChannelId.CURRENCY
.static ModbusSlaveTable
getModbusSlaveTable
(AccessMode accessMode, OpenemsEdgeOem oem) Provides a default implementation forModbusSlave.getModbusSlaveTable(AccessMode)
.Methods inherited from interface io.openems.edge.common.modbusslave.ModbusSlave
getModbusSlaveTable
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Field Details
-
SINGLETON_SERVICE_PID
- See Also:
-
SINGLETON_COMPONENT_ID
- See Also:
-
-
Method Details
-
getModbusSlaveTable
Provides a default implementation forModbusSlave.getModbusSlaveTable(AccessMode)
.- Parameters:
accessMode
- theAccessMode
oem
- theOpenemsEdgeOem
- Returns:
- the
ModbusSlaveNatureTable
-
getCurrencyChannel
Gets the Channel forMeta.ChannelId.CURRENCY
.- Returns:
- the Channel
-
getCurrency
Gets the Currency. SeeMeta.ChannelId.CURRENCY
.- Returns:
- the Channel
Value
-
_setCurrency
Internal method to set the 'nextValue' onMeta.ChannelId.CURRENCY
Channel.- Parameters:
value
- the next value
-