| Modifier and Type | Method and Description |
|---|---|
DataChannel |
ChannelDatum.getChannel()
Gets which channel the data value came from.
|
static DataChannel |
DataChannel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataChannel[] |
DataChannel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelType |
Hardware.readChannelType(DataChannel chan)
Reads the data type registers for a data channel of the current record.
|
ChannelType |
ASCIIModbus.readChannelType(DataChannel chan)
Reads the data type registers for a data channel of the current record.
|
ChannelUnits |
Hardware.readChannelUnits(DataChannel chan)
Reads the units registers for a data channel of the current record.
|
ChannelUnits |
ASCIIModbus.readChannelUnits(DataChannel chan)
Reads the units registers for a data channel of the current record.
|
double |
Hardware.readChannelValue(DataChannel chan)
Reads the value registers for a data channel of the current record.
|
double |
ASCIIModbus.readChannelValue(DataChannel chan)
Reads the value registers for a data channel of the current record.
|
| Constructor and Description |
|---|
ChannelDatum(DataChannel channel,
double value)
Constructs an instance from the field values.
|
Copyright © 2016 LSST. All rights reserved.