
public class ThermalMain
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.messaging.AgentPresenceListener, org.lsst.ccs.messaging.StatusMessageListener
| Constructor and Description |
|---|
ThermalMain()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
void |
bulkPowerOn(boolean on)
Turns on/off the bulk power supply.
|
void |
connected(org.lsst.ccs.bus.data.AgentInfo... agents)
Listens for the arrival of the companion refrigeration subsystem.
|
void |
disconnected(org.lsst.ccs.bus.data.AgentInfo... agents)
Listens for the departure of the companion refrigeration subsystem.
|
ThermalState |
getSystemState()
Gets the state of the thermal control system.
|
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg)
Handles refrigeration status messages.
|
void |
postInit()
Initializes the thermal subsystem.
|
void |
postStart()
Starts the subsystem.
|
void |
setPlateTemperature(int htr,
double temp)
Sets a plate temperature value.
|
void |
setTrimHeaterPower(int htr,
double power)
Sets a trim heater power value.
|
void |
setTrimHeaterState(int htr,
TrimHeaterOpState state)
Sets a trim heater operation state.
|
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, waitinit, postBuild, postShutdown, shutdown, startpublic 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.HasLifecyclepublic void connected(org.lsst.ccs.bus.data.AgentInfo... agents)
connected in interface org.lsst.ccs.messaging.AgentPresenceListeneragents - Array of agents presentpublic void disconnected(org.lsst.ccs.bus.data.AgentInfo... agents)
disconnected in interface org.lsst.ccs.messaging.AgentPresenceListeneragents - Agents going absentpublic void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg)
onStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenermsg - The status message@Command(type=QUERY, description="Get the thermal control state", level=0) public ThermalState getSystemState()
@Command(type=ACTION, description="Set a trim heater operation state") public void setTrimHeaterState(int htr, TrimHeaterOpState state) throws RefrigException
htr - The heater numberstate - The heater operation state to set: OFF, POWER or TEMP.RefrigException@Command(type=ACTION, description="Set a trim heater power set point") public void setTrimHeaterPower(int htr, double power) throws RefrigException
htr - The heater numberpower - The load power set point.RefrigException@Command(type=ACTION, description="Set a plate temperature set point") public void setPlateTemperature(int htr, double temp) throws RefrigException
htr - The heater numbertemp - The plate temperature set point.RefrigException@Command(type=ACTION, description="Turn on/off the bulk power supply") public void bulkPowerOn(boolean on)
on - Whether to turn the power onCopyright © 2022 LSST. All rights reserved.