
public class ATSPower extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
ATSPower() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Power subsystem initialization
|
ATSPowerFullState |
getFullState()
Gets the full power state.
|
List<PowerChanState> |
getPowerState()
Gets the power state.
|
void |
hvBiasOff()
Turns off the HV bias.
|
void |
hvBiasOn()
Turns on the HV bias.
|
void |
periodicBroadcast()
Performs periodic power data broadcast.
|
void |
postInit()
Power subsystem post-initialization
|
void |
postStart()
Starts the subsystem.
|
void |
powerOff()
Turns off all the power.
|
void |
powerOn()
Turns on the power, except for HV bias.
|
void |
setDphi(double value)
Sets the DPHI voltage
|
void |
setHvBias(double value)
Sets the HV bias voltage
|
void |
setUpdatePeriod(int period)
Sets the update (tick) period.
|
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic void periodicBroadcast()
@Command(type=ACTION, description="Set the update period") public void setUpdatePeriod(@Argument(name="period",description="The tick period (msecs)") int period)
period - The update period (milliseconds) to set.@Command(type=QUERY, description="Get the power state") public List<PowerChanState> getPowerState() throws PowerException
PowerException@Command(type=ACTION, description="Turn on the power") public void powerOn() throws PowerException
PowerException@Command(type=ACTION, description="Turn off the power") public void powerOff() throws PowerException
PowerException@Command(type=ACTION, description="Turn on the HV bias") public void hvBiasOn() throws PowerException
PowerException@Command(type=ACTION, description="Turn off the HV bias") public void hvBiasOff() throws PowerException
PowerException@Command(type=ACTION, description="Set the DPHI voltage") public void setDphi(@Argument(description="Voltage value") double value) throws PowerException
value - The voltage to setPowerException@Command(type=ACTION, description="Set the HV bias voltage") public void setHvBias(@Argument(description="Voltage value") double value) throws PowerException
value - The voltage to setPowerException@Command(type=QUERY, description="Get the full state") public ATSPowerFullState getFullState() throws PowerException
PowerExceptionCopyright © 2018 LSST. All rights reserved.