| Modifier and Type | Field and Description |
|---|---|
static DataChannel |
DataChannel.FIRST_ANALOG_CHANNEL
The analog channel with the lowest channel index.
|
| Modifier and Type | Method and Description |
|---|---|
DataChannel |
ChannelDatum.getChannel()
Gets which channel the data value came from.
|
static DataChannel |
DataChannel.parse(String name)
Converts a string to a DataChannel.
|
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 |
|---|---|
boolean |
Hardware.alarmIsEnabled(DataChannel chan)
Gets the alarm enable status for a particle channel.
|
boolean |
ASCIIModbus.alarmIsEnabled(DataChannel chan)
Gets the alarm enable status for a particle channel.
|
boolean |
LighthouseClient.alarmIsEnabled(DataChannel chan)
Gets the alarm enable status for a particle channel.
|
boolean |
Hardware.channelIsEnabled(DataChannel chan)
Checks whether the given data channel is enabled.
|
boolean |
ASCIIModbus.channelIsEnabled(DataChannel chan)
Checks whether the given data channel is enabled.
|
long |
Hardware.getAlarmThreshold(DataChannel chan)
Gets the current alarm threshold for a particle channel.
|
long |
ASCIIModbus.getAlarmThreshold(DataChannel chan)
Gets the current alarm threshold for a particle channel.
|
long |
LighthouseClient.getAlarmThreshold(DataChannel chan)
Gets the current alarm threshold for a particle channel.
|
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.
|
void |
Hardware.setAlarmEnable(DataChannel chan,
boolean on)
Enables or disables the alarm for a particle channel.
|
void |
ASCIIModbus.setAlarmEnable(DataChannel chan,
boolean on)
Enables or disables the alarm for a particle channel.
|
void |
LighthouseClient.setAlarmEnable(DataChannel chan,
boolean on)
Enables or disables the alarm for a particle channel.
|
void |
Hardware.setAlarmThreshold(DataChannel chan,
long threshold)
Sets the particle count alarm threshold for a particle channel but doesn't
change the alarm enable status.
|
void |
ASCIIModbus.setAlarmThreshold(DataChannel chan,
long threshold)
Sets the particle count alarm threshold for a particle channel but doesn't
change the alarm enable status.
|
void |
LighthouseClient.setAlarmThreshold(DataChannel chan,
long threshold)
Sets the particle count alarm threshold for a particle channel but doesn't
change the alarm enable status.
|
| Constructor and Description |
|---|
ChannelDatum(DataChannel channel,
double value)
Constructs an instance from the field values.
|
Copyright © 2018 LSST. All rights reserved.