Class AlarmMessageObjectAckType
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.AlarmMessageObjectAckType
-
- All Implemented Interfaces:
Message,Serializable
public class AlarmMessageObjectAckType extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected StateackStateComingprotected StateackStateGoingprotected longeventIdstatic ShortLENGTHprotected shortnumberOfValuesprotected SyntaxIdTypesyntaxIdstatic ShortVARIABLESPEC
-
Constructor Summary
Constructors Constructor Description AlarmMessageObjectAckType(SyntaxIdType syntaxId, short numberOfValues, long eventId, State ackStateGoing, State ackStateComing)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StategetAckStateComing()StategetAckStateGoing()longgetEventId()shortgetLength()intgetLengthInBits()intgetLengthInBytes()shortgetNumberOfValues()SyntaxIdTypegetSyntaxId()shortgetVariableSpec()inthashCode()voidserialize(WriteBuffer writeBuffer)static AlarmMessageObjectAckTypestaticParse(ReadBuffer readBuffer)static AlarmMessageObjectAckTypestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
VARIABLESPEC
public static final Short VARIABLESPEC
-
LENGTH
public static final Short LENGTH
-
syntaxId
protected final SyntaxIdType syntaxId
-
numberOfValues
protected final short numberOfValues
-
eventId
protected final long eventId
-
ackStateGoing
protected final State ackStateGoing
-
ackStateComing
protected final State ackStateComing
-
-
Constructor Detail
-
AlarmMessageObjectAckType
public AlarmMessageObjectAckType(SyntaxIdType syntaxId, short numberOfValues, long eventId, State ackStateGoing, State ackStateComing)
-
-
Method Detail
-
getSyntaxId
public SyntaxIdType getSyntaxId()
-
getNumberOfValues
public short getNumberOfValues()
-
getEventId
public long getEventId()
-
getAckStateGoing
public State getAckStateGoing()
-
getAckStateComing
public State getAckStateComing()
-
getVariableSpec
public short getVariableSpec()
-
getLength
public short getLength()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static AlarmMessageObjectAckType staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static AlarmMessageObjectAckType staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-