
public class PathFinderQuadBox
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
PathFinderQuadBox()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PathFinderQuadBoxState |
getFullState()
Gets the full quad box state.
|
List<String> |
getSwitchNames()
Gets the list of switch names.
|
void |
periodicBroadcast()
Performs periodic power data broadcast.
|
void |
postInit()
Subsystem post-initialization
|
void |
postStart()
Starts the subsystem.
|
void |
setNamedSwitchOn(String name,
boolean on)
Turns a named switch on or off.
|
void |
setSwitchOn(int sw,
boolean on)
Turns a switch on or off.
|
void |
setUpdatePeriod(int period)
Sets the update (tick) period.
|
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthbroadcastStatus, checkAllHardwareStopped, createHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, getStatusBroadcastPeriod, helper, internalCheckHardware, isConnectedToTheBuses, isInEngineeringMode, populateComponentLookup, preBuild, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic void periodicBroadcast()
@Command(type=ACTION,
description="Turn on/off a switch")
public void setSwitchOn(@Argument(description="The switch number")
int sw,
@Argument(description="Whether to turn on")
boolean on)
throws PowerException
sw - The switch number.on - Whether to turn on or offPowerException@Command(type=ACTION,
description="Turn on/off a named switch")
public void setNamedSwitchOn(@Argument(description="The switch name")
String name,
@Argument(description="Whether to turn on")
boolean on)
throws PowerException
name - The switch name.on - Whether to turn on or offPowerException@Command(type=QUERY,
description="Get list of switch names")
public List<String> getSwitchNames()
@Command(type=ACTION,
description="Set the update period")
public void setUpdatePeriod(@Argument(name="period",description="The tick period (msecs)")
int period)
period - The update period (milliseconds) to set.@Command(type=QUERY,
description="Get the full state")
public PathFinderQuadBoxState getFullState()
throws PowerException
PowerExceptionCopyright © 2020 LSST. All rights reserved.