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(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); }