public class ChillerPlcTest
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.messaging.AgentPresenceListener
| Constructor and Description |
|---|
ChillerPlcTest()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
blockChiller(boolean on)
Blocks/enables the chiller operation
|
void |
build()
Build phase
|
void |
clearPlcLatch(String cond)
Clears a (named) latched PLC condition.
|
ChillerPlcTestState |
getControlState()
Gets the state of the chiller system.
|
List<String> |
getPlcLatchNames()
Gets the list of latched PLC condition names.
|
void |
init()
init() method
|
void |
postStart()
postStart (must follow Device.start())
|
void |
setPlcLatch(int cond,
boolean on)
Set a latched PLC condition via a MAQ20 DIOL module
|
void |
shutdown() |
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, waitpostBuild, postInit, postShutdown, startpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic void shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY,
description="Get the chiller state",
level=0)
public ChillerPlcTestState getControlState()
@Command(type=ACTION,
description="Block or enable chiller operation")
public void blockChiller(boolean on)
on - Whether enabling@Command(type=QUERY,
description="Get latched PLC condition names",
level=0)
public List<String> getPlcLatchNames()
@Command(type=ACTION,
description="Clear a latched PLC condition")
public void clearPlcLatch(@Argument(description="The condition name")
String cond)
throws RefrigException
cond - The condition name.RefrigException@Command(type=ACTION,
description="Set a latched PLC condition")
public void setPlcLatch(@Argument(description="The condition number")
int cond,
@Argument(description="Whether on or off")
boolean on)
throws RefrigException
cond - The condition number (0 - 9)on - Whether to setRefrigExceptionCopyright © 2024 LSST. All rights reserved.