Klasse StaticHelper
java.lang.Object
org.apache.plc4x.java.bacnetip.readwrite.utils.StaticHelper
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic BACnetSegmentationTaggedstatic BACnetApplicationTagBooleancreateBACnetApplicationTagBoolean(boolean value) createBACnetApplicationTagCharacterString(BACnetCharacterEncoding baCnetCharacterEncoding, String value) static BACnetApplicationTagDatecreateBACnetApplicationTagDate(int year, short month, short dayOfMonth, short dayOfWeek) static BACnetApplicationTagDoublecreateBACnetApplicationTagDouble(double value) createBACnetApplicationTagEnumerated(long value) static BACnetApplicationTagNullcreateBACnetApplicationTagObjectIdentifier(short objectType, int instance) createBACnetApplicationTagOctetString(byte[] octets) static BACnetApplicationTagRealcreateBACnetApplicationTagReal(float value) createBACnetApplicationTagSignedInteger(long value) static BACnetApplicationTagTimecreateBACnetApplicationTagTime(short hour, short minute, short second, short fractional) createBACnetApplicationTagUnsignedInteger(long value) static BACnetClosingTagcreateBACnetClosingTag(short tagNum) static BACnetContextTagBitStringcreateBACnetContextTagBitString(byte tagNumber, List<Boolean> value) static BACnetContextTagBooleancreateBACnetContextTagBoolean(byte tagNumber, boolean value) createBACnetContextTagCharacterString(byte tagNumber, BACnetCharacterEncoding baCnetCharacterEncoding, String value) static BACnetContextTagDatecreateBACnetContextTagDate(byte tagNumber, int year, short month, short dayOfMonth, short dayOfWeek) static BACnetContextTagDoublecreateBACnetContextTagDouble(byte tagNumber, double value) static BACnetContextTagEnumeratedcreateBACnetContextTagEnumerated(byte tagNumber, long value) static BACnetContextTagNullcreateBACnetContextTagNull(byte tagNumber) createBACnetContextTagObjectIdentifier(byte tagNum, short objectType, int instance) static BACnetContextTagOctetStringcreateBACnetContextTagOctetString(byte tagNumber, byte[] octets) static BACnetContextTagRealcreateBACnetContextTagReal(byte tagNumber, float value) createBACnetContextTagSignedInteger(short tagNumber, long value) static BACnetContextTagTimecreateBACnetContextTagTime(byte tagNumber, short hour, short minute, short second, short fractional) createBACnetContextTagUnsignedInteger(byte tagNumber, long value) static BACnetOpeningTagcreateBACnetOpeningTag(short tagNum) createBACnetPropertyIdentifierTagged(byte tagNum, int propertyType) static BACnetTagHeadercreateBACnetTagHeaderBalanced(boolean isContext, short id, long value) static BACnetVendorIdTaggedcreateBACnetVendorIdApplicationTagged(int vendorId) static BACnetVendorIdTaggedcreateBACnetVendorIdContextTagged(byte tagNum, int vendorId) static org.apache.commons.lang3.tuple.Pair<Long,BACnetTagPayloadEnumerated> CreateEnumeratedPayload(long value) static org.apache.commons.lang3.tuple.Pair<Long,BACnetTagPayloadSignedInteger> createSignedPayload(long value) static org.apache.commons.lang3.tuple.Pair<Long,BACnetTagPayloadUnsignedInteger> createUnsignedPayload(long value) static booleanisBACnetConstructedDataClosingTag(ReadBuffer readBuffer, boolean instantTerminate, int expectedTagNumber) static BACnetObjectTypemapBACnetObjectType(BACnetContextTagEnumerated rawObjectType) Veraltet.static longparseVarUint(byte[] data) static ObjectreadEnumGeneric(ReadBuffer readBuffer, Long actualLength, Enum<?> template) static ObjectreadEnumGenericFailing(ReadBuffer readBuffer, Long actualLength, Enum<?> template) static BACnetObjectTypereadObjectType(ReadBuffer readBuffer) Veraltet.static longreadProprietaryEnumGeneric(ReadBuffer readBuffer, Long actualLength, boolean shouldRead) static ShortreadProprietaryObjectType(ReadBuffer readBuffer, BACnetObjectType value) Veraltet.static voidwriteEnumGeneric(WriteBuffer writeBuffer, Enum<?> value) static voidwriteObjectType(WriteBuffer writeBuffer, BACnetObjectType value) Veraltet.static voidwriteProprietaryEnumGeneric(WriteBuffer writeBuffer, long value, boolean shouldWrite) static voidwriteProprietaryObjectType(WriteBuffer writeBuffer, BACnetObjectType objectType, int value) Veraltet.static byte[]writeVarUint(long value)
-
Felddetails
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Konstruktordetails
-
StaticHelper
public StaticHelper()
-
-
Methodendetails
-
readEnumGenericFailing
public static Object readEnumGenericFailing(ReadBuffer readBuffer, Long actualLength, Enum<?> template) throws ParseException - Löst aus:
ParseException
-
readEnumGeneric
public static Object readEnumGeneric(ReadBuffer readBuffer, Long actualLength, Enum<?> template) throws ParseException - Löst aus:
ParseException
-
readProprietaryEnumGeneric
public static long readProprietaryEnumGeneric(ReadBuffer readBuffer, Long actualLength, boolean shouldRead) throws ParseException - Löst aus:
ParseException
-
writeEnumGeneric
public static void writeEnumGeneric(WriteBuffer writeBuffer, Enum<?> value) throws SerializationException - Löst aus:
SerializationException
-
writeProprietaryEnumGeneric
public static void writeProprietaryEnumGeneric(WriteBuffer writeBuffer, long value, boolean shouldWrite) throws SerializationException - Löst aus:
SerializationException
-
readObjectType
@Deprecated public static BACnetObjectType readObjectType(ReadBuffer readBuffer) throws ParseException Veraltet.- Löst aus:
ParseException
-
readProprietaryObjectType
@Deprecated public static Short readProprietaryObjectType(ReadBuffer readBuffer, BACnetObjectType value) throws ParseException Veraltet.- Löst aus:
ParseException
-
writeObjectType
@Deprecated public static void writeObjectType(WriteBuffer writeBuffer, BACnetObjectType value) throws SerializationException Veraltet.- Löst aus:
SerializationException
-
writeProprietaryObjectType
@Deprecated public static void writeProprietaryObjectType(WriteBuffer writeBuffer, BACnetObjectType objectType, int value) throws SerializationException Veraltet.- Löst aus:
SerializationException
-
mapBACnetObjectType
@Deprecated public static BACnetObjectType mapBACnetObjectType(BACnetContextTagEnumerated rawObjectType) Veraltet. -
isBACnetConstructedDataClosingTag
public static boolean isBACnetConstructedDataClosingTag(ReadBuffer readBuffer, boolean instantTerminate, int expectedTagNumber) -
parseVarUint
public static long parseVarUint(byte[] data) -
writeVarUint
public static byte[] writeVarUint(long value) -
createBACnetTagHeaderBalanced
public static BACnetTagHeader createBACnetTagHeaderBalanced(boolean isContext, short id, long value) -
createBACnetApplicationTagNull
-
createBACnetContextTagNull
-
createBACnetOpeningTag
-
createBACnetClosingTag
-
createBACnetApplicationTagObjectIdentifier
public static BACnetApplicationTagObjectIdentifier createBACnetApplicationTagObjectIdentifier(short objectType, int instance) -
createBACnetContextTagObjectIdentifier
public static BACnetContextTagObjectIdentifier createBACnetContextTagObjectIdentifier(byte tagNum, short objectType, int instance) -
createBACnetPropertyIdentifierTagged
public static BACnetPropertyIdentifierTagged createBACnetPropertyIdentifierTagged(byte tagNum, int propertyType) -
createBACnetVendorIdApplicationTagged
-
createBACnetVendorIdContextTagged
-
creatBACnetSegmentationTagged
-
createBACnetApplicationTagBoolean
-
createBACnetContextTagBoolean
-
createBACnetApplicationTagUnsignedInteger
public static BACnetApplicationTagUnsignedInteger createBACnetApplicationTagUnsignedInteger(long value) -
createBACnetContextTagUnsignedInteger
public static BACnetContextTagUnsignedInteger createBACnetContextTagUnsignedInteger(byte tagNumber, long value) -
createUnsignedPayload
public static org.apache.commons.lang3.tuple.Pair<Long,BACnetTagPayloadUnsignedInteger> createUnsignedPayload(long value) -
createBACnetApplicationTagSignedInteger
-
createBACnetContextTagSignedInteger
public static BACnetContextTagSignedInteger createBACnetContextTagSignedInteger(short tagNumber, long value) -
createSignedPayload
public static org.apache.commons.lang3.tuple.Pair<Long,BACnetTagPayloadSignedInteger> createSignedPayload(long value) -
createBACnetApplicationTagReal
-
createBACnetContextTagReal
-
createBACnetApplicationTagDouble
-
createBACnetContextTagDouble
-
createBACnetApplicationTagOctetString
-
createBACnetContextTagOctetString
public static BACnetContextTagOctetString createBACnetContextTagOctetString(byte tagNumber, byte[] octets) -
createBACnetApplicationTagCharacterString
public static BACnetApplicationTagCharacterString createBACnetApplicationTagCharacterString(BACnetCharacterEncoding baCnetCharacterEncoding, String value) -
createBACnetContextTagCharacterString
public static BACnetContextTagCharacterString createBACnetContextTagCharacterString(byte tagNumber, BACnetCharacterEncoding baCnetCharacterEncoding, String value) -
createBACnetApplicationTagBitString
public static BACnetApplicationTagBitString createBACnetApplicationTagBitString(List<Boolean> value) -
createBACnetContextTagBitString
public static BACnetContextTagBitString createBACnetContextTagBitString(byte tagNumber, List<Boolean> value) -
createBACnetApplicationTagEnumerated
-
createBACnetContextTagEnumerated
public static BACnetContextTagEnumerated createBACnetContextTagEnumerated(byte tagNumber, long value) -
CreateEnumeratedPayload
public static org.apache.commons.lang3.tuple.Pair<Long,BACnetTagPayloadEnumerated> CreateEnumeratedPayload(long value) -
createBACnetApplicationTagDate
public static BACnetApplicationTagDate createBACnetApplicationTagDate(int year, short month, short dayOfMonth, short dayOfWeek) -
createBACnetContextTagDate
public static BACnetContextTagDate createBACnetContextTagDate(byte tagNumber, int year, short month, short dayOfMonth, short dayOfWeek) -
createBACnetApplicationTagTime
public static BACnetApplicationTagTime createBACnetApplicationTagTime(short hour, short minute, short second, short fractional) -
createBACnetContextTagTime
public static BACnetContextTagTime createBACnetContextTagTime(byte tagNumber, short hour, short minute, short second, short fractional)
-