Interface BridgeModbusSerial
-
- All Superinterfaces:
BridgeModbus
,OpenemsComponent
- All Known Implementing Classes:
BridgeModbusSerialImpl
@ProviderType public interface BridgeModbusSerial extends BridgeModbus
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BridgeModbusSerial.ChannelId
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBaudrate()
Gets the Baudrate (e.g.int
getDatabits()
Gets the Databits (e.g.Parity
getParity()
Gets the Parity.java.lang.String
getPortName()
Gets the Port-Name (e.g.Stopbit
getStopbits()
Gets the Stopbits.-
Methods inherited from interface io.openems.edge.bridge.modbus.api.BridgeModbus
_setCycleTimeIsTooShort, _setExecutionDuration, addProtocol, getCycleTimeIsTooShort, getCycleTimeIsTooShortChannel, getExecutionDuration, getExecutionDurationChannel, removeProtocol
-
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
-
-
-
-
Method Detail
-
getPortName
java.lang.String getPortName()
Gets the Port-Name (e.g. '/dev/ttyUSB0' or 'COM3').- Returns:
- the Port-Name
-
getBaudrate
int getBaudrate()
Gets the Baudrate (e.g. 9600).- Returns:
- the Baudrate
-
getDatabits
int getDatabits()
Gets the Databits (e.g. 8).- Returns:
- the Databits
-
getStopbits
Stopbit getStopbits()
Gets the Stopbits.- Returns:
- the Stopbits
-
getParity
Parity getParity()
Gets the Parity.- Returns:
- the Parity.
-
-