public class VacuumMain
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.services.alert.AlertListener, org.lsst.ccs.messaging.AgentPresenceListener, org.lsst.ccs.messaging.StatusMessageListener
| Constructor and Description |
|---|
VacuumMain()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
String |
checkSwitch(String name)
Returns enable and state of switch
|
void |
clearLatch(int cond)
Clears a latched condition.
|
void |
connected(org.lsst.ccs.bus.data.AgentInfo... agents) |
void |
disconnected(org.lsst.ccs.bus.data.AgentInfo... agents)
Listens for the departure of the companion refrigeration subsystem.
|
List<String> |
getSwitchNames()
Gets the list of switch names.
|
VacSysState |
getVacuumState()
Gets the state of the Vacuum system.
|
void |
init()
Init phase.
|
double |
maxInletFlinePressDiff() |
void |
onAlert(org.lsst.ccs.services.alert.AlertEvent event)
Alert event handler.
|
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg) |
void |
postInit()
Post initialization phase
|
void |
postStart()
Post start
|
void |
setSwitchOn(String name,
boolean on)
Turns a switch on or off.
|
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthcreateHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, helper, initAgent, initLogBusHandler, isInEngineeringMode, populateComponentLookup, preInit, preStart, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostBuild, postShutdown, shutdown, startpublic void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg)
onStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenerpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void connected(org.lsst.ccs.bus.data.AgentInfo... agents)
connected in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void disconnected(org.lsst.ccs.bus.data.AgentInfo... agents)
disconnected in interface org.lsst.ccs.messaging.AgentPresenceListeneragents - Agents going absentpublic 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 vacuum system state",
level=0)
public VacSysState getVacuumState()
@Command(type=QUERY,
description="Get switch names",
level=0)
public List<String> getSwitchNames()
throws VacuumException
VacuumException@Command(type=ACTION,
description="Turn on/off a named switch")
public void setSwitchOn(@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=QUERY,
description="Print enable and state for switch")
public String checkSwitch(@Argument(description="The switch name")
String name)
throws VacuumException
name - The switch name.VacuumException@Command(type=ACTION,
description="Clear a condition")
public void clearLatch(@Argument(description="The condition number")
int cond)
throws VacuumException
cond - The condition number.VacuumException@Command(type=QUERY,
description="determines what is the allowable pressure difference btwn the foreline and the PC inlet pressure")
public double maxInletFlinePressDiff()
public void onAlert(org.lsst.ccs.services.alert.AlertEvent event)
onAlert in interface org.lsst.ccs.services.alert.AlertListenerevent - The alert eventCopyright © 2023 LSST. All rights reserved.