Package io.openems.edge.common.channel
Class ShortDoc
java.lang.Object
io.openems.edge.common.channel.internal.AbstractDoc<T>
io.openems.edge.common.channel.internal.OpenemsTypeDoc<Short>
io.openems.edge.common.channel.ShortDoc
- All Implemented Interfaces:
Doc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChannelInstance
(OpenemsComponent component, ChannelId channelId) Creates an instance ofChannel
for the given Channel-ID using its Channel-AbstractDoc
.protected ShortDoc
self()
Gets an instance of the correct subclass of myself.Methods inherited from class io.openems.edge.common.channel.internal.OpenemsTypeDoc
accessMode, getChannelCategory, getUnit, of, unit
Methods inherited from class io.openems.edge.common.channel.internal.AbstractDoc
debug, getAccessMode, getInitialValue, getOnInitCallbacks, getPersistencePriority, getText, getType, initialValue, isDebug, onChannelChange, onChannelChange, onChannelSetNextValue, onChannelSetNextWrite, onChannelSetNextWriteMirrorToDebugChannel, onChannelUpdate, onInit, persistencePriority, text
-
Constructor Details
-
ShortDoc
public ShortDoc()
-
-
Method Details
-
self
Description copied from class:AbstractDoc
Gets an instance of the correct subclass of myself.- Specified by:
self
in classAbstractDoc<Short>
- Returns:
- myself
-
createChannelInstance
Description copied from class:AbstractDoc
Creates an instance ofChannel
for the given Channel-ID using its Channel-AbstractDoc
.- Specified by:
createChannelInstance
in interfaceDoc
- Specified by:
createChannelInstance
in classAbstractDoc<Short>
- Parameters:
component
- theOpenemsComponent
channelId
- theChannelId
- Returns:
- the Channel
-