public enum OPCSERVERSTATE extends Enum<OPCSERVERSTATE>
| Enum Constant and Description |
|---|
OPC_STATUS_COMM_FAULT |
OPC_STATUS_FAILED |
OPC_STATUS_NOCONFIG |
OPC_STATUS_RUNNING |
OPC_STATUS_SUSPENDED |
OPC_STATUS_TEST |
OPC_STATUS_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static OPCSERVERSTATE |
fromID(int id) |
int |
id() |
static OPCSERVERSTATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OPCSERVERSTATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OPCSERVERSTATE OPC_STATUS_RUNNING
public static final OPCSERVERSTATE OPC_STATUS_FAILED
public static final OPCSERVERSTATE OPC_STATUS_NOCONFIG
public static final OPCSERVERSTATE OPC_STATUS_SUSPENDED
public static final OPCSERVERSTATE OPC_STATUS_TEST
public static final OPCSERVERSTATE OPC_STATUS_COMM_FAULT
public static final OPCSERVERSTATE OPC_STATUS_UNKNOWN
public static OPCSERVERSTATE[] values()
for (OPCSERVERSTATE c : OPCSERVERSTATE.values()) System.out.println(c);
public static OPCSERVERSTATE valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int id()
public static OPCSERVERSTATE fromID(int id)
Copyright © 2017 LSST. All rights reserved.