2 #ifndef CARMA_MONITOR_PHYSICALDEVICE_H
3 #define CARMA_MONITOR_PHYSICALDEVICE_H
75 LOBEROTATOR_CONTROLLER,
113 WB_DOWNCONVERTER128 = WB_DOWNCONVERTER1 +127,
129 SL_DOWNCONVERTER120 = SL_DOWNCONVERTER1 +119,
223 ENVIRONMENTAL_MONITOR,
228 LOREF_DISTRIBUTION_BOX1,
229 LOREF_DISTRIBUTION_BOX2,
230 LOREF_DISTRIBUTION_BOX3,
234 LL_OPTICAL_RXTX_BOX1,
235 LL_OPTICAL_RXTX_BOX2,
236 LL_OPTICAL_RXTX_BOX3,
240 RX_TEMPERATURE_CONTROL,
245 BLOCK_DOWNCONVERTER1,
246 BLOCK_DOWNCONVERTER2,
247 BLOCK_DOWNCONVERTER3,
248 BLOCK_DOWNCONVERTER4,
249 BLOCK_DOWNCONVERTER5,
250 BLOCK_DOWNCONVERTER6,
251 BLOCK_DOWNCONVERTER7,
252 BLOCK_DOWNCONVERTER8,
253 BLOCK_DOWNCONVERTER9,
254 BLOCK_DOWNCONVERTER10,
255 BLOCK_DOWNCONVERTER11,
256 BLOCK_DOWNCONVERTER12,
257 BLOCK_DOWNCONVERTER13,
258 BLOCK_DOWNCONVERTER14,
259 BLOCK_DOWNCONVERTER15,
383 std::string deviceString_[NUM_DEVICES];
384 std::string locationString_[NUM_LOCATIONS];
390 static const Strings& strings();
396 #endif // CARMA_MONITOR_PHYSICALDEVICE_H
PhysicalDevice()
Constructor.
static LOCATION getOvroAntenna(int antennaNo)
Get the locationID for an Ovro antenna.
std::string getLocationString() const
Get a location string for this physical device.
std::string getDeviceString() const
Get a device string for this physical device.
static DEVICE getWbdcModule(int bandIndex, int inputIndex)
Get the deviceID for a wideband downconverter module.
DEVICE getDevice() const
Get the deviceID for this device.
static std::string toStringAll()
Get all the location and device strings - for debugging.
void setDevice(DEVICE deviceID)
Set the deviceID for this device.
static DEVICE getSldcModule(int bandIndex, int inputIndex)
Get the deviceID for a spectral line downconverter module.
~PhysicalDevice()
Destructor.
std::string toString() const
Get the location.device string for this device.
void setLocation(LOCATION locationID)
Set the locationID for this device.
static LOCATION getSzaAntenna(int antennaNo)
Get the locationID for an Sza antenna.
A monitor system physical device, used in the construction of monitor points and containers that are ...
static LOCATION getBimaAntenna(int antennaNo)
Get the locationID for a Bima antenna.
LOCATION getLocation() const
Get the locationID for this device.