Enum Class S7.LangType
- All Implemented Interfaces:
Serializable
,Comparable<S7.LangType>
,Constable
- Enclosing class:
- S7
Language types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContinuous Function ChartData block definition languageFunction Block DiagramGraph language ?Ladder diagramsStructured Control Language, high-level Pascal-like languageSequential Function ChartStatement List (also called AWL)Invalid or unknown -
Method Summary
Modifier and TypeMethodDescriptionstatic S7.LangType
fromId
(int id) int
getId()
static S7.LangType
Returns the enum constant of this class with the specified name.static S7.LangType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Invalid or unknown -
STL
Statement List (also called AWL) -
LAD
Ladder diagrams -
FBD
Function Block Diagram -
SCL
Structured Control Language, high-level Pascal-like language -
DB
Data block definition language -
GRAPH
Graph language ? -
CFC
Continuous Function Chart -
SFC
Sequential Function Chart
-
-
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 nameNullPointerException
- if the argument is null
-
getId
public int getId() -
fromId
-