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 SummaryFieldsModifier 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- 
machineNameThe name of the containing SpiNNaker machine.
- 
machineIdpublic final int machineIdThe machine ID. Unique.
- 
idpublic final int idThe board ID. Unique.
- 
xpublic final int xThe X triad coordinate.
- 
ypublic final int yThe Y triad coordinate.
- 
zpublic final int zThe Z triad coordinate.
- 
cabinetpublic final int cabinetThe cabinet number.
- 
framepublic final int frameThe frame number.
- 
boardThe board number.
- 
addressThe IP address managed by the board's root chip.
- 
bmpSerialThe BMP serial number, if known.
- 
physicalSerialThe physical board serial number, if known.
- 
bmpIdpublic final int bmpIdThe BMP id.
 
- 
- 
Method Details- 
getStatepublic 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).
 
- 
setStatepublic void setState(boolean newValue) - Parameters:
- newValue- The allocatable state to set the board to.
 
- 
getAllocatedJob- Returns:
- What job has been allocated to the board?
 
- 
getPowerpublic 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
- 
toBoardRecordConvert this active object to a static record.- Returns:
- The static (conceptually serialisable) record object.
 
 
-