public final class InstrumentConfig extends Object
type field is
interpreted by AirwatchMain. The other fields are used by the implementations of
Instrument.| Modifier and Type | Field and Description |
|---|---|
org.lsst.ccs.services.alert.AlertService |
alertService
Grants access to the CCS alert service.
|
String |
conn
The information needed to open a connection to an instrument.
|
int |
index
The position of the configuration in the list, counting from zero.
|
String |
loc
The current location being monitored by the instrument.
|
LocalConfigService |
localConfig
Grants access to the configuration info that doesn't fit the general pattern.
|
String |
shortName
The "short name" assigned to the instrument location.
|
InstrumentType |
type
The make and/or model of the instrument.
|
boolean |
working
Is the instrument present and operational?
|
| Constructor and Description |
|---|
InstrumentConfig(int index,
InstrumentType type,
String conn,
String loc,
String shortName,
boolean working,
LocalConfigService localConfig,
org.lsst.ccs.services.alert.AlertService alertService) |
public final int index
public final InstrumentType type
public final String conn
public final String loc
public final String shortName
public final boolean working
public final LocalConfigService localConfig
public final org.lsst.ccs.services.alert.AlertService alertService
public InstrumentConfig(int index,
InstrumentType type,
String conn,
String loc,
String shortName,
boolean working,
LocalConfigService localConfig,
org.lsst.ccs.services.alert.AlertService alertService)
Copyright © 2021 LSST. All rights reserved.