Package io.openems.edge.common.channel
Class BooleanReadChannel
java.lang.Object
io.openems.edge.common.channel.internal.AbstractReadChannel<OpenemsTypeDoc<Boolean>,Boolean>
io.openems.edge.common.channel.BooleanReadChannel
- Direct Known Subclasses:
BooleanWriteChannel
,StateChannel
-
Field Summary
Fields inherited from class io.openems.edge.common.channel.internal.AbstractReadChannel
parent
Fields inherited from interface io.openems.edge.common.channel.Channel
NO_OF_PAST_VALUES
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BooleanReadChannel
(OpenemsComponent component, ChannelId channelId, BooleanDoc channelDoc) protected
BooleanReadChannel
(OpenemsComponent component, ChannelId channelId, BooleanDoc channelDoc, int debounce, Debounce debounceMode) -
Method Summary
Methods inherited from class io.openems.edge.common.channel.internal.AbstractReadChannel
address, channelDoc, channelId, deactivate, getComponent, getMetaInfo, getNextValue, getOnSetNextWrites, getPastValues, getType, nextProcessImage, onChange, onSetNextValue, onUpdate, removeOnChangeCallback, removeOnSetNextValueCallback, removeOnUpdateCallback, setMetaInfo, toString, value
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.openems.edge.common.channel.Channel
setNextValue
-
Constructor Details
-
BooleanReadChannel
protected BooleanReadChannel(OpenemsComponent component, ChannelId channelId, BooleanDoc channelDoc, int debounce, Debounce debounceMode) -
BooleanReadChannel
protected BooleanReadChannel(OpenemsComponent component, ChannelId channelId, BooleanDoc channelDoc)
-
-
Method Details
-
_setNextValue
Description copied from class:AbstractReadChannel
Sets the next value. Internal method. Do not call directly.- Specified by:
_setNextValue
in interfaceChannel<Boolean>
- Overrides:
_setNextValue
in classAbstractReadChannel<OpenemsTypeDoc<Boolean>,
Boolean> - Parameters:
value
- the next value
-