MockPowerSystem¶
- class lsst.ts.m2com.MockPowerSystem(default_voltage: float, default_current: float)¶
Bases:
object
Mock power system to simulate the behavior of hardware.
- Parameters:
- Attributes:
- stateenum
PowerSystemState
State of the power system.
- stateenum
Attributes Summary
Methods Summary
get_power
([rms])Get the power.
Power is on or not.
Power off.
power_on
()Power on.
Wait the power to be fully off.
Wait the power to be fully on.
Attributes Documentation
- SLEEP_TIME_LONG = 3¶
- SLEEP_TIME_SHORT = 0.5¶
Methods Documentation