public class ATSPowerMain extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
ATSPowerMain() |
| Modifier and Type | Method and Description |
|---|---|
void |
auxOff()
Turns off the auxiliary power.
|
void |
auxOn()
Turns on the auxiliary power.
|
void |
build()
Power subsystem initialization
|
void |
dphiOff()
Turns off the DPHI voltage.
|
void |
dphiOn()
Turns on the DPHI voltage.
|
void |
fanOff()
Turns off the fan power.
|
void |
fanOn()
Turns on the fan power.
|
ATSPowerState |
getFullState()
Gets the full power state.
|
void |
hvBiasOff()
Turns off the HV bias.
|
void |
hvBiasOn()
Turns on the HV bias.
|
boolean |
isDphiOn()
Queries the DPHI voltage state.
|
boolean |
isHvBiasOn()
Queries the HV bias voltage state.
|
void |
otmOff()
Turns off the OTM power.
|
void |
otmOn()
Turns on the OTM power.
|
void |
postInit()
Power subsystem post-initialization
|
void |
postStart()
Starts the subsystem.
|
void |
powerOff()
Turns off all the REB power.
|
void |
powerOn()
Turns on the REB 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.HasLifecycle@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=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 DPHI voltage")
public void dphiOn()
throws PowerException
PowerException@Command(type=ACTION,
description="Turn off the DPHI voltage")
public void dphiOff()
throws PowerException
PowerException@Command(type=QUERY,
description="Query the DPHI voltage state",
level=0)
public boolean isDphiOn()
@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="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=QUERY,
description="Query the HV bias voltage state",
level=0)
public boolean isHvBiasOn()
@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=ACTION,
description="Turn on the OTM")
public void otmOn()
throws PowerException
PowerException@Command(type=ACTION,
description="Turn off the OTM")
public void otmOff()
throws PowerException
PowerException@Command(type=ACTION,
description="Turn on the fan")
public void fanOn()
throws PowerException
PowerException@Command(type=ACTION,
description="Turn off the fan")
public void fanOff()
throws PowerException
PowerException@Command(type=ACTION,
description="Turn on the aux power")
public void auxOn()
throws PowerException
PowerException@Command(type=ACTION,
description="Turn off the aux power")
public void auxOff()
throws PowerException
PowerException@Command(type=QUERY,
description="Get the full state",
level=0)
public ATSPowerState getFullState()
throws PowerException
PowerExceptionCopyright © 2019 LSST. All rights reserved.