public class PumpPlate extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
PumpPlate() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
void |
clearCondition(int cond)
Clears a condition.
|
List<String> |
getSwitchNames()
Gets the list of switch names.
|
VacuumState |
getVacuumState()
Gets the state of the PumpPlate module.
|
void |
postInit()
Post initialization
|
void |
postStart()
Post start
|
void |
setNamedSwitchOn(String name,
boolean on)
Turns a named switch on or off.
|
void |
setSwitchOn(int sw,
boolean on)
Turns a switch on or off.
|
void |
setUpdatePeriod(int value)
Sets the update 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=QUERY,
description="Get the pump plate state")
public VacuumState getVacuumState()
@Command(type=QUERY,
description="Get switch names")
public List<String> getSwitchNames()
throws VacuumException
VacuumException@Command(type=ACTION,
description="Turn on/off a switch")
public void setSwitchOn(@Argument(description="The switch number")
int sw,
@Argument(description="Whether to turn on")
boolean on)
throws VacuumException
sw - The switch number.on - Whether to turn on or offVacuumException@Command(type=ACTION,
description="Turn on/off a named switch")
public void setNamedSwitchOn(@Argument(description="The switch name")
String name,
@Argument(description="Whether to turn on")
boolean on)
throws VacuumException
name - The switch name.on - Whether to turn on or offVacuumException@Command(type=ACTION,
description="Clear a condition")
public void clearCondition(@Argument(description="The condition number")
int cond)
throws VacuumException
cond - The condition number.VacuumException@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.Copyright © 2018 LSST. All rights reserved.