public enum EDataVariableType extends Enum<EDataVariableType>
| 枚举常量和说明 |
|---|
BIT
bit access, len is in bits
|
BYTE_WORD_DWORD
byte/word/dword access, len is in bits
|
DINTEGER
integer access, len is in bytes
|
INTEGER
integer access, len is in bits
|
NULL
无
|
OCTET_STRING
octet string, len is in bytes
|
REAL
real access, len is in bytes
|
| 限定符和类型 | 方法和说明 |
|---|---|
static EDataVariableType |
from(byte data) |
byte |
getCode() |
static EDataVariableType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EDataVariableType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EDataVariableType NULL
public static final EDataVariableType BIT
public static final EDataVariableType BYTE_WORD_DWORD
public static final EDataVariableType INTEGER
public static final EDataVariableType DINTEGER
public static final EDataVariableType REAL
public static final EDataVariableType OCTET_STRING
public static EDataVariableType[] values()
for (EDataVariableType c : EDataVariableType.values()) System.out.println(c);
public static EDataVariableType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static EDataVariableType from(byte data)
public byte getCode()
Copyright © 2024. All rights reserved.