Package io.openems.edge.io.test
Class DummyInputOutput
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.io.test.DummyInputOutput
- All Implemented Interfaces:
OpenemsComponent
,DigitalInput
,DigitalOutput
public class DummyInputOutput
extends AbstractOpenemsComponent
implements DigitalInput, DigitalOutput
Provides a simple, simulated Digital Input/Output component that can be used
together with the OpenEMS Component test framework.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all Output Channels.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, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Constructor Details
-
DummyInputOutput
-
-
Method Details
-
digitalOutputChannels
Description copied from interface:DigitalOutput
Gets all Output Channels.- Specified by:
digitalOutputChannels
in interfaceDigitalOutput
- Returns:
- an array of Channels
-
digitalInputChannels
Description copied from interface:DigitalInput
Gets all Output Channels.- Specified by:
digitalInputChannels
in interfaceDigitalInput
- Returns:
- array of
BooleanReadChannel
-