Class S7PayloadUserDataItemCpuFunctionAlarmQueryRequest
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.S7PayloadUserDataItem
-
- org.apache.plc4x.java.s7.readwrite.S7PayloadUserDataItemCpuFunctionAlarmQueryRequest
-
- All Implemented Interfaces:
Message,Serializable
public class S7PayloadUserDataItemCpuFunctionAlarmQueryRequest extends S7PayloadUserDataItem implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS7PayloadUserDataItemCpuFunctionAlarmQueryRequest.S7PayloadUserDataItemCpuFunctionAlarmQueryRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7PayloadUserDataItem
S7PayloadUserDataItem.S7PayloadUserDataItemBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected AlarmTypealarmTypestatic ShortFUNCTIONIDstatic ShortLENGTHstatic ShortNUMBERMESSAGEOBJprotected QueryTypequeryTypeprotected SyntaxIdTypesyntaxIdstatic ShortVARIABLESPEC-
Fields inherited from class org.apache.plc4x.java.s7.readwrite.S7PayloadUserDataItem
dataLength, returnCode, transportSize
-
-
Constructor Summary
Constructors Constructor Description S7PayloadUserDataItemCpuFunctionAlarmQueryRequest(DataTransportErrorCode returnCode, DataTransportSize transportSize, int dataLength, SyntaxIdType syntaxId, QueryType queryType, AlarmType alarmType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AlarmTypegetAlarmType()BytegetCpuFunctionGroup()BytegetCpuFunctionType()ShortgetCpuSubfunction()shortgetFunctionId()shortgetLength()intgetLengthInBits()intgetLengthInBytes()shortgetNumberMessageObj()QueryTypegetQueryType()SyntaxIdTypegetSyntaxId()shortgetVariableSpec()inthashCode()protected voidserializeS7PayloadUserDataItemChild(WriteBuffer writeBuffer)static S7PayloadUserDataItem.S7PayloadUserDataItemBuilderstaticParseS7PayloadUserDataItemBuilder(ReadBuffer readBuffer, Byte cpuFunctionGroup, Byte cpuFunctionType, Short cpuSubfunction)StringtoString()-
Methods inherited from class org.apache.plc4x.java.s7.readwrite.S7PayloadUserDataItem
getDataLength, getReturnCode, getTransportSize, serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
FUNCTIONID
public static final Short FUNCTIONID
-
NUMBERMESSAGEOBJ
public static final Short NUMBERMESSAGEOBJ
-
VARIABLESPEC
public static final Short VARIABLESPEC
-
LENGTH
public static final Short LENGTH
-
syntaxId
protected final SyntaxIdType syntaxId
-
queryType
protected final QueryType queryType
-
alarmType
protected final AlarmType alarmType
-
-
Constructor Detail
-
S7PayloadUserDataItemCpuFunctionAlarmQueryRequest
public S7PayloadUserDataItemCpuFunctionAlarmQueryRequest(DataTransportErrorCode returnCode, DataTransportSize transportSize, int dataLength, SyntaxIdType syntaxId, QueryType queryType, AlarmType alarmType)
-
-
Method Detail
-
getCpuFunctionGroup
public Byte getCpuFunctionGroup()
- Specified by:
getCpuFunctionGroupin classS7PayloadUserDataItem
-
getCpuFunctionType
public Byte getCpuFunctionType()
- Specified by:
getCpuFunctionTypein classS7PayloadUserDataItem
-
getCpuSubfunction
public Short getCpuSubfunction()
- Specified by:
getCpuSubfunctionin classS7PayloadUserDataItem
-
getSyntaxId
public SyntaxIdType getSyntaxId()
-
getQueryType
public QueryType getQueryType()
-
getAlarmType
public AlarmType getAlarmType()
-
getFunctionId
public short getFunctionId()
-
getNumberMessageObj
public short getNumberMessageObj()
-
getVariableSpec
public short getVariableSpec()
-
getLength
public short getLength()
-
serializeS7PayloadUserDataItemChild
protected void serializeS7PayloadUserDataItemChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeS7PayloadUserDataItemChildin classS7PayloadUserDataItem- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classS7PayloadUserDataItem
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classS7PayloadUserDataItem
-
staticParseS7PayloadUserDataItemBuilder
public static S7PayloadUserDataItem.S7PayloadUserDataItemBuilder staticParseS7PayloadUserDataItemBuilder(ReadBuffer readBuffer, Byte cpuFunctionGroup, Byte cpuFunctionType, Short cpuSubfunction) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classS7PayloadUserDataItem
-
hashCode
public int hashCode()
- Overrides:
hashCodein classS7PayloadUserDataItem
-
toString
public String toString()
- Overrides:
toStringin classS7PayloadUserDataItem
-
-