public static MonitoredItemCreateRequest decode(UaDecoder decoder) { ReadValueId _itemToMonitor = decoder.decodeSerializable("ItemToMonitor", ReadValueId.class); MonitoringMode _monitoringMode = decoder.decodeEnumeration("MonitoringMode", MonitoringMode.class); MonitoringParameters _requestedParameters = decoder.decodeSerializable("RequestedParameters", MonitoringParameters.class); return new MonitoredItemCreateRequest(_itemToMonitor, _monitoringMode, _requestedParameters); }
public static WriteResponse decode(UaDecoder decoder) { ResponseHeader _responseHeader = decoder.decodeSerializable("ResponseHeader", ResponseHeader.class); StatusCode[] _results = decoder.decodeArray("Results", decoder::decodeStatusCode, StatusCode.class); DiagnosticInfo[] _diagnosticInfos = decoder.decodeArray("DiagnosticInfos", decoder::decodeDiagnosticInfo, DiagnosticInfo.class); return new WriteResponse(_responseHeader, _results, _diagnosticInfos); }
public static MonitoredItemCreateResult decode(UaDecoder decoder) { StatusCode _statusCode = decoder.decodeStatusCode("StatusCode"); UInteger _monitoredItemId = decoder.decodeUInt32("MonitoredItemId"); Double _revisedSamplingInterval = decoder.decodeDouble("RevisedSamplingInterval"); UInteger _revisedQueueSize = decoder.decodeUInt32("RevisedQueueSize"); ExtensionObject _filterResult = decoder.decodeExtensionObject("FilterResult"); return new MonitoredItemCreateResult( _statusCode, _monitoredItemId, _revisedSamplingInterval, _revisedQueueSize, _filterResult); }
public static NodeAttributesMask decode(UaDecoder decoder) { int value = decoder.decodeInt32(null); return VALUES.getOrDefault(value, null); }
public static NodeClass decode(UaDecoder decoder) { int value = decoder.decodeInt32(null); return VALUES.getOrDefault(value, null); }
public static ArrayTestType decode(UaDecoder decoder) { Boolean[] _booleans = decoder.decodeArray("Booleans", decoder::decodeBoolean, Boolean.class); Byte[] _sBytes = decoder.decodeArray("SBytes", decoder::decodeSByte, Byte.class); Short[] _int16s = decoder.decodeArray("Int16s", decoder::decodeInt16, Short.class); UShort[] _uInt16s = decoder.decodeArray("UInt16s", decoder::decodeUInt16, UShort.class); Integer[] _int32s = decoder.decodeArray("Int32s", decoder::decodeInt32, Integer.class); UInteger[] _uInt32s = decoder.decodeArray("UInt32s", decoder::decodeUInt32, UInteger.class); Long[] _int64s = decoder.decodeArray("Int64s", decoder::decodeInt64, Long.class); ULong[] _uInt64s = decoder.decodeArray("UInt64s", decoder::decodeUInt64, ULong.class); Float[] _floats = decoder.decodeArray("Floats", decoder::decodeFloat, Float.class); Double[] _doubles = decoder.decodeArray("Doubles", decoder::decodeDouble, Double.class); String[] _strings = decoder.decodeArray("Strings", decoder::decodeString, String.class); DateTime[] _dateTimes = decoder.decodeArray("DateTimes", decoder::decodeDateTime, DateTime.class); UUID[] _guids = decoder.decodeArray("Guids", decoder::decodeGuid, UUID.class); ByteString[] _byteStrings = decoder.decodeArray("ByteStrings", decoder::decodeByteString, ByteString.class); XmlElement[] _xmlElements = decoder.decodeArray("XmlElements", decoder::decodeXmlElement, XmlElement.class); NodeId[] _nodeIds = decoder.decodeArray("NodeIds", decoder::decodeNodeId, NodeId.class); ExpandedNodeId[] _expandedNodeIds = decoder.decodeArray("ExpandedNodeIds", decoder::decodeExpandedNodeId, ExpandedNodeId.class); StatusCode[] _statusCodes = decoder.decodeArray("StatusCodes", decoder::decodeStatusCode, StatusCode.class); DiagnosticInfo[] _diagnosticInfos = decoder.decodeArray("DiagnosticInfos", decoder::decodeDiagnosticInfo, DiagnosticInfo.class); QualifiedName[] _qualifiedNames = decoder.decodeArray("QualifiedNames", decoder::decodeQualifiedName, QualifiedName.class); LocalizedText[] _localizedTexts = decoder.decodeArray("LocalizedTexts", decoder::decodeLocalizedText, LocalizedText.class); ExtensionObject[] _extensionObjects = decoder.decodeArray( "ExtensionObjects", decoder::decodeExtensionObject, ExtensionObject.class); DataValue[] _dataValues = decoder.decodeArray("DataValues", decoder::decodeDataValue, DataValue.class); Variant[] _variants = decoder.decodeArray("Variants", decoder::decodeVariant, Variant.class); EnumeratedTestType[] _enumeratedValues = decoder.decodeArray( "EnumeratedValues", decoder::decodeEnumeration, EnumeratedTestType.class); return new ArrayTestType( _booleans, _sBytes, _int16s, _uInt16s, _int32s, _uInt32s, _int64s, _uInt64s, _floats, _doubles, _strings, _dateTimes, _guids, _byteStrings, _xmlElements, _nodeIds, _expandedNodeIds, _statusCodes, _diagnosticInfos, _qualifiedNames, _localizedTexts, _extensionObjects, _dataValues, _variants, _enumeratedValues); }
public static EndpointUrlListDataType decode(UaDecoder decoder) { String[] _endpointUrlList = decoder.decodeArray("EndpointUrlList", decoder::decodeString, String.class); return new EndpointUrlListDataType(_endpointUrlList); }