Class SetPower

All Implemented Interfaces:
SerializableMessage

public class SetPower extends BMPRequest<BMPRequest.BMPResponse>
A request for the BMP to power on or power off some boards. There is no response payload.

Note: There is currently a bug in the BMP that means some boards don't respond to power commands not sent to BMP 0. Because of this, this message should always be sent to BMP 0!

Handled by cmd_power() in bmp_cmd.c, which in turn calls proc_power() in the same file.

  • Constructor Details

    • SetPower

      public SetPower(PowerCommand powerCommand, Collection<BMPBoard> boards, double delay)
      Parameters:
      powerCommand - The power command being sent
      boards - The boards on the same backplane to power on or off
      delay - Number of seconds delay between power state changes of the different boards.
  • Method Details