Enum Class S7.LangType

java.lang.Object
java.lang.Enum<S7.LangType>
com.pnfsoftware.jeb.core.units.code.simatic.S7.LangType
All Implemented Interfaces:
Serializable, Comparable<S7.LangType>, Constable
Enclosing class:
S7

@Ser public static enum S7.LangType extends Enum<S7.LangType>
Language types.
  • Enum Constant Details

    • UNKNOWN

      public static final S7.LangType UNKNOWN
      Invalid or unknown
    • STL

      public static final S7.LangType STL
      Statement List (also called AWL)
    • LAD

      public static final S7.LangType LAD
      Ladder diagrams
    • FBD

      public static final S7.LangType FBD
      Function Block Diagram
    • SCL

      public static final S7.LangType SCL
      Structured Control Language, high-level Pascal-like language
    • DB

      public static final S7.LangType DB
      Data block definition language
    • GRAPH

      public static final S7.LangType GRAPH
      Graph language ?
    • CFC

      public static final S7.LangType CFC
      Continuous Function Chart
    • SFC

      public static final S7.LangType SFC
      Sequential Function Chart
  • Method Details

    • values

      public static S7.LangType[] 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

      public static S7.LangType valueOf(String name)
      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
    • getId

      public int getId()
    • fromId

      public static S7.LangType fromId(int id)