public class HexValveMain
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.services.alert.AlertListener
| Constructor and Description |
|---|
HexValveMain()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
void |
connectHex(String hex,
String comp)
Connect a heat exchanger to a cryo compressor.
|
List<String> |
getCmprNames()
Gets a list of the valid compressor names.
|
List<String> |
getHexNames()
Gets a list of the valid heat exchanger names.
|
HexValveState |
getSystemState()
Gets the state of the hex valve system.
|
void |
onAlert(org.lsst.ccs.services.alert.AlertEvent event)
Alert event handler.
|
void |
postInit()
Initializes the heat exchanger valve subsystem.
|
void |
postStart()
Starts the subsystem.
|
void |
setUpdatePeriod(int value)
Sets the monitor update period.
|
void |
setValve(int valve,
boolean vstate)
set the state of a single valve
|
String |
showValveStates()
Show the state of the compressor valves.
|
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, waitpublic 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 hex valve state",
level=0)
public HexValveState getSystemState()
@Command(type=QUERY,
description="Get the valid heat exchanger names",
level=0)
public List<String> getHexNames()
@Command(type=QUERY,
description="Get the valid compressor names",
level=0)
public List<String> getCmprNames()
@Command(type=ACTION,
description="Connect hex to compressor")
public void connectHex(@Argument(description="Heat exchanger name")
String hex,
@Argument(description="Compressor name")
String comp)
throws VacuumException
hex - The heat exchanger namecomp - The compressor nameVacuumException@Command(type=ACTION,
level=10,
description="set the state of a single valve")
public void setValve(@Argument(description="valve number")
int valve,
@Argument(description="false=open or true=close")
boolean vstate)
throws VacuumException
valve - numbertrue - for close. false for openVacuumException@Command(type=ACTION,
description="Set the tick interval")
public void setUpdatePeriod(@Argument(description="Tick interval (ms)")
int value)
value - The period (milliseconds) to set.public void onAlert(org.lsst.ccs.services.alert.AlertEvent event)
onAlert in interface org.lsst.ccs.services.alert.AlertListenerevent - The alert event@Command(type=ACTION,
description="report state of valves")
public String showValveStates()
throws VacuumException
VacuumExceptionCopyright © 2024 LSST. All rights reserved.