public static enum StUhf.InterrogatorModelC.UmcSession extends java.lang.Enum<StUhf.InterrogatorModelC.UmcSession>
枚举常量和说明 |
---|
S0
相当于18000-6c协议中Select命令中的Target字段为0
|
S1
相当于18000-6c协议中Select命令中的Target字段为1
|
S2
相当于18000-6c协议中Select命令中的Target字段为2
|
S3
相当于18000-6c协议中Select命令中的Target字段为3
|
限定符和类型 | 方法和说明 |
---|---|
protected byte |
getByte() |
protected static StUhf.InterrogatorModelC.UmcSession |
ValueOf(byte session) |
static StUhf.InterrogatorModelC.UmcSession |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static StUhf.InterrogatorModelC.UmcSession[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final StUhf.InterrogatorModelC.UmcSession S0
public static final StUhf.InterrogatorModelC.UmcSession S1
public static final StUhf.InterrogatorModelC.UmcSession S2
public static final StUhf.InterrogatorModelC.UmcSession S3
public static StUhf.InterrogatorModelC.UmcSession[] values()
for (StUhf.InterrogatorModelC.UmcSession c : StUhf.InterrogatorModelC.UmcSession.values()) System.out.println(c);
public static StUhf.InterrogatorModelC.UmcSession valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值protected byte getByte()
protected static StUhf.InterrogatorModelC.UmcSession ValueOf(byte session)