Package io.openems.edge.common.channel
Class StateChannelDoc
java.lang.Object
io.openems.edge.common.channel.internal.AbstractDoc<T>
io.openems.edge.common.channel.internal.OpenemsTypeDoc<Boolean>
io.openems.edge.common.channel.BooleanDoc
io.openems.edge.common.channel.StateChannelDoc
- All Implemented Interfaces:
Doc
- Direct Known Subclasses:
ErrorDoc
-
Field Summary
Fields inherited from class io.openems.edge.common.channel.BooleanDoc
debounce, debounceMode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChannelInstance
(OpenemsComponent component, ChannelId channelId) Gets theChannelCategory
of the Channel of this Doc.getLevel()
protected StateChannelDoc
self()
Gets an instance of the correct subclass of myself.Methods inherited from class io.openems.edge.common.channel.BooleanDoc
debounce, getDebounce, getDebounceMode
Methods inherited from class io.openems.edge.common.channel.internal.OpenemsTypeDoc
accessMode, getUnit, of, unit
Methods inherited from class io.openems.edge.common.channel.internal.AbstractDoc
debug, getAccessMode, getInitialValue, getOnInitCallbacks, getPersistencePriority, getText, getType, initialValue, isDebug, onInit, persistencePriority, text
-
Constructor Details
-
StateChannelDoc
-
-
Method Details
-
getChannelCategory
Description copied from interface:Doc
Gets theChannelCategory
of the Channel of this Doc.- Specified by:
getChannelCategory
in interfaceDoc
- Overrides:
getChannelCategory
in classOpenemsTypeDoc<Boolean>
- Returns:
- the ChannelCategory
-
self
Description copied from class:AbstractDoc
Gets an instance of the correct subclass of myself.- Overrides:
self
in classBooleanDoc
- Returns:
- myself
-
getLevel
-
createChannelInstance
- Specified by:
createChannelInstance
in interfaceDoc
- Overrides:
createChannelInstance
in classBooleanDoc
- Parameters:
channelId
- the Channel-IDcomponent
- theOpenemsComponent
- Returns:
- the Channel
-