Package io.openems.edge.simulator.io
Class DigitalInputOutput
- java.lang.Object
-
- io.openems.edge.common.component.AbstractOpenemsComponent
-
- io.openems.edge.simulator.io.DigitalInputOutput
-
- All Implemented Interfaces:
OpenemsComponent
,DigitalInput
,DigitalOutput
public class DigitalInputOutput extends AbstractOpenemsComponent implements DigitalInput, DigitalOutput, OpenemsComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.openems.edge.io.api.DigitalInput
DigitalInput.ChannelId
-
Nested classes/interfaces inherited from interface io.openems.edge.io.api.DigitalOutput
DigitalOutput.ChannelId
-
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHANNEL_NAME
-
Constructor Summary
Constructors Constructor Description DigitalInputOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
debugLog()
Gets some output that is suitable for a continuous Debug log.BooleanReadChannel[]
digitalInputChannels()
Gets all Output Channels.BooleanWriteChannel[]
digitalOutputChannels()
Gets all Output Channels.-
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, activate, addChannel, addChannels, addChannels, alias, channels, deactivate, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
-
-
-
Field Detail
-
CHANNEL_NAME
public static final java.lang.String CHANNEL_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
digitalInputChannels
public BooleanReadChannel[] digitalInputChannels()
Description copied from interface:DigitalInput
Gets all Output Channels.- Specified by:
digitalInputChannels
in interfaceDigitalInput
- Returns:
- array of
BooleanReadChannel
-
digitalOutputChannels
public BooleanWriteChannel[] digitalOutputChannels()
Description copied from interface:DigitalOutput
Gets all Output Channels.- Specified by:
digitalOutputChannels
in interfaceDigitalOutput
- Returns:
- an array of Channels
-
debugLog
public java.lang.String debugLog()
Description copied from interface:OpenemsComponent
Gets some output that is suitable for a continuous Debug log. Returns 'null' by default which causes no output.- Specified by:
debugLog
in interfaceOpenemsComponent
- Returns:
- the debug log output
-
-