public class ShellyPlugImpl extends AbstractOpenemsComponent implements ShellyPlug, DigitalOutput, OpenemsComponent, org.osgi.service.event.EventHandler
ShellyPlug.ChannelId
Constructor and Description |
---|
ShellyPlugImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
deactivate()
Handles @Deactivate of implementations.
|
java.lang.String |
debugLog()
Gets some output that is suitable for a continuous Debug log.
|
BooleanWriteChannel[] |
digitalOutputChannels()
Gets all Output Channels.
|
void |
handleEvent(org.osgi.service.event.Event event) |
_channel, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_setActivePower, _setActivePower, _setRelay, _setSlaveCommunicationFailed, getActivePower, getActivePowerChannel, getRelay, getRelayChannel, getSlaveCommunicationFailed, getSlaveCommunicationFailedChannel, setRelay
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getModbusSlaveNatureTable, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
protected void deactivate()
AbstractOpenemsComponent
deactivate
in class AbstractOpenemsComponent
public BooleanWriteChannel[] digitalOutputChannels()
DigitalOutput
digitalOutputChannels
in interface DigitalOutput
public java.lang.String debugLog()
OpenemsComponent
debugLog
in interface OpenemsComponent
public void handleEvent(org.osgi.service.event.Event event)
handleEvent
in interface org.osgi.service.event.EventHandler