public static VariableAttributes decode(UaDecoder decoder) { UInteger _specifiedAttributes = decoder.decodeUInt32("SpecifiedAttributes"); LocalizedText _displayName = decoder.decodeLocalizedText("DisplayName"); LocalizedText _description = decoder.decodeLocalizedText("Description"); UInteger _writeMask = decoder.decodeUInt32("WriteMask"); UInteger _userWriteMask = decoder.decodeUInt32("UserWriteMask"); Variant _value = decoder.decodeVariant("Value"); NodeId _dataType = decoder.decodeNodeId("DataType"); Integer _valueRank = decoder.decodeInt32("ValueRank"); UInteger[] _arrayDimensions = decoder.decodeArray("ArrayDimensions", decoder::decodeUInt32, UInteger.class); UByte _accessLevel = decoder.decodeByte("AccessLevel"); UByte _userAccessLevel = decoder.decodeByte("UserAccessLevel"); Double _minimumSamplingInterval = decoder.decodeDouble("MinimumSamplingInterval"); Boolean _historizing = decoder.decodeBoolean("Historizing"); return new VariableAttributes( _specifiedAttributes, _displayName, _description, _writeMask, _userWriteMask, _value, _dataType, _valueRank, _arrayDimensions, _accessLevel, _userAccessLevel, _minimumSamplingInterval, _historizing); }
public static TestStackExRequest decode(UaDecoder decoder) { RequestHeader _requestHeader = decoder.decodeSerializable("RequestHeader", RequestHeader.class); UInteger _testId = decoder.decodeUInt32("TestId"); Integer _iteration = decoder.decodeInt32("Iteration"); CompositeTestType _input = decoder.decodeSerializable("Input", CompositeTestType.class); return new TestStackExRequest(_requestHeader, _testId, _iteration, _input); }