Class ChipCoordinates

java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.machine.ChipCoordinates

public class ChipCoordinates
extends Object
Represents a set of coordinates of a chip within a machine.
  • Constructor Summary

    Constructors 
    Constructor Description
    ChipCoordinates​(int cabinet, int frame, int board)
    Create a new set of ChipCoordinates.
  • Method Summary

    Modifier and Type Method Description
    int getBoard()
    Get the board containing the chip.
    int getCabinet()
    Get the cabinet containing the frame containing the board containing the chip.
    int getFrame()
    Get the frame containing the board containing the chip.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChipCoordinates

      public ChipCoordinates​(int cabinet, int frame, int board)
      Create a new set of ChipCoordinates.
      Parameters:
      cabinet - The cabinet containing the frame containing the board containing the chip.
      frame - The frame containing the board containing the chip.
      board - The board containing the chip.
  • Method Details

    • getCabinet

      public int getCabinet()
      Get the cabinet containing the frame containing the board containing the chip.
      Returns:
      The cabinet number
    • getFrame

      public int getFrame()
      Get the frame containing the board containing the chip.
      Returns:
      The frame number
    • getBoard

      public int getBoard()
      Get the board containing the chip.
      Returns:
      The board number