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 java.lang.Object implements EdgeConfig.Component.Channel.ChannelDetail
Channel-Details for StateChannel.
-
-
Constructor Summary
Constructors Constructor Description ChannelDetailState(Level level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelCategory
getCategory()
Gets theChannelCategory
of the Channel.Level
getLevel()
Gets theLevel
of the StateChannel.com.google.gson.JsonObject
toJson()
Gets theEdgeConfig.Component.Channel.ChannelDetail
asJsonObject
.
-
-
-
Constructor Detail
-
ChannelDetailState
public ChannelDetailState(Level level)
-
-
Method Detail
-
getCategory
public ChannelCategory 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
-
-