Class MachineStateControl.BoardState
java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.MachineStateControl.BoardState
- Enclosing class:
- MachineStateControl
Access to the enablement-state of a board.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe IP address managed by the board's root chip.final intThe BMP id.final StringThe BMP serial number, if known.final IntegerThe board number.final intThe cabinet number.final intThe frame number.final intThe board ID.final intThe machine ID.final StringThe name of the containing SpiNNaker machine.final StringThe physical board serial number, if known.final intThe X triad coordinate.final intThe Y triad coordinate.final intThe Z triad coordinate. -
Method Summary
-
Field Details
-
machineName
The name of the containing SpiNNaker machine. -
machineId
public final int machineIdThe machine ID. Unique. -
id
public final int idThe board ID. Unique. -
x
public final int xThe X triad coordinate. -
y
public final int yThe Y triad coordinate. -
z
public final int zThe Z triad coordinate. -
cabinet
public final int cabinetThe cabinet number. -
frame
public final int frameThe frame number. -
board
The board number. -
address
The IP address managed by the board's root chip. -
bmpSerial
The BMP serial number, if known. -
physicalSerial
The physical board serial number, if known. -
bmpId
public final int bmpIdThe BMP id.
-
-
Method Details
-
getState
public boolean getState()- Returns:
- The allocatable state of the board. If a board is not allocatable, it will not be handed out in new allocations to jobs, but can continue to be used by whatever job it is currently allocated to (if any).
-
setState
public void setState(boolean newValue) - Parameters:
newValue- The allocatable state to set the board to.
-
getAllocatedJob
- Returns:
- What job has been allocated to the board?
-
getPower
public boolean getPower()- Returns:
- Is the board switched on?
-
getPowerOnTime
- Returns:
- When was the board last switched on?
-
getPowerOffTime
- Returns:
- When was the board last switched off?
-
getReports
- Returns:
- What issues have been logged against the board?
-
toString
-
toBoardRecord
Convert this active object to a static record.- Returns:
- The static (conceptually serialisable) record object.
-