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(TestStackExRequest testStackExRequest, UaEncoder encoder) { encoder.encodeSerializable( "RequestHeader", testStackExRequest._requestHeader != null ? testStackExRequest._requestHeader : new RequestHeader()); encoder.encodeUInt32("TestId", testStackExRequest._testId); encoder.encodeInt32("Iteration", testStackExRequest._iteration); encoder.encodeSerializable( "Input", testStackExRequest._input != null ? testStackExRequest._input : new CompositeTestType()); }
public static void encode(BrowseDirection browseDirection, UaEncoder encoder) { encoder.encodeInt32(null, browseDirection.getValue()); }
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); }