public enum Quality extends Enum<Quality>
| Enum Constant and Description |
|---|
BAD
Known to be bad.
|
GOOD
Known to be good.
|
ILLEGAL_QUALITY
An illegal quality code was returned from the server.
|
UNCERTAIN
Possibly bad but can't tell for various reasons.
|
| Modifier and Type | Method and Description |
|---|---|
static Quality |
fromQualityCode(int qcode)
Determines the overall quality from the 16-bit raw OPC quality code.
|
static Quality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quality BAD
public static final Quality UNCERTAIN
public static final Quality GOOD
public static final Quality ILLEGAL_QUALITY
public static Quality[] values()
for (Quality c : Quality.values()) System.out.println(c);
public static Quality 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 static Quality fromQualityCode(int qcode)
qcode - The raw quality code.Copyright © 2017 LSST. All rights reserved.