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<java.lang.Short>
-
- io.openems.edge.common.channel.ShortDoc
-
- All Implemented Interfaces:
Doc
public class ShortDoc extends OpenemsTypeDoc<java.lang.Short>
-
-
Constructor Summary
Constructors Constructor Description ShortDoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortReadChannel
createChannelInstance(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, onInit, persistencePriority, text
-
-
-
-
Method Detail
-
self
protected ShortDoc self()
Description copied from class:AbstractDoc
Gets an instance of the correct subclass of myself.- Specified by:
self
in classAbstractDoc<java.lang.Short>
- Returns:
- myself
-
createChannelInstance
public ShortReadChannel createChannelInstance(OpenemsComponent component, ChannelId channelId)
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<java.lang.Short>
- Parameters:
component
- theOpenemsComponent
channelId
- theChannelId
- Returns:
- the Channel
-
-