Package io.openems.common.types
Class EdgeConfig.Component.Channel.ChannelDetailState
java.lang.Object
io.openems.common.types.EdgeConfig.Component.Channel.ChannelDetailState
- All Implemented Interfaces:
EdgeConfig.Component.Channel.ChannelDetail
- Enclosing class:
- EdgeConfig.Component.Channel
public static class EdgeConfig.Component.Channel.ChannelDetailState
extends Object
implements EdgeConfig.Component.Channel.ChannelDetail
Channel-Details for StateChannel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theChannelCategory
of the Channel.getLevel()
Gets theLevel
of the StateChannel.com.google.gson.JsonObject
toJson()
Gets theEdgeConfig.Component.Channel.ChannelDetail
asJsonObject
.
-
Constructor Details
-
ChannelDetailState
-
-
Method Details
-
getLevel
Gets theLevel
of the StateChannel.- Returns:
- the
Level
-
getCategory
Description copied from interface:EdgeConfig.Component.Channel.ChannelDetail
Gets theChannelCategory
of the Channel.- Specified by:
getCategory
in interfaceEdgeConfig.Component.Channel.ChannelDetail
- Returns:
- the
ChannelCategory
-
toJson
public com.google.gson.JsonObject toJson()Description copied from interface:EdgeConfig.Component.Channel.ChannelDetail
Gets theEdgeConfig.Component.Channel.ChannelDetail
asJsonObject
.- Specified by:
toJson
in interfaceEdgeConfig.Component.Channel.ChannelDetail
- Returns:
- the
JsonObject
-