Class IoShelly25Impl
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.io.shelly.shelly25.IoShelly25Impl
- All Implemented Interfaces:
OpenemsComponent
,DigitalOutput
,IoShelly25
,org.osgi.service.event.EventHandler
public class IoShelly25Impl
extends AbstractOpenemsComponent
implements IoShelly25, DigitalOutput, OpenemsComponent, org.osgi.service.event.EventHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.io.api.DigitalOutput
DigitalOutput.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.io.shelly.shelly25.IoShelly25
IoShelly25.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Handles @Deactivate of implementations.debugLog()
Gets some output that is suitable for a continuous Debug log.Gets all Output Channels.void
handleEvent
(org.osgi.service.event.Event event) Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, activate, addChannel, addChannels, addChannels, alias, channels, 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.io.shelly.shelly25.IoShelly25
_setRelay1, _setRelay2, _setSlaveCommunicationFailed, getRelay1, getRelay1Channel, getRelay2, getRelay2Channel, getSlaveCommunicationFailed, getSlaveCommunicationFailedChannel, setRelay1, setRelay2
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Constructor Details
-
IoShelly25Impl
public IoShelly25Impl()
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
digitalOutputChannels
Description copied from interface:DigitalOutput
Gets all Output Channels.- Specified by:
digitalOutputChannels
in interfaceDigitalOutput
- Returns:
- an array of Channels
-
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
-
handleEvent
public void handleEvent(org.osgi.service.event.Event event) - Specified by:
handleEvent
in interfaceorg.osgi.service.event.EventHandler
-