public class CCOBMainModule extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
static org.lsst.ccs.utilities.logging.Logger |
ccobLog |
| Constructor and Description |
|---|
CCOBMainModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeShutter()
Close the shutter.
|
org.lsst.ccs.drivers.ccob.CCOBDataRead |
getADCValues()
Gets the ADC values.
|
CCOBFullState |
getFullState()
Gets the full state of the CCOB module.
|
void |
openShutter()
Open the shutter.
|
void |
postInit() |
void |
postStart() |
double |
readTemperature()
Read temperature on the thermometer and returns its values in decimal format.
|
void |
setUpdatePeriod(int value)
Sets the update period.
|
void |
takeImage()
Take an image.
|
void |
turnOffLed()
Turn Off the led.
|
void |
turnOnLed()
Turn On the led.
|
public void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY,
description="Get the full AuxTest state")
public CCOBFullState getFullState()
@Command(type=ACTION,
description="Set the update interval")
public void setUpdatePeriod(@Argument(description="The tick period (ms)")
int value)
value - The update period (milliseconds) to set.@Command
public org.lsst.ccs.drivers.ccob.CCOBDataRead getADCValues()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
level=1,
description="Turn On the led.")
public void turnOnLed()
@Command(type=ACTION,
level=1,
description="Turn Off the led.")
public void turnOffLed()
@Command(type=ACTION,
level=1,
description="Open the shutter.")
public void openShutter()
@Command(type=ACTION,
level=1,
description="Close the shutter.")
public void closeShutter()
@Command(type=ACTION,
level=1,
description="Take an image.")
public void takeImage()
@Command(type=QUERY,
level=1,
description="Read temperature on the gauge and returns its values in decimal format.")
public double readTemperature()
Copyright © 2018 LSST. All rights reserved.