Enum SunSpecPoint.PointType
- java.lang.Object
-
- java.lang.Enum<SunSpecPoint.PointType>
-
- io.openems.edge.bridge.modbus.sunspec.SunSpecPoint.PointType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SunSpecPoint.PointType>
- Enclosing interface:
- SunSpecPoint
public static enum SunSpecPoint.PointType extends java.lang.Enum<SunSpecPoint.PointType>
-
-
Field Summary
Fields Modifier and Type Field Description int
length
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isDefined(SunSpecPoint.PointType type, java.lang.Object value)
Returns true if the value represents a 'defined' value in SunSpec.static SunSpecPoint.PointType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SunSpecPoint.PointType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT16
public static final SunSpecPoint.PointType INT16
-
UINT16
public static final SunSpecPoint.PointType UINT16
-
COUNT
public static final SunSpecPoint.PointType COUNT
-
ACC16
public static final SunSpecPoint.PointType ACC16
-
INT32
public static final SunSpecPoint.PointType INT32
-
UINT32
public static final SunSpecPoint.PointType UINT32
-
FLOAT32
public static final SunSpecPoint.PointType FLOAT32
-
ACC32
public static final SunSpecPoint.PointType ACC32
-
INT64
public static final SunSpecPoint.PointType INT64
-
UINT64
public static final SunSpecPoint.PointType UINT64
-
FLOAT64
public static final SunSpecPoint.PointType FLOAT64
-
ACC64
public static final SunSpecPoint.PointType ACC64
-
ENUM16
public static final SunSpecPoint.PointType ENUM16
-
ENUM32
public static final SunSpecPoint.PointType ENUM32
-
BITFIELD16
public static final SunSpecPoint.PointType BITFIELD16
-
BITFIELD32
public static final SunSpecPoint.PointType BITFIELD32
-
SUNSSF
public static final SunSpecPoint.PointType SUNSSF
-
STRING2
public static final SunSpecPoint.PointType STRING2
-
STRING4
public static final SunSpecPoint.PointType STRING4
-
STRING5
public static final SunSpecPoint.PointType STRING5
-
STRING6
public static final SunSpecPoint.PointType STRING6
-
STRING7
public static final SunSpecPoint.PointType STRING7
-
STRING8
public static final SunSpecPoint.PointType STRING8
-
STRING12
public static final SunSpecPoint.PointType STRING12
-
STRING16
public static final SunSpecPoint.PointType STRING16
-
STRING20
public static final SunSpecPoint.PointType STRING20
-
STRING25
public static final SunSpecPoint.PointType STRING25
-
PAD
public static final SunSpecPoint.PointType PAD
-
IPADDR
public static final SunSpecPoint.PointType IPADDR
-
IPV6ADDR
public static final SunSpecPoint.PointType IPV6ADDR
-
EUI48
public static final SunSpecPoint.PointType EUI48
-
-
Method Detail
-
values
public static SunSpecPoint.PointType[] 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 (SunSpecPoint.PointType c : SunSpecPoint.PointType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SunSpecPoint.PointType 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
-
isDefined
public static boolean isDefined(SunSpecPoint.PointType type, java.lang.Object value)
Returns true if the value represents a 'defined' value in SunSpec.- Parameters:
type
- the PointTypevalue
- the value- Returns:
- true for defined values
-
-