Interface SpallocAPI.SubMachine
- Enclosing interface:
- SpallocAPI
public static interface SpallocAPI.SubMachine
A view of part of a machine that is allocated to a job.
- 
Method Details- 
getMachineSpallocAPI.Machine getMachine()- Returns:
- The machine that this sub-machine is part of.
 
- 
getRootXint getRootX()- Returns:
- The root X coordinate of this sub-machine.
 
- 
getRootYint getRootY()- Returns:
- The root Y coordinate of this sub-machine.
 
- 
getRootZint getRootZ()- Returns:
- The root Z coordinate of this sub-machine.
 
- 
getWidthint getWidth()- Returns:
- The width of this sub-machine, in triads.
 
- 
getHeightint getHeight()- Returns:
- The height of this sub-machine, in triads.
 
- 
getDepthint getDepth()- Returns:
- The depth of this sub-machine. 1 (single board) or 3 (by triad)
 
- 
getConnectionsList<ConnectionInfo> getConnections()- Returns:
- The connection details of this sub-machine.
 
- 
getBoardsList<BoardCoordinates> getBoards()- Returns:
- The board locations of this sub-machine.
 
- 
getPowerPowerState getPower()- Returns:
- Whether this sub-machine is switched on.
 
- 
setPowerSet whether this sub-machine is switched on. Note that actually changing the power of a sub-machine can take some time.- Parameters:
- powerState- What to set the power state to.
 
 
-