Class S7ParameterModeTransition
java.lang.Object
org.apache.plc4x.java.s7.readwrite.S7Parameter
org.apache.plc4x.java.s7.readwrite.S7ParameterModeTransition
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7Parameter
S7Parameter.S7ParameterBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byteprotected final byteprotected final shortprotected final shortprotected final short -
Constructor Summary
ConstructorsConstructorDescriptionS7ParameterModeTransition(short method, byte cpuFunctionType, byte cpuFunctionGroup, short currentMode, short sequenceNumber) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbytebyteshortintintshortshortinthashCode()protected voidserializeS7ParameterChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer, Short messageType) toString()Methods inherited from class org.apache.plc4x.java.s7.readwrite.S7Parameter
serialize, staticParse, staticParseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
Field Details
-
method
protected final short method -
cpuFunctionType
protected final byte cpuFunctionType -
cpuFunctionGroup
protected final byte cpuFunctionGroup -
currentMode
protected final short currentMode -
sequenceNumber
protected final short sequenceNumber
-
-
Constructor Details
-
S7ParameterModeTransition
public S7ParameterModeTransition(short method, byte cpuFunctionType, byte cpuFunctionGroup, short currentMode, short sequenceNumber)
-
-
Method Details
-
getParameterType
- Specified by:
getParameterTypein classS7Parameter
-
getMessageType
- Specified by:
getMessageTypein classS7Parameter
-
getMethod
public short getMethod() -
getCpuFunctionType
public byte getCpuFunctionType() -
getCpuFunctionGroup
public byte getCpuFunctionGroup() -
getCurrentMode
public short getCurrentMode() -
getSequenceNumber
public short getSequenceNumber() -
serializeS7ParameterChild
- Specified by:
serializeS7ParameterChildin classS7Parameter- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classS7Parameter
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classS7Parameter
-
staticParseBuilder
public static S7ParameterModeTransition.S7ParameterModeTransitionBuilder staticParseBuilder(ReadBuffer readBuffer, Short messageType) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classS7Parameter
-
hashCode
public int hashCode()- Overrides:
hashCodein classS7Parameter
-
toString
- Overrides:
toStringin classS7Parameter
-