
public class TS7
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.lsst.ccs.subsystem.common.devices.power.distribution.APC7900Device> |
pduDevicesMap |
| Constructor and Description |
|---|
TS7()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
enableAlertResponse(boolean enable) |
List<String> |
getOutletNames()
Gets the list of PDU outlet names.
|
Map<String,Boolean> |
getOutletOnStateMap()
Gets the map of PDU outlet on states.
|
List<String> |
getPduNames()
Gets the list of PDU names.
|
boolean |
isAlertResponseEnabled() |
void |
postInit()
Post-initialization
|
void |
turnOutletOff(TS7Outlets outlet) |
void |
turnOutletOn(TS7Outlets outlet) |
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 build()
build in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY, description="Get the list of PDU names") public List<String> getPduNames()
@Command(type=QUERY, description="Get the list of PDU outlet names") public List<String> getOutletNames()
@Command(type=QUERY, description="Get the map of PDU outlet on states") public Map<String,Boolean> getOutletOnStateMap() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, description="Turn Off named outlet") public void turnOutletOff(TS7Outlets outlet) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, description="Turn On named outlet") public void turnOutletOn(TS7Outlets outlet) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, description="Enable/disable alert response") public void enableAlertResponse(boolean enable)
@Command(type=QUERY, description="Get true/false if the alert response is enabled") public boolean isAlertResponseEnabled()
Copyright © 2021 LSST. All rights reserved.