Package gda.device

Class MCAStatus

java.lang.Object
gda.device.MCAStatus
All Implemented Interfaces:
Serializable

public final class MCAStatus extends Object implements Serializable
Class to be used as status for MCA type devices - limited set of values available.
See Also:
  • Field Details

  • Constructor Details

    • MCAStatus

      protected MCAStatus(int value)
      Constructor used internally to construct the allowed instances.
      Parameters:
      value -
  • Method Details

    • value

      public int value()
      Returns the actual value.
      Returns:
      the value
    • from_int

      public static MCAStatus from_int(int value)
      Returns one of the possible instances.
      Parameters:
      value - the value for which the corresponding instance should be returned
      Returns:
      the relevant instance