Enum Class InstrumentScheduleGenerator.MeasuredVariable

java.lang.Object
java.lang.Enum<InstrumentScheduleGenerator.MeasuredVariable>
neqsim.process.mechanicaldesign.InstrumentScheduleGenerator.MeasuredVariable
All Implemented Interfaces:
Serializable, Comparable<InstrumentScheduleGenerator.MeasuredVariable>, Constable
Enclosing class:
InstrumentScheduleGenerator

public static enum InstrumentScheduleGenerator.MeasuredVariable extends Enum<InstrumentScheduleGenerator.MeasuredVariable>
Measurement variable classification per ISA-5.1.
Version:
1.0
Author:
Even Solbraa
  • Enum Constant Details

  • Field Details

    • tagPrefix

      private final String tagPrefix
    • instrumentType

      private final String instrumentType
    • ioType

      private final String ioType
  • Constructor Details

    • MeasuredVariable

      private MeasuredVariable(String tagPrefix, String instrumentType, String ioType)
      Constructor.
      Parameters:
      tagPrefix - ISA-5.1 prefix (PT, TT, LT, FT)
      instrumentType - human-readable instrument type
      ioType - I/O type (AI, AO, DI, DO)
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTagPrefix

      public String getTagPrefix()
      Get the ISA-5.1 tag prefix.
      Returns:
      tag prefix
    • getInstrumentType

      public String getInstrumentType()
      Get the instrument type description.
      Returns:
      instrument type
    • getIoType

      public String getIoType()
      Get the I/O type.
      Returns:
      I/O type (AI, AO, DI, DO)