public class PrototypeColdPlateSubsystem
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.services.alert.AlertListener
| Constructor and Description |
|---|
PrototypeColdPlateSubsystem()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
void |
clearLatch(String cond)
Clears a (named) latched condition.
|
List<String> |
getHeaterNames()
Gets the list of heater names.
|
List<String> |
getLatchNames()
Gets the list of latched condition names.
|
List<String> |
getSwitchNames()
Gets the list of switch names.
|
PcpSysState |
getSystemState()
Gets the state of the PCP system.
|
void |
init()
Init phase.
|
void |
onAlert(org.lsst.ccs.services.alert.AlertEvent event)
Alert event handler.
|
void |
postInit()
Initializes the subsystem.
|
void |
postStart()
Starts the subsystem.
|
void |
setHeaterPower(String htrName,
double value)
Sets a heater power value.
|
void |
setHeaterState(String htrName,
boolean on)
Sets a heater state.
|
void |
setNamedSwitchOn(String swch,
boolean on)
Turns a (named) switch on or off.
|
getLogHandler, getLogHandlerLevel, getLogLevel, getNumberCommandThreads, isLogLevelInherited, ping, printLoggersLevel, printLogHandlersLevel, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthcreateHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, helper, initAgent, initLogBusHandler, isInEngineeringMode, populateComponentLookup, preInit, preStart, printComponentNodeTree, publishMonitoringDataOnStatusBus, 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 init()
init 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 PCP system state") public PcpSysState getSystemState()
@Command(type=QUERY, description="Get switch names") public List<String> getSwitchNames()
@Command(type=ACTION, description="Turn on/off a named switch") public void setNamedSwitchOn(@Argument(description="The switch name") String swch, @Argument(description="Whether to turn on") boolean on) throws RefrigException
swch - The switch name.on - Whether to turn on or offRefrigException@Command(type=QUERY, description="Get latched condition names") public List<String> getLatchNames()
@Command(type=ACTION, description="Clear a latched condition") public void clearLatch(@Argument(description="The condition name") String cond) throws RefrigException
cond - The condition name.RefrigException@Command(type=QUERY, description="Get heater names") public List<String> getHeaterNames()
@Command(type=ACTION, description="Set a heater power enabled state") public void setHeaterState(@Argument(description="The heater name") String htrName, @Argument(description="Whether to turn on") boolean on) throws RefrigException
htrName - The heater nameon - Whether to set onRefrigException@Command(type=ACTION, description="Set a heater power set point") public void setHeaterPower(@Argument(description="The heater name") String htrName, @Argument(description="The power set point") double value) throws RefrigException
htrName - The heater namevalue - The power set point.RefrigExceptionpublic void onAlert(org.lsst.ccs.services.alert.AlertEvent event)
onAlert in interface org.lsst.ccs.services.alert.AlertListenerevent - The alert eventCopyright © 2024 LSST. All rights reserved.