Package io.openems.edge.bridge.mbus.api
Enum BridgeMbus.ChannelId
- java.lang.Object
-
- java.lang.Enum<BridgeMbus.ChannelId>
-
- io.openems.edge.bridge.mbus.api.BridgeMbus.ChannelId
-
- All Implemented Interfaces:
ChannelId
,java.io.Serializable
,java.lang.Comparable<BridgeMbus.ChannelId>
- Enclosing interface:
- BridgeMbus
public static enum BridgeMbus.ChannelId extends java.lang.Enum<BridgeMbus.ChannelId> implements ChannelId
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CYCLE_TIME_IS_TOO_SHORT
EXECUTION_DURATION
SLAVE_COMMUNICATION_FAILED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doc
doc()
Gets the Channel Doc for this ChannelId.static BridgeMbus.ChannelId
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BridgeMbus.ChannelId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SLAVE_COMMUNICATION_FAILED
public static final BridgeMbus.ChannelId SLAVE_COMMUNICATION_FAILED
-
CYCLE_TIME_IS_TOO_SHORT
public static final BridgeMbus.ChannelId CYCLE_TIME_IS_TOO_SHORT
-
EXECUTION_DURATION
public static final BridgeMbus.ChannelId EXECUTION_DURATION
-
-
Method Detail
-
values
public static BridgeMbus.ChannelId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BridgeMbus.ChannelId c : BridgeMbus.ChannelId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BridgeMbus.ChannelId valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-