public static void encode(CallResponse callResponse, UaEncoder encoder) { encoder.encodeSerializable( "ResponseHeader", callResponse._responseHeader != null ? callResponse._responseHeader : new ResponseHeader()); encoder.encodeArray("Results", callResponse._results, encoder::encodeSerializable); encoder.encodeArray( "DiagnosticInfos", callResponse._diagnosticInfos, encoder::encodeDiagnosticInfo); }
public static void encode(ReadResponse readResponse, UaEncoder encoder) { encoder.encodeSerializable( "ResponseHeader", readResponse._responseHeader != null ? readResponse._responseHeader : new ResponseHeader()); encoder.encodeArray("Results", readResponse._results, encoder::encodeDataValue); encoder.encodeArray( "DiagnosticInfos", readResponse._diagnosticInfos, encoder::encodeDiagnosticInfo); }
public static void encode(VariableAttributes variableAttributes, UaEncoder encoder) { encoder.encodeUInt32("SpecifiedAttributes", variableAttributes._specifiedAttributes); encoder.encodeLocalizedText("DisplayName", variableAttributes._displayName); encoder.encodeLocalizedText("Description", variableAttributes._description); encoder.encodeUInt32("WriteMask", variableAttributes._writeMask); encoder.encodeUInt32("UserWriteMask", variableAttributes._userWriteMask); encoder.encodeVariant("Value", variableAttributes._value); encoder.encodeNodeId("DataType", variableAttributes._dataType); encoder.encodeInt32("ValueRank", variableAttributes._valueRank); encoder.encodeArray( "ArrayDimensions", variableAttributes._arrayDimensions, encoder::encodeUInt32); encoder.encodeByte("AccessLevel", variableAttributes._accessLevel); encoder.encodeByte("UserAccessLevel", variableAttributes._userAccessLevel); encoder.encodeDouble("MinimumSamplingInterval", variableAttributes._minimumSamplingInterval); encoder.encodeBoolean("Historizing", variableAttributes._historizing); }
public static void encode(HistoryData historyData, UaEncoder encoder) { encoder.encodeArray("DataValues", historyData._dataValues, encoder::encodeDataValue); }