public class TS7 extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,APC7900Device> |
pduDevicesMap |
| Constructor and Description |
|---|
TS7() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
enableAlertResponse(boolean enable) |
org.lsst.ccs.subsystem.power.states.RebPowerState |
getCurrentRebsPowerState()
Gets the current REB power state
|
TSFullState |
getFullState()
Gets the full state of the TS module.
|
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 |
postStart()
Post start processing
|
void |
setThermalGoal(ThermalTarget goal)
Allows the thermal goal to be set.
|
void |
setUpdatePeriod(int value)
Sets the update period.
|
void |
setVacuumGoal(VacuumTarget goal)
Allows the vacuum goal to be set.
|
void |
turnOutletOff(TS7Outlets outlet) |
void |
turnOutletOn(TS7Outlets outlet) |
@LookupField(strategy=DESCENDANTS) protected final Map<String,APC7900Device> pduDevicesMap
public void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void build()
build in interface org.lsst.ccs.framework.HasLifecycle@Command(type=ACTION,
description="Change the thermal goal for the subsystem")
public void setThermalGoal(ThermalTarget goal)
goal - The new thermal target@Command(type=ACTION,
description="Change the thermal goal for the subsystem")
public void setVacuumGoal(VacuumTarget goal)
goal - The new vacuum targetpublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY,
description="Get the full test stand subsystem state")
public TSFullState getFullState()
@Command(type=ACTION,
description="Set the update interval")
public void setUpdatePeriod(@Argument(name="value",description="The tick period (ms)")
int value)
value - The update period (milliseconds) to set.@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.DriverExceptionpublic org.lsst.ccs.subsystem.power.states.RebPowerState getCurrentRebsPowerState()
@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 © 2018 LSST. All rights reserved.