2 Autogenerate code from xml spec 5 from datetime
import datetime
6 from enum
import Enum, IntEnum
11 from opcua.ua import ua_binary
as uabin
22 :vartype Constraint: 3 36 :vartype EraseExisting: 4 50 :ivar TrustedCertificates: 51 :vartype TrustedCertificates: 1 53 :vartype TrustedCrls: 2 54 :ivar IssuerCertificates: 55 :vartype IssuerCertificates: 4 57 :vartype IssuerCrls: 8 62 TrustedCertificates = 1
64 IssuerCertificates = 4
71 The type of identifier used in a node id. 90 A mask specifying the class of the node. 93 :vartype Unspecified: 0 101 :vartype ObjectType: 8 103 :vartype VariableType: 16 105 :vartype ReferenceType: 32 107 :vartype DataType: 64 124 The types of applications. 130 :ivar ClientAndServer: 131 :vartype ClientAndServer: 2 132 :ivar DiscoveryServer: 133 :vartype DiscoveryServer: 3 143 The type of security to use on a message. 151 :ivar SignAndEncrypt: 152 :vartype SignAndEncrypt: 3 162 The possible user token types. 165 :vartype Anonymous: 0 169 :vartype Certificate: 2 171 :vartype IssuedToken: 3 184 Indicates whether a token if being created or renewed. 197 The bits used to specify default attributes for a new node. 202 :vartype AccessLevel: 1 203 :ivar ArrayDimensions: 204 :vartype ArrayDimensions: 2 206 :vartype BrowseName: 4 207 :ivar ContainsNoLoops: 208 :vartype ContainsNoLoops: 8 210 :vartype DataType: 16 212 :vartype Description: 32 214 :vartype DisplayName: 64 216 :vartype EventNotifier: 128 218 :vartype Executable: 256 220 :vartype Historizing: 512 222 :vartype InverseName: 1024 224 :vartype IsAbstract: 2048 225 :ivar MinimumSamplingInterval: 226 :vartype MinimumSamplingInterval: 4096 228 :vartype NodeClass: 8192 230 :vartype NodeId: 16384 232 :vartype Symmetric: 32768 233 :ivar UserAccessLevel: 234 :vartype UserAccessLevel: 65536 235 :ivar UserExecutable: 236 :vartype UserExecutable: 131072 238 :vartype UserWriteMask: 262144 240 :vartype ValueRank: 524288 242 :vartype WriteMask: 1048576 244 :vartype Value: 2097152 246 :vartype All: 4194303 248 :vartype BaseNode: 1335396 250 :vartype Object: 1335524 251 :ivar ObjectTypeOrDataType: 252 :vartype ObjectTypeOrDataType: 1337444 254 :vartype Variable: 4026999 256 :vartype VariableType: 3958902 258 :vartype Method: 1466724 260 :vartype ReferenceType: 1371236 262 :vartype View: 1335532 277 MinimumSamplingInterval = 4096
281 UserAccessLevel = 65536
282 UserExecutable = 131072
283 UserWriteMask = 262144
290 ObjectTypeOrDataType = 1337444
292 VariableType = 3958902
294 ReferenceType = 1371236
300 Define bits used to indicate which attributes are writable. 305 :vartype AccessLevel: 1 306 :ivar ArrayDimensions: 307 :vartype ArrayDimensions: 2 309 :vartype BrowseName: 4 310 :ivar ContainsNoLoops: 311 :vartype ContainsNoLoops: 8 313 :vartype DataType: 16 315 :vartype Description: 32 317 :vartype DisplayName: 64 319 :vartype EventNotifier: 128 321 :vartype Executable: 256 323 :vartype Historizing: 512 325 :vartype InverseName: 1024 327 :vartype IsAbstract: 2048 328 :ivar MinimumSamplingInterval: 329 :vartype MinimumSamplingInterval: 4096 331 :vartype NodeClass: 8192 333 :vartype NodeId: 16384 335 :vartype Symmetric: 32768 336 :ivar UserAccessLevel: 337 :vartype UserAccessLevel: 65536 338 :ivar UserExecutable: 339 :vartype UserExecutable: 131072 341 :vartype UserWriteMask: 262144 343 :vartype ValueRank: 524288 345 :vartype WriteMask: 1048576 346 :ivar ValueForVariableType: 347 :vartype ValueForVariableType: 2097152 362 MinimumSamplingInterval = 4096
366 UserAccessLevel = 65536
367 UserExecutable = 131072
368 UserWriteMask = 262144
371 ValueForVariableType = 2097152
376 The directions of the references to return. 392 A bit mask which specifies what should be returned in a browse response. 396 :ivar ReferenceTypeId: 397 :vartype ReferenceTypeId: 1 399 :vartype IsForward: 2 401 :vartype NodeClass: 4 403 :vartype BrowseName: 8 405 :vartype DisplayName: 16 406 :ivar TypeDefinition: 407 :vartype TypeDefinition: 32 410 :ivar ReferenceTypeInfo: 411 :vartype ReferenceTypeInfo: 3 413 :vartype TargetInfo: 60 423 ReferenceTypeInfo = 3
434 :vartype SelfTested: 2 436 :vartype Certified: 3 451 :vartype GreaterThan: 2 454 :ivar GreaterThanOrEqual: 455 :vartype GreaterThanOrEqual: 4 456 :ivar LessThanOrEqual: 457 :vartype LessThanOrEqual: 5 477 :vartype RelatedTo: 15 479 :vartype BitwiseAnd: 16 481 :vartype BitwiseOr: 17 487 GreaterThanOrEqual = 4
561 :vartype Reporting: 2 573 :vartype StatusValue: 1 574 :ivar StatusValueTimestamp: 575 :vartype StatusValueTimestamp: 2 579 StatusValueTimestamp = 2
598 A simple enumerated type used for testing. 623 :vartype Transparent: 4 624 :ivar HotAndMirrored: 625 :vartype HotAndMirrored: 5 641 :ivar NoConfiguration: 642 :vartype NoConfiguration: 2 644 :vartype Suspended: 3 649 :ivar CommunicationFault: 650 :vartype CommunicationFault: 6 660 CommunicationFault = 6
667 :vartype NodeAdded: 1 669 :vartype NodeDeleted: 2 670 :ivar ReferenceAdded: 671 :vartype ReferenceAdded: 4 672 :ivar ReferenceDeleted: 673 :vartype ReferenceDeleted: 8 674 :ivar DataTypeChanged: 675 :vartype DataTypeChanged: 16 701 :vartype AbsoluteValue: 0 702 :ivar PercentOfValue: 703 :vartype PercentOfValue: 1 704 :ivar PercentOfRange: 705 :vartype PercentOfRange: 2 706 :ivar PercentOfEURange: 707 :vartype PercentOfEURange: 3 720 A recursive structure containing diagnostic information associated with a status code. 723 :vartype Encoding: UInt8 725 :vartype SymbolicId: Int32 727 :vartype NamespaceURI: Int32 729 :vartype Locale: Int32 731 :vartype LocalizedText: Int32 732 :ivar AdditionalInfo: 733 :vartype AdditionalInfo: CharArray 734 :ivar InnerStatusCode: 735 :vartype InnerStatusCode: StatusCode 736 :ivar InnerDiagnosticInfo: 737 :vartype InnerDiagnosticInfo: DiagnosticInfo 742 'SymbolicId':
'Int32',
743 'NamespaceURI':
'Int32',
745 'LocalizedText':
'Int32',
746 'AdditionalInfo':
'CharArray',
747 'InnerStatusCode':
'StatusCode',
748 'InnerDiagnosticInfo':
'DiagnosticInfo',
752 if binary
is not None:
775 packet.append(uabin.Primitives.UInt8.pack(self.
Encoding))
777 packet.append(uabin.Primitives.Int32.pack(self.
SymbolicId))
779 packet.append(uabin.Primitives.Int32.pack(self.
NamespaceURI))
781 packet.append(uabin.Primitives.Int32.pack(self.
Locale))
783 packet.append(uabin.Primitives.Int32.pack(self.
LocalizedText))
785 packet.append(uabin.Primitives.CharArray.pack(self.
AdditionalInfo))
787 packet.append(self.InnerStatusCode.to_binary())
789 packet.append(self.InnerDiagnosticInfo.to_binary())
790 return b
''.join(packet)
797 self.
Encoding = uabin.Primitives.UInt8.unpack(data)
799 self.
SymbolicId = uabin.Primitives.Int32.unpack(data)
807 self.
Locale = uabin.Primitives.Int32.unpack(data)
828 return 'DiagnosticInfo(' +
'Encoding:' + str(self.
Encoding) +
', ' + \
829 'SymbolicId:' + str(self.
SymbolicId) +
', ' + \
831 'Locale:' + str(self.
Locale) +
', ' + \
842 :ivar SpecifiedLists: 843 :vartype SpecifiedLists: UInt32 844 :ivar TrustedCertificates: 845 :vartype TrustedCertificates: ByteString 847 :vartype TrustedCrls: ByteString 848 :ivar IssuerCertificates: 849 :vartype IssuerCertificates: ByteString 851 :vartype IssuerCrls: ByteString 855 'SpecifiedLists':
'UInt32',
856 'TrustedCertificates':
'ByteString',
857 'TrustedCrls':
'ByteString',
858 'IssuerCertificates':
'ByteString',
859 'IssuerCrls':
'ByteString',
863 if binary
is not None:
879 packet.append(uabin.Primitives.ByteString.pack(fieldname))
880 packet.append(uabin.Primitives.Int32.pack(len(self.
TrustedCrls)))
882 packet.append(uabin.Primitives.ByteString.pack(fieldname))
885 packet.append(uabin.Primitives.ByteString.pack(fieldname))
886 packet.append(uabin.Primitives.Int32.pack(len(self.
IssuerCrls)))
888 packet.append(uabin.Primitives.ByteString.pack(fieldname))
889 return b
''.join(packet)
898 self.
TrustedCrls = uabin.Primitives.ByteString.unpack_array(data)
900 self.
IssuerCrls = uabin.Primitives.ByteString.unpack_array(data)
903 return 'TrustListDataType(' +
'SpecifiedLists:' + str(self.
SpecifiedLists) +
', ' + \
914 An argument for a method. 917 :vartype Name: String 919 :vartype DataType: NodeId 921 :vartype ValueRank: Int32 922 :ivar ArrayDimensions: 923 :vartype ArrayDimensions: UInt32 925 :vartype Description: LocalizedText 930 'DataType':
'NodeId',
931 'ValueRank':
'Int32',
932 'ArrayDimensions':
'UInt32',
933 'Description':
'LocalizedText',
937 if binary
is not None:
950 packet.append(uabin.Primitives.String.pack(self.
Name))
951 packet.append(self.DataType.to_binary())
952 packet.append(uabin.Primitives.Int32.pack(self.
ValueRank))
955 packet.append(uabin.Primitives.UInt32.pack(fieldname))
956 packet.append(self.Description.to_binary())
957 return b
''.join(packet)
964 self.
Name = uabin.Primitives.String.unpack(data)
965 self.
DataType = NodeId.from_binary(data)
966 self.
ValueRank = uabin.Primitives.Int32.unpack(data)
971 return 'Argument(' +
'Name:' + str(self.
Name) +
', ' + \
972 'DataType:' + str(self.
DataType) +
', ' + \
973 'ValueRank:' + str(self.
ValueRank) +
', ' + \
982 A mapping between a value of an enumerated type and a name and description. 985 :vartype Value: Int64 987 :vartype DisplayName: LocalizedText 989 :vartype Description: LocalizedText 994 'DisplayName':
'LocalizedText',
995 'Description':
'LocalizedText',
999 if binary
is not None:
1010 packet.append(uabin.Primitives.Int64.pack(self.
Value))
1011 packet.append(self.DisplayName.to_binary())
1012 packet.append(self.Description.to_binary())
1013 return b
''.join(packet)
1020 self.
Value = uabin.Primitives.Int64.unpack(data)
1021 self.
DisplayName = LocalizedText.from_binary(data)
1022 self.
Description = LocalizedText.from_binary(data)
1025 return 'EnumValueType(' +
'Value:' + str(self.
Value) +
', ' + \
1034 This abstract Structured DataType is the base DataType for all DataTypes representing a bit mask. 1037 :vartype Value: ByteString 1039 :vartype ValidBits: ByteString 1043 'Value':
'ByteString',
1044 'ValidBits':
'ByteString',
1048 if binary
is not None:
1058 packet.append(uabin.Primitives.ByteString.pack(self.
Value))
1059 packet.append(uabin.Primitives.ByteString.pack(self.
ValidBits))
1060 return b
''.join(packet)
1067 self.
Value = uabin.Primitives.ByteString.unpack(data)
1068 self.
ValidBits = uabin.Primitives.ByteString.unpack(data)
1071 return 'OptionSet(' +
'Value:' + str(self.
Value) +
', ' + \
1072 'ValidBits:' + str(self.
ValidBits) +
')' 1079 This abstract DataType is the base DataType for all union DataTypes. 1087 if binary
is not None:
1095 return b
''.join(packet)
1105 return 'Union(' + +
')' 1113 :vartype Offset: Int16 1114 :ivar DaylightSavingInOffset: 1115 :vartype DaylightSavingInOffset: Boolean 1120 'DaylightSavingInOffset':
'Boolean',
1124 if binary
is not None:
1134 packet.append(uabin.Primitives.Int16.pack(self.
Offset))
1136 return b
''.join(packet)
1143 self.
Offset = uabin.Primitives.Int16.unpack(data)
1147 return 'TimeZoneDataType(' +
'Offset:' + str(self.
Offset) +
', ' + \
1155 Describes an application and how to find it. 1157 :ivar ApplicationUri: 1158 :vartype ApplicationUri: String 1160 :vartype ProductUri: String 1161 :ivar ApplicationName: 1162 :vartype ApplicationName: LocalizedText 1163 :ivar ApplicationType: 1164 :vartype ApplicationType: ApplicationType 1165 :ivar GatewayServerUri: 1166 :vartype GatewayServerUri: String 1167 :ivar DiscoveryProfileUri: 1168 :vartype DiscoveryProfileUri: String 1169 :ivar DiscoveryUrls: 1170 :vartype DiscoveryUrls: String 1174 'ApplicationUri':
'String',
1175 'ProductUri':
'String',
1176 'ApplicationName':
'LocalizedText',
1177 'ApplicationType':
'ApplicationType',
1178 'GatewayServerUri':
'String',
1179 'DiscoveryProfileUri':
'String',
1180 'DiscoveryUrls':
'String',
1184 if binary
is not None:
1200 packet.append(uabin.Primitives.String.pack(self.
ProductUri))
1201 packet.append(self.ApplicationName.to_binary())
1202 packet.append(uabin.Primitives.UInt32.pack(self.ApplicationType.value))
1205 packet.append(uabin.Primitives.Int32.pack(len(self.
DiscoveryUrls)))
1207 packet.append(uabin.Primitives.String.pack(fieldname))
1208 return b
''.join(packet)
1216 self.
ProductUri = uabin.Primitives.String.unpack(data)
1221 self.
DiscoveryUrls = uabin.Primitives.String.unpack_array(data)
1224 return 'ApplicationDescription(' +
'ApplicationUri:' + str(self.
ApplicationUri) +
', ' + \
1225 'ProductUri:' + str(self.
ProductUri) +
', ' + \
1237 The header passed with every server request. 1239 :ivar AuthenticationToken: 1240 :vartype AuthenticationToken: NodeId 1242 :vartype Timestamp: DateTime 1243 :ivar RequestHandle: 1244 :vartype RequestHandle: UInt32 1245 :ivar ReturnDiagnostics: 1246 :vartype ReturnDiagnostics: UInt32 1248 :vartype AuditEntryId: String 1250 :vartype TimeoutHint: UInt32 1251 :ivar AdditionalHeader: 1252 :vartype AdditionalHeader: ExtensionObject 1256 'AuthenticationToken':
'NodeId',
1257 'Timestamp':
'DateTime',
1258 'RequestHandle':
'UInt32',
1259 'ReturnDiagnostics':
'UInt32',
1260 'AuditEntryId':
'String',
1261 'TimeoutHint':
'UInt32',
1262 'AdditionalHeader':
'ExtensionObject',
1266 if binary
is not None:
1281 packet.append(self.AuthenticationToken.to_binary())
1282 packet.append(uabin.Primitives.DateTime.pack(self.
Timestamp))
1283 packet.append(uabin.Primitives.UInt32.pack(self.
RequestHandle))
1285 packet.append(uabin.Primitives.String.pack(self.
AuditEntryId))
1286 packet.append(uabin.Primitives.UInt32.pack(self.
TimeoutHint))
1288 return b
''.join(packet)
1296 self.
Timestamp = uabin.Primitives.DateTime.unpack(data)
1299 self.
AuditEntryId = uabin.Primitives.String.unpack(data)
1300 self.
TimeoutHint = uabin.Primitives.UInt32.unpack(data)
1304 return 'RequestHeader(' +
'AuthenticationToken:' + str(self.
AuthenticationToken) +
', ' + \
1305 'Timestamp:' + str(self.
Timestamp) +
', ' + \
1317 The header passed with every server response. 1320 :vartype Timestamp: DateTime 1321 :ivar RequestHandle: 1322 :vartype RequestHandle: UInt32 1323 :ivar ServiceResult: 1324 :vartype ServiceResult: StatusCode 1325 :ivar ServiceDiagnostics: 1326 :vartype ServiceDiagnostics: DiagnosticInfo 1328 :vartype StringTable: String 1329 :ivar AdditionalHeader: 1330 :vartype AdditionalHeader: ExtensionObject 1334 'Timestamp':
'DateTime',
1335 'RequestHandle':
'UInt32',
1336 'ServiceResult':
'StatusCode',
1337 'ServiceDiagnostics':
'DiagnosticInfo',
1338 'StringTable':
'String',
1339 'AdditionalHeader':
'ExtensionObject',
1343 if binary
is not None:
1357 packet.append(uabin.Primitives.DateTime.pack(self.
Timestamp))
1358 packet.append(uabin.Primitives.UInt32.pack(self.
RequestHandle))
1359 packet.append(self.ServiceResult.to_binary())
1360 packet.append(self.ServiceDiagnostics.to_binary())
1361 packet.append(uabin.Primitives.Int32.pack(len(self.
StringTable)))
1363 packet.append(uabin.Primitives.String.pack(fieldname))
1365 return b
''.join(packet)
1372 self.
Timestamp = uabin.Primitives.DateTime.unpack(data)
1376 self.
StringTable = uabin.Primitives.String.unpack_array(data)
1380 return 'ResponseHeader(' +
'Timestamp:' + str(self.
Timestamp) +
', ' + \
1392 The response returned by all services when there is a service level error. 1395 :vartype TypeId: NodeId 1396 :ivar ResponseHeader: 1397 :vartype ResponseHeader: ResponseHeader 1402 'ResponseHeader':
'ResponseHeader',
1406 if binary
is not None:
1416 packet.append(self.TypeId.to_binary())
1417 packet.append(self.ResponseHeader.to_binary())
1418 return b
''.join(packet)
1425 self.
TypeId = NodeId.from_binary(data)
1429 return 'ServiceFault(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
1438 :vartype EndpointUrl: String 1440 :vartype LocaleIds: String 1442 :vartype ServerUris: String 1446 'EndpointUrl':
'String',
1447 'LocaleIds':
'String',
1448 'ServerUris':
'String',
1452 if binary
is not None:
1463 packet.append(uabin.Primitives.String.pack(self.
EndpointUrl))
1464 packet.append(uabin.Primitives.Int32.pack(len(self.
LocaleIds)))
1466 packet.append(uabin.Primitives.String.pack(fieldname))
1467 packet.append(uabin.Primitives.Int32.pack(len(self.
ServerUris)))
1469 packet.append(uabin.Primitives.String.pack(fieldname))
1470 return b
''.join(packet)
1477 self.
EndpointUrl = uabin.Primitives.String.unpack(data)
1478 self.
LocaleIds = uabin.Primitives.String.unpack_array(data)
1479 self.
ServerUris = uabin.Primitives.String.unpack_array(data)
1482 return 'FindServersParameters(' +
'EndpointUrl:' + str(self.
EndpointUrl) +
', ' + \
1483 'LocaleIds:' + str(self.
LocaleIds) +
', ' + \
1491 Finds the servers known to the discovery server. 1494 :vartype TypeId: NodeId 1495 :ivar RequestHeader: 1496 :vartype RequestHeader: RequestHeader 1498 :vartype Parameters: FindServersParameters 1503 'RequestHeader':
'RequestHeader',
1504 'Parameters':
'FindServersParameters',
1508 if binary
is not None:
1519 packet.append(self.TypeId.to_binary())
1520 packet.append(self.RequestHeader.to_binary())
1521 packet.append(self.Parameters.to_binary())
1522 return b
''.join(packet)
1529 self.
TypeId = NodeId.from_binary(data)
1531 self.
Parameters = FindServersParameters.from_binary(data)
1534 return 'FindServersRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
1543 Finds the servers known to the discovery server. 1546 :vartype TypeId: NodeId 1547 :ivar ResponseHeader: 1548 :vartype ResponseHeader: ResponseHeader 1550 :vartype Servers: ApplicationDescription 1555 'ResponseHeader':
'ResponseHeader',
1556 'Servers':
'ApplicationDescription',
1560 if binary
is not None:
1571 packet.append(self.TypeId.to_binary())
1572 packet.append(self.ResponseHeader.to_binary())
1573 packet.append(uabin.Primitives.Int32.pack(len(self.
Servers)))
1574 for fieldname
in self.
Servers:
1575 packet.append(fieldname.to_binary())
1576 return b
''.join(packet)
1583 self.
TypeId = NodeId.from_binary(data)
1585 length = uabin.Primitives.Int32.unpack(data)
1588 for _
in range(0, length):
1589 array.append(ApplicationDescription.from_binary(data))
1593 return 'FindServersResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
1595 'Servers:' + str(self.
Servers) +
')' 1603 :vartype RecordId: UInt32 1605 :vartype ServerName: String 1607 :vartype DiscoveryUrl: String 1608 :ivar ServerCapabilities: 1609 :vartype ServerCapabilities: String 1613 'RecordId':
'UInt32',
1614 'ServerName':
'String',
1615 'DiscoveryUrl':
'String',
1616 'ServerCapabilities':
'String',
1620 if binary
is not None:
1632 packet.append(uabin.Primitives.UInt32.pack(self.
RecordId))
1633 packet.append(uabin.Primitives.String.pack(self.
ServerName))
1634 packet.append(uabin.Primitives.String.pack(self.
DiscoveryUrl))
1637 packet.append(uabin.Primitives.String.pack(fieldname))
1638 return b
''.join(packet)
1645 self.
RecordId = uabin.Primitives.UInt32.unpack(data)
1646 self.
ServerName = uabin.Primitives.String.unpack(data)
1647 self.
DiscoveryUrl = uabin.Primitives.String.unpack(data)
1651 return 'ServerOnNetwork(' +
'RecordId:' + str(self.
RecordId) +
', ' + \
1652 'ServerName:' + str(self.
ServerName) +
', ' + \
1661 :ivar StartingRecordId: 1662 :vartype StartingRecordId: UInt32 1663 :ivar MaxRecordsToReturn: 1664 :vartype MaxRecordsToReturn: UInt32 1665 :ivar ServerCapabilityFilter: 1666 :vartype ServerCapabilityFilter: String 1670 'StartingRecordId':
'UInt32',
1671 'MaxRecordsToReturn':
'UInt32',
1672 'ServerCapabilityFilter':
'String',
1676 if binary
is not None:
1691 packet.append(uabin.Primitives.String.pack(fieldname))
1692 return b
''.join(packet)
1704 return 'FindServersOnNetworkParameters(' +
'StartingRecordId:' + str(self.
StartingRecordId) +
', ' + \
1714 :vartype TypeId: NodeId 1715 :ivar RequestHeader: 1716 :vartype RequestHeader: RequestHeader 1718 :vartype Parameters: FindServersOnNetworkParameters 1723 'RequestHeader':
'RequestHeader',
1724 'Parameters':
'FindServersOnNetworkParameters',
1728 if binary
is not None:
1739 packet.append(self.TypeId.to_binary())
1740 packet.append(self.RequestHeader.to_binary())
1741 packet.append(self.Parameters.to_binary())
1742 return b
''.join(packet)
1749 self.
TypeId = NodeId.from_binary(data)
1751 self.
Parameters = FindServersOnNetworkParameters.from_binary(data)
1754 return 'FindServersOnNetworkRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
1763 :ivar LastCounterResetTime: 1764 :vartype LastCounterResetTime: DateTime 1766 :vartype Servers: ServerOnNetwork 1770 'LastCounterResetTime':
'DateTime',
1771 'Servers':
'ServerOnNetwork',
1775 if binary
is not None:
1786 packet.append(uabin.Primitives.Int32.pack(len(self.
Servers)))
1787 for fieldname
in self.
Servers:
1788 packet.append(fieldname.to_binary())
1789 return b
''.join(packet)
1797 length = uabin.Primitives.Int32.unpack(data)
1800 for _
in range(0, length):
1801 array.append(ServerOnNetwork.from_binary(data))
1805 return 'FindServersOnNetworkResult(' +
'LastCounterResetTime:' + str(self.
LastCounterResetTime) +
', ' + \
1806 'Servers:' + str(self.
Servers) +
')' 1814 :vartype TypeId: NodeId 1815 :ivar ResponseHeader: 1816 :vartype ResponseHeader: ResponseHeader 1818 :vartype Parameters: FindServersOnNetworkResult 1823 'ResponseHeader':
'ResponseHeader',
1824 'Parameters':
'FindServersOnNetworkResult',
1828 if binary
is not None:
1839 packet.append(self.TypeId.to_binary())
1840 packet.append(self.ResponseHeader.to_binary())
1841 packet.append(self.Parameters.to_binary())
1842 return b
''.join(packet)
1849 self.
TypeId = NodeId.from_binary(data)
1851 self.
Parameters = FindServersOnNetworkResult.from_binary(data)
1854 return 'FindServersOnNetworkResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
1863 Describes a user token that can be used with a server. 1866 :vartype PolicyId: String 1868 :vartype TokenType: UserTokenType 1869 :ivar IssuedTokenType: 1870 :vartype IssuedTokenType: String 1871 :ivar IssuerEndpointUrl: 1872 :vartype IssuerEndpointUrl: String 1873 :ivar SecurityPolicyUri: 1874 :vartype SecurityPolicyUri: String 1878 'PolicyId':
'String',
1879 'TokenType':
'UserTokenType',
1880 'IssuedTokenType':
'String',
1881 'IssuerEndpointUrl':
'String',
1882 'SecurityPolicyUri':
'String',
1886 if binary
is not None:
1899 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
1900 packet.append(uabin.Primitives.UInt32.pack(self.TokenType.value))
1904 return b
''.join(packet)
1911 self.
PolicyId = uabin.Primitives.String.unpack(data)
1918 return 'UserTokenPolicy(' +
'PolicyId:' + str(self.
PolicyId) +
', ' + \
1919 'TokenType:' + str(self.
TokenType) +
', ' + \
1929 The description of a endpoint that can be used to access a server. 1932 :vartype EndpointUrl: String 1934 :vartype Server: ApplicationDescription 1935 :ivar ServerCertificate: 1936 :vartype ServerCertificate: ByteString 1938 :vartype SecurityMode: MessageSecurityMode 1939 :ivar SecurityPolicyUri: 1940 :vartype SecurityPolicyUri: String 1941 :ivar UserIdentityTokens: 1942 :vartype UserIdentityTokens: UserTokenPolicy 1943 :ivar TransportProfileUri: 1944 :vartype TransportProfileUri: String 1945 :ivar SecurityLevel: 1946 :vartype SecurityLevel: Byte 1950 'EndpointUrl':
'String',
1951 'Server':
'ApplicationDescription',
1952 'ServerCertificate':
'ByteString',
1953 'SecurityMode':
'MessageSecurityMode',
1954 'SecurityPolicyUri':
'String',
1955 'UserIdentityTokens':
'UserTokenPolicy',
1956 'TransportProfileUri':
'String',
1957 'SecurityLevel':
'Byte',
1961 if binary
is not None:
1977 packet.append(uabin.Primitives.String.pack(self.
EndpointUrl))
1978 packet.append(self.Server.to_binary())
1980 packet.append(uabin.Primitives.UInt32.pack(self.SecurityMode.value))
1984 packet.append(fieldname.to_binary())
1986 packet.append(uabin.Primitives.Byte.pack(self.
SecurityLevel))
1987 return b
''.join(packet)
1994 self.
EndpointUrl = uabin.Primitives.String.unpack(data)
1995 self.
Server = ApplicationDescription.from_binary(data)
1999 length = uabin.Primitives.Int32.unpack(data)
2002 for _
in range(0, length):
2003 array.append(UserTokenPolicy.from_binary(data))
2009 return 'EndpointDescription(' +
'EndpointUrl:' + str(self.
EndpointUrl) +
', ' + \
2010 'Server:' + str(self.
Server) +
', ' + \
2024 :vartype EndpointUrl: String 2026 :vartype LocaleIds: String 2028 :vartype ProfileUris: String 2032 'EndpointUrl':
'String',
2033 'LocaleIds':
'String',
2034 'ProfileUris':
'String',
2038 if binary
is not None:
2049 packet.append(uabin.Primitives.String.pack(self.
EndpointUrl))
2050 packet.append(uabin.Primitives.Int32.pack(len(self.
LocaleIds)))
2052 packet.append(uabin.Primitives.String.pack(fieldname))
2053 packet.append(uabin.Primitives.Int32.pack(len(self.
ProfileUris)))
2055 packet.append(uabin.Primitives.String.pack(fieldname))
2056 return b
''.join(packet)
2063 self.
EndpointUrl = uabin.Primitives.String.unpack(data)
2064 self.
LocaleIds = uabin.Primitives.String.unpack_array(data)
2065 self.
ProfileUris = uabin.Primitives.String.unpack_array(data)
2068 return 'GetEndpointsParameters(' +
'EndpointUrl:' + str(self.
EndpointUrl) +
', ' + \
2069 'LocaleIds:' + str(self.
LocaleIds) +
', ' + \
2077 Gets the endpoints used by the server. 2080 :vartype TypeId: NodeId 2081 :ivar RequestHeader: 2082 :vartype RequestHeader: RequestHeader 2084 :vartype Parameters: GetEndpointsParameters 2089 'RequestHeader':
'RequestHeader',
2090 'Parameters':
'GetEndpointsParameters',
2094 if binary
is not None:
2105 packet.append(self.TypeId.to_binary())
2106 packet.append(self.RequestHeader.to_binary())
2107 packet.append(self.Parameters.to_binary())
2108 return b
''.join(packet)
2115 self.
TypeId = NodeId.from_binary(data)
2117 self.
Parameters = GetEndpointsParameters.from_binary(data)
2120 return 'GetEndpointsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2129 Gets the endpoints used by the server. 2132 :vartype TypeId: NodeId 2133 :ivar ResponseHeader: 2134 :vartype ResponseHeader: ResponseHeader 2136 :vartype Endpoints: EndpointDescription 2141 'ResponseHeader':
'ResponseHeader',
2142 'Endpoints':
'EndpointDescription',
2146 if binary
is not None:
2157 packet.append(self.TypeId.to_binary())
2158 packet.append(self.ResponseHeader.to_binary())
2159 packet.append(uabin.Primitives.Int32.pack(len(self.
Endpoints)))
2161 packet.append(fieldname.to_binary())
2162 return b
''.join(packet)
2169 self.
TypeId = NodeId.from_binary(data)
2171 length = uabin.Primitives.Int32.unpack(data)
2174 for _
in range(0, length):
2175 array.append(EndpointDescription.from_binary(data))
2179 return 'GetEndpointsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2181 'Endpoints:' + str(self.
Endpoints) +
')' 2188 The information required to register a server with a discovery server. 2191 :vartype ServerUri: String 2193 :vartype ProductUri: String 2195 :vartype ServerNames: LocalizedText 2197 :vartype ServerType: ApplicationType 2198 :ivar GatewayServerUri: 2199 :vartype GatewayServerUri: String 2200 :ivar DiscoveryUrls: 2201 :vartype DiscoveryUrls: String 2202 :ivar SemaphoreFilePath: 2203 :vartype SemaphoreFilePath: String 2205 :vartype IsOnline: Boolean 2209 'ServerUri':
'String',
2210 'ProductUri':
'String',
2211 'ServerNames':
'LocalizedText',
2212 'ServerType':
'ApplicationType',
2213 'GatewayServerUri':
'String',
2214 'DiscoveryUrls':
'String',
2215 'SemaphoreFilePath':
'String',
2216 'IsOnline':
'Boolean',
2220 if binary
is not None:
2236 packet.append(uabin.Primitives.String.pack(self.
ServerUri))
2237 packet.append(uabin.Primitives.String.pack(self.
ProductUri))
2238 packet.append(uabin.Primitives.Int32.pack(len(self.
ServerNames)))
2240 packet.append(fieldname.to_binary())
2241 packet.append(uabin.Primitives.UInt32.pack(self.ServerType.value))
2243 packet.append(uabin.Primitives.Int32.pack(len(self.
DiscoveryUrls)))
2245 packet.append(uabin.Primitives.String.pack(fieldname))
2247 packet.append(uabin.Primitives.Boolean.pack(self.
IsOnline))
2248 return b
''.join(packet)
2255 self.
ServerUri = uabin.Primitives.String.unpack(data)
2256 self.
ProductUri = uabin.Primitives.String.unpack(data)
2257 length = uabin.Primitives.Int32.unpack(data)
2260 for _
in range(0, length):
2261 array.append(LocalizedText.from_binary(data))
2265 self.
DiscoveryUrls = uabin.Primitives.String.unpack_array(data)
2267 self.
IsOnline = uabin.Primitives.Boolean.unpack(data)
2270 return 'RegisteredServer(' +
'ServerUri:' + str(self.
ServerUri) +
', ' + \
2271 'ProductUri:' + str(self.
ProductUri) +
', ' + \
2273 'ServerType:' + str(self.
ServerType) +
', ' + \
2277 'IsOnline:' + str(self.
IsOnline) +
')' 2284 Registers a server with the discovery server. 2287 :vartype TypeId: NodeId 2288 :ivar RequestHeader: 2289 :vartype RequestHeader: RequestHeader 2291 :vartype Server: RegisteredServer 2296 'RequestHeader':
'RequestHeader',
2297 'Server':
'RegisteredServer',
2301 if binary
is not None:
2312 packet.append(self.TypeId.to_binary())
2313 packet.append(self.RequestHeader.to_binary())
2314 packet.append(self.Server.to_binary())
2315 return b
''.join(packet)
2322 self.
TypeId = NodeId.from_binary(data)
2324 self.
Server = RegisteredServer.from_binary(data)
2327 return 'RegisterServerRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2329 'Server:' + str(self.
Server) +
')' 2336 Registers a server with the discovery server. 2339 :vartype TypeId: NodeId 2340 :ivar ResponseHeader: 2341 :vartype ResponseHeader: ResponseHeader 2346 'ResponseHeader':
'ResponseHeader',
2350 if binary
is not None:
2360 packet.append(self.TypeId.to_binary())
2361 packet.append(self.ResponseHeader.to_binary())
2362 return b
''.join(packet)
2369 self.
TypeId = NodeId.from_binary(data)
2373 return 'RegisterServerResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2381 A base type for discovery configuration information. 2389 if binary
is not None:
2397 return b
''.join(packet)
2407 return 'DiscoveryConfiguration(' + +
')' 2414 The discovery information needed for mDNS registration. 2416 :ivar MdnsServerName: 2417 :vartype MdnsServerName: String 2418 :ivar ServerCapabilities: 2419 :vartype ServerCapabilities: String 2423 'MdnsServerName':
'String',
2424 'ServerCapabilities':
'String',
2428 if binary
is not None:
2441 packet.append(uabin.Primitives.String.pack(fieldname))
2442 return b
''.join(packet)
2453 return 'MdnsDiscoveryConfiguration(' +
'MdnsServerName:' + str(self.
MdnsServerName) +
', ' + \
2462 :vartype Server: RegisteredServer 2463 :ivar DiscoveryConfiguration: 2464 :vartype DiscoveryConfiguration: ExtensionObject 2468 'Server':
'RegisteredServer',
2469 'DiscoveryConfiguration':
'ExtensionObject',
2473 if binary
is not None:
2483 packet.append(self.Server.to_binary())
2487 return b
''.join(packet)
2494 self.
Server = RegisteredServer.from_binary(data)
2495 length = uabin.Primitives.Int32.unpack(data)
2498 for _
in range(0, length):
2503 return 'RegisterServer2Parameters(' +
'Server:' + str(self.
Server) +
', ' + \
2512 :vartype TypeId: NodeId 2513 :ivar RequestHeader: 2514 :vartype RequestHeader: RequestHeader 2516 :vartype Parameters: RegisterServer2Parameters 2521 'RequestHeader':
'RequestHeader',
2522 'Parameters':
'RegisterServer2Parameters',
2526 if binary
is not None:
2537 packet.append(self.TypeId.to_binary())
2538 packet.append(self.RequestHeader.to_binary())
2539 packet.append(self.Parameters.to_binary())
2540 return b
''.join(packet)
2547 self.
TypeId = NodeId.from_binary(data)
2549 self.
Parameters = RegisterServer2Parameters.from_binary(data)
2552 return 'RegisterServer2Request(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2562 :vartype TypeId: NodeId 2563 :ivar ResponseHeader: 2564 :vartype ResponseHeader: ResponseHeader 2565 :ivar ConfigurationResults: 2566 :vartype ConfigurationResults: StatusCode 2567 :ivar DiagnosticInfos: 2568 :vartype DiagnosticInfos: DiagnosticInfo 2573 'ResponseHeader':
'ResponseHeader',
2574 'ConfigurationResults':
'StatusCode',
2575 'DiagnosticInfos':
'DiagnosticInfo',
2579 if binary
is not None:
2591 packet.append(self.TypeId.to_binary())
2592 packet.append(self.ResponseHeader.to_binary())
2595 packet.append(fieldname.to_binary())
2598 packet.append(fieldname.to_binary())
2599 return b
''.join(packet)
2606 self.
TypeId = NodeId.from_binary(data)
2608 length = uabin.Primitives.Int32.unpack(data)
2611 for _
in range(0, length):
2612 array.append(StatusCode.from_binary(data))
2614 length = uabin.Primitives.Int32.unpack(data)
2617 for _
in range(0, length):
2618 array.append(DiagnosticInfo.from_binary(data))
2622 return 'RegisterServer2Response(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2632 The token that identifies a set of keys for an active secure channel. 2635 :vartype ChannelId: UInt32 2637 :vartype TokenId: UInt32 2639 :vartype CreatedAt: DateTime 2640 :ivar RevisedLifetime: 2641 :vartype RevisedLifetime: UInt32 2645 'ChannelId':
'UInt32',
2646 'TokenId':
'UInt32',
2647 'CreatedAt':
'DateTime',
2648 'RevisedLifetime':
'UInt32',
2652 if binary
is not None:
2664 packet.append(uabin.Primitives.UInt32.pack(self.
ChannelId))
2665 packet.append(uabin.Primitives.UInt32.pack(self.
TokenId))
2666 packet.append(uabin.Primitives.DateTime.pack(self.
CreatedAt))
2668 return b
''.join(packet)
2675 self.
ChannelId = uabin.Primitives.UInt32.unpack(data)
2676 self.
TokenId = uabin.Primitives.UInt32.unpack(data)
2677 self.
CreatedAt = uabin.Primitives.DateTime.unpack(data)
2681 return 'ChannelSecurityToken(' +
'ChannelId:' + str(self.
ChannelId) +
', ' + \
2682 'TokenId:' + str(self.
TokenId) +
', ' + \
2683 'CreatedAt:' + str(self.
CreatedAt) +
', ' + \
2691 :ivar ClientProtocolVersion: 2692 :vartype ClientProtocolVersion: UInt32 2694 :vartype RequestType: SecurityTokenRequestType 2696 :vartype SecurityMode: MessageSecurityMode 2698 :vartype ClientNonce: ByteString 2699 :ivar RequestedLifetime: 2700 :vartype RequestedLifetime: UInt32 2704 'ClientProtocolVersion':
'UInt32',
2705 'RequestType':
'SecurityTokenRequestType',
2706 'SecurityMode':
'MessageSecurityMode',
2707 'ClientNonce':
'ByteString',
2708 'RequestedLifetime':
'UInt32',
2712 if binary
is not None:
2726 packet.append(uabin.Primitives.UInt32.pack(self.RequestType.value))
2727 packet.append(uabin.Primitives.UInt32.pack(self.SecurityMode.value))
2728 packet.append(uabin.Primitives.ByteString.pack(self.
ClientNonce))
2730 return b
''.join(packet)
2740 self.
ClientNonce = uabin.Primitives.ByteString.unpack(data)
2744 return 'OpenSecureChannelParameters(' +
'ClientProtocolVersion:' + str(self.
ClientProtocolVersion) +
', ' + \
2755 Creates a secure channel with a server. 2758 :vartype TypeId: NodeId 2759 :ivar RequestHeader: 2760 :vartype RequestHeader: RequestHeader 2762 :vartype Parameters: OpenSecureChannelParameters 2767 'RequestHeader':
'RequestHeader',
2768 'Parameters':
'OpenSecureChannelParameters',
2772 if binary
is not None:
2783 packet.append(self.TypeId.to_binary())
2784 packet.append(self.RequestHeader.to_binary())
2785 packet.append(self.Parameters.to_binary())
2786 return b
''.join(packet)
2793 self.
TypeId = NodeId.from_binary(data)
2795 self.
Parameters = OpenSecureChannelParameters.from_binary(data)
2798 return 'OpenSecureChannelRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2807 :ivar ServerProtocolVersion: 2808 :vartype ServerProtocolVersion: UInt32 2809 :ivar SecurityToken: 2810 :vartype SecurityToken: ChannelSecurityToken 2812 :vartype ServerNonce: ByteString 2816 'ServerProtocolVersion':
'UInt32',
2817 'SecurityToken':
'ChannelSecurityToken',
2818 'ServerNonce':
'ByteString',
2822 if binary
is not None:
2834 packet.append(self.SecurityToken.to_binary())
2835 packet.append(uabin.Primitives.ByteString.pack(self.
ServerNonce))
2836 return b
''.join(packet)
2845 self.
ServerNonce = uabin.Primitives.ByteString.unpack(data)
2848 return 'OpenSecureChannelResult(' +
'ServerProtocolVersion:' + str(self.
ServerProtocolVersion) +
', ' + \
2857 Creates a secure channel with a server. 2860 :vartype TypeId: NodeId 2861 :ivar ResponseHeader: 2862 :vartype ResponseHeader: ResponseHeader 2864 :vartype Parameters: OpenSecureChannelResult 2869 'ResponseHeader':
'ResponseHeader',
2870 'Parameters':
'OpenSecureChannelResult',
2874 if binary
is not None:
2885 packet.append(self.TypeId.to_binary())
2886 packet.append(self.ResponseHeader.to_binary())
2887 packet.append(self.Parameters.to_binary())
2888 return b
''.join(packet)
2895 self.
TypeId = NodeId.from_binary(data)
2897 self.
Parameters = OpenSecureChannelResult.from_binary(data)
2900 return 'OpenSecureChannelResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2909 Closes a secure channel. 2912 :vartype TypeId: NodeId 2913 :ivar RequestHeader: 2914 :vartype RequestHeader: RequestHeader 2919 'RequestHeader':
'RequestHeader',
2923 if binary
is not None:
2933 packet.append(self.TypeId.to_binary())
2934 packet.append(self.RequestHeader.to_binary())
2935 return b
''.join(packet)
2942 self.
TypeId = NodeId.from_binary(data)
2946 return 'CloseSecureChannelRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2954 Closes a secure channel. 2957 :vartype TypeId: NodeId 2958 :ivar ResponseHeader: 2959 :vartype ResponseHeader: ResponseHeader 2964 'ResponseHeader':
'ResponseHeader',
2968 if binary
is not None:
2978 packet.append(self.TypeId.to_binary())
2979 packet.append(self.ResponseHeader.to_binary())
2980 return b
''.join(packet)
2987 self.
TypeId = NodeId.from_binary(data)
2991 return 'CloseSecureChannelResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
2999 A software certificate with a digital signature. 3001 :ivar CertificateData: 3002 :vartype CertificateData: ByteString 3004 :vartype Signature: ByteString 3008 'CertificateData':
'ByteString',
3009 'Signature':
'ByteString',
3013 if binary
is not None:
3024 packet.append(uabin.Primitives.ByteString.pack(self.
Signature))
3025 return b
''.join(packet)
3033 self.
Signature = uabin.Primitives.ByteString.unpack(data)
3036 return 'SignedSoftwareCertificate(' +
'CertificateData:' + str(self.
CertificateData) +
', ' + \
3037 'Signature:' + str(self.
Signature) +
')' 3044 A digital signature. 3047 :vartype Algorithm: String 3049 :vartype Signature: ByteString 3053 'Algorithm':
'String',
3054 'Signature':
'ByteString',
3058 if binary
is not None:
3068 packet.append(uabin.Primitives.String.pack(self.
Algorithm))
3069 packet.append(uabin.Primitives.ByteString.pack(self.
Signature))
3070 return b
''.join(packet)
3077 self.
Algorithm = uabin.Primitives.String.unpack(data)
3078 self.
Signature = uabin.Primitives.ByteString.unpack(data)
3081 return 'SignatureData(' +
'Algorithm:' + str(self.
Algorithm) +
', ' + \
3082 'Signature:' + str(self.
Signature) +
')' 3089 :ivar ClientDescription: 3090 :vartype ClientDescription: ApplicationDescription 3092 :vartype ServerUri: String 3094 :vartype EndpointUrl: String 3096 :vartype SessionName: String 3098 :vartype ClientNonce: ByteString 3099 :ivar ClientCertificate: 3100 :vartype ClientCertificate: ByteString 3101 :ivar RequestedSessionTimeout: 3102 :vartype RequestedSessionTimeout: Double 3103 :ivar MaxResponseMessageSize: 3104 :vartype MaxResponseMessageSize: UInt32 3108 'ClientDescription':
'ApplicationDescription',
3109 'ServerUri':
'String',
3110 'EndpointUrl':
'String',
3111 'SessionName':
'String',
3112 'ClientNonce':
'ByteString',
3113 'ClientCertificate':
'ByteString',
3114 'RequestedSessionTimeout':
'Double',
3115 'MaxResponseMessageSize':
'UInt32',
3119 if binary
is not None:
3135 packet.append(self.ClientDescription.to_binary())
3136 packet.append(uabin.Primitives.String.pack(self.
ServerUri))
3137 packet.append(uabin.Primitives.String.pack(self.
EndpointUrl))
3138 packet.append(uabin.Primitives.String.pack(self.
SessionName))
3139 packet.append(uabin.Primitives.ByteString.pack(self.
ClientNonce))
3143 return b
''.join(packet)
3151 self.
ServerUri = uabin.Primitives.String.unpack(data)
3152 self.
EndpointUrl = uabin.Primitives.String.unpack(data)
3153 self.
SessionName = uabin.Primitives.String.unpack(data)
3154 self.
ClientNonce = uabin.Primitives.ByteString.unpack(data)
3160 return 'CreateSessionParameters(' +
'ClientDescription:' + str(self.
ClientDescription) +
', ' + \
3161 'ServerUri:' + str(self.
ServerUri) +
', ' + \
3174 Creates a new session with the server. 3177 :vartype TypeId: NodeId 3178 :ivar RequestHeader: 3179 :vartype RequestHeader: RequestHeader 3181 :vartype Parameters: CreateSessionParameters 3186 'RequestHeader':
'RequestHeader',
3187 'Parameters':
'CreateSessionParameters',
3191 if binary
is not None:
3202 packet.append(self.TypeId.to_binary())
3203 packet.append(self.RequestHeader.to_binary())
3204 packet.append(self.Parameters.to_binary())
3205 return b
''.join(packet)
3212 self.
TypeId = NodeId.from_binary(data)
3214 self.
Parameters = CreateSessionParameters.from_binary(data)
3217 return 'CreateSessionRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
3227 :vartype SessionId: NodeId 3228 :ivar AuthenticationToken: 3229 :vartype AuthenticationToken: NodeId 3230 :ivar RevisedSessionTimeout: 3231 :vartype RevisedSessionTimeout: Double 3233 :vartype ServerNonce: ByteString 3234 :ivar ServerCertificate: 3235 :vartype ServerCertificate: ByteString 3236 :ivar ServerEndpoints: 3237 :vartype ServerEndpoints: EndpointDescription 3238 :ivar ServerSoftwareCertificates: 3239 :vartype ServerSoftwareCertificates: SignedSoftwareCertificate 3240 :ivar ServerSignature: 3241 :vartype ServerSignature: SignatureData 3242 :ivar MaxRequestMessageSize: 3243 :vartype MaxRequestMessageSize: UInt32 3247 'SessionId':
'NodeId',
3248 'AuthenticationToken':
'NodeId',
3249 'RevisedSessionTimeout':
'Double',
3250 'ServerNonce':
'ByteString',
3251 'ServerCertificate':
'ByteString',
3252 'ServerEndpoints':
'EndpointDescription',
3253 'ServerSoftwareCertificates':
'SignedSoftwareCertificate',
3254 'ServerSignature':
'SignatureData',
3255 'MaxRequestMessageSize':
'UInt32',
3259 if binary
is not None:
3276 packet.append(self.SessionId.to_binary())
3277 packet.append(self.AuthenticationToken.to_binary())
3279 packet.append(uabin.Primitives.ByteString.pack(self.
ServerNonce))
3283 packet.append(fieldname.to_binary())
3286 packet.append(fieldname.to_binary())
3287 packet.append(self.ServerSignature.to_binary())
3289 return b
''.join(packet)
3296 self.
SessionId = NodeId.from_binary(data)
3299 self.
ServerNonce = uabin.Primitives.ByteString.unpack(data)
3301 length = uabin.Primitives.Int32.unpack(data)
3304 for _
in range(0, length):
3305 array.append(EndpointDescription.from_binary(data))
3307 length = uabin.Primitives.Int32.unpack(data)
3310 for _
in range(0, length):
3311 array.append(SignedSoftwareCertificate.from_binary(data))
3317 return 'CreateSessionResult(' +
'SessionId:' + str(self.
SessionId) +
', ' + \
3332 Creates a new session with the server. 3335 :vartype TypeId: NodeId 3336 :ivar ResponseHeader: 3337 :vartype ResponseHeader: ResponseHeader 3339 :vartype Parameters: CreateSessionResult 3344 'ResponseHeader':
'ResponseHeader',
3345 'Parameters':
'CreateSessionResult',
3349 if binary
is not None:
3360 packet.append(self.TypeId.to_binary())
3361 packet.append(self.ResponseHeader.to_binary())
3362 packet.append(self.Parameters.to_binary())
3363 return b
''.join(packet)
3370 self.
TypeId = NodeId.from_binary(data)
3372 self.
Parameters = CreateSessionResult.from_binary(data)
3375 return 'CreateSessionResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
3384 A base type for a user identity token. 3387 :vartype PolicyId: String 3391 'PolicyId':
'String',
3395 if binary
is not None:
3404 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
3405 return b
''.join(packet)
3412 self.
PolicyId = uabin.Primitives.String.unpack(data)
3415 return 'UserIdentityToken(' +
'PolicyId:' + str(self.
PolicyId) +
')' 3422 A token representing an anonymous user. 3425 :vartype PolicyId: String 3429 'PolicyId':
'String',
3433 if binary
is not None:
3442 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
3443 return b
''.join(packet)
3450 self.
PolicyId = uabin.Primitives.String.unpack(data)
3453 return 'AnonymousIdentityToken(' +
'PolicyId:' + str(self.
PolicyId) +
')' 3460 A token representing a user identified by a user name and password. 3463 :vartype PolicyId: String 3465 :vartype UserName: String 3467 :vartype Password: ByteString 3468 :ivar EncryptionAlgorithm: 3469 :vartype EncryptionAlgorithm: String 3473 'PolicyId':
'String',
3474 'UserName':
'String',
3475 'Password':
'ByteString',
3476 'EncryptionAlgorithm':
'String',
3480 if binary
is not None:
3492 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
3493 packet.append(uabin.Primitives.String.pack(self.
UserName))
3494 packet.append(uabin.Primitives.ByteString.pack(self.
Password))
3496 return b
''.join(packet)
3503 self.
PolicyId = uabin.Primitives.String.unpack(data)
3504 self.
UserName = uabin.Primitives.String.unpack(data)
3505 self.
Password = uabin.Primitives.ByteString.unpack(data)
3509 return 'UserNameIdentityToken(' +
'PolicyId:' + str(self.
PolicyId) +
', ' + \
3510 'UserName:' + str(self.
UserName) +
', ' + \
3511 'Password:' + str(self.
Password) +
', ' + \
3519 A token representing a user identified by an X509 certificate. 3522 :vartype PolicyId: String 3523 :ivar CertificateData: 3524 :vartype CertificateData: ByteString 3528 'PolicyId':
'String',
3529 'CertificateData':
'ByteString',
3533 if binary
is not None:
3543 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
3545 return b
''.join(packet)
3552 self.
PolicyId = uabin.Primitives.String.unpack(data)
3556 return 'X509IdentityToken(' +
'PolicyId:' + str(self.
PolicyId) +
', ' + \
3565 :vartype PolicyId: String 3567 :vartype TicketData: ByteString 3571 'PolicyId':
'String',
3572 'TicketData':
'ByteString',
3576 if binary
is not None:
3586 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
3587 packet.append(uabin.Primitives.ByteString.pack(self.
TicketData))
3588 return b
''.join(packet)
3595 self.
PolicyId = uabin.Primitives.String.unpack(data)
3596 self.
TicketData = uabin.Primitives.ByteString.unpack(data)
3599 return 'KerberosIdentityToken(' +
'PolicyId:' + str(self.
PolicyId) +
', ' + \
3607 A token representing a user identified by a WS-Security XML token. 3610 :vartype PolicyId: String 3612 :vartype TokenData: ByteString 3613 :ivar EncryptionAlgorithm: 3614 :vartype EncryptionAlgorithm: String 3618 'PolicyId':
'String',
3619 'TokenData':
'ByteString',
3620 'EncryptionAlgorithm':
'String',
3624 if binary
is not None:
3635 packet.append(uabin.Primitives.String.pack(self.
PolicyId))
3636 packet.append(uabin.Primitives.ByteString.pack(self.
TokenData))
3638 return b
''.join(packet)
3645 self.
PolicyId = uabin.Primitives.String.unpack(data)
3646 self.
TokenData = uabin.Primitives.ByteString.unpack(data)
3650 return 'IssuedIdentityToken(' +
'PolicyId:' + str(self.
PolicyId) +
', ' + \
3651 'TokenData:' + str(self.
TokenData) +
', ' + \
3659 :ivar ClientSignature: 3660 :vartype ClientSignature: SignatureData 3661 :ivar ClientSoftwareCertificates: 3662 :vartype ClientSoftwareCertificates: SignedSoftwareCertificate 3664 :vartype LocaleIds: String 3665 :ivar UserIdentityToken: 3666 :vartype UserIdentityToken: ExtensionObject 3667 :ivar UserTokenSignature: 3668 :vartype UserTokenSignature: SignatureData 3672 'ClientSignature':
'SignatureData',
3673 'ClientSoftwareCertificates':
'SignedSoftwareCertificate',
3674 'LocaleIds':
'String',
3675 'UserIdentityToken':
'ExtensionObject',
3676 'UserTokenSignature':
'SignatureData',
3680 if binary
is not None:
3693 packet.append(self.ClientSignature.to_binary())
3696 packet.append(fieldname.to_binary())
3697 packet.append(uabin.Primitives.Int32.pack(len(self.
LocaleIds)))
3699 packet.append(uabin.Primitives.String.pack(fieldname))
3701 packet.append(self.UserTokenSignature.to_binary())
3702 return b
''.join(packet)
3710 length = uabin.Primitives.Int32.unpack(data)
3713 for _
in range(0, length):
3714 array.append(SignedSoftwareCertificate.from_binary(data))
3716 self.
LocaleIds = uabin.Primitives.String.unpack_array(data)
3721 return 'ActivateSessionParameters(' +
'ClientSignature:' + str(self.
ClientSignature) +
', ' + \
3723 'LocaleIds:' + str(self.
LocaleIds) +
', ' + \
3732 Activates a session with the server. 3735 :vartype TypeId: NodeId 3736 :ivar RequestHeader: 3737 :vartype RequestHeader: RequestHeader 3739 :vartype Parameters: ActivateSessionParameters 3744 'RequestHeader':
'RequestHeader',
3745 'Parameters':
'ActivateSessionParameters',
3749 if binary
is not None:
3760 packet.append(self.TypeId.to_binary())
3761 packet.append(self.RequestHeader.to_binary())
3762 packet.append(self.Parameters.to_binary())
3763 return b
''.join(packet)
3770 self.
TypeId = NodeId.from_binary(data)
3772 self.
Parameters = ActivateSessionParameters.from_binary(data)
3775 return 'ActivateSessionRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
3785 :vartype ServerNonce: ByteString 3787 :vartype Results: StatusCode 3788 :ivar DiagnosticInfos: 3789 :vartype DiagnosticInfos: DiagnosticInfo 3793 'ServerNonce':
'ByteString',
3794 'Results':
'StatusCode',
3795 'DiagnosticInfos':
'DiagnosticInfo',
3799 if binary
is not None:
3810 packet.append(uabin.Primitives.ByteString.pack(self.
ServerNonce))
3811 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
3812 for fieldname
in self.
Results:
3813 packet.append(fieldname.to_binary())
3816 packet.append(fieldname.to_binary())
3817 return b
''.join(packet)
3824 self.
ServerNonce = uabin.Primitives.ByteString.unpack(data)
3825 length = uabin.Primitives.Int32.unpack(data)
3828 for _
in range(0, length):
3829 array.append(StatusCode.from_binary(data))
3831 length = uabin.Primitives.Int32.unpack(data)
3834 for _
in range(0, length):
3835 array.append(DiagnosticInfo.from_binary(data))
3839 return 'ActivateSessionResult(' +
'ServerNonce:' + str(self.
ServerNonce) +
', ' + \
3840 'Results:' + str(self.
Results) +
', ' + \
3848 Activates a session with the server. 3851 :vartype TypeId: NodeId 3852 :ivar ResponseHeader: 3853 :vartype ResponseHeader: ResponseHeader 3855 :vartype Parameters: ActivateSessionResult 3860 'ResponseHeader':
'ResponseHeader',
3861 'Parameters':
'ActivateSessionResult',
3865 if binary
is not None:
3876 packet.append(self.TypeId.to_binary())
3877 packet.append(self.ResponseHeader.to_binary())
3878 packet.append(self.Parameters.to_binary())
3879 return b
''.join(packet)
3886 self.
TypeId = NodeId.from_binary(data)
3888 self.
Parameters = ActivateSessionResult.from_binary(data)
3891 return 'ActivateSessionResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
3900 Closes a session with the server. 3903 :vartype TypeId: NodeId 3904 :ivar RequestHeader: 3905 :vartype RequestHeader: RequestHeader 3906 :ivar DeleteSubscriptions: 3907 :vartype DeleteSubscriptions: Boolean 3912 'RequestHeader':
'RequestHeader',
3913 'DeleteSubscriptions':
'Boolean',
3917 if binary
is not None:
3928 packet.append(self.TypeId.to_binary())
3929 packet.append(self.RequestHeader.to_binary())
3931 return b
''.join(packet)
3938 self.
TypeId = NodeId.from_binary(data)
3943 return 'CloseSessionRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
3952 Closes a session with the server. 3955 :vartype TypeId: NodeId 3956 :ivar ResponseHeader: 3957 :vartype ResponseHeader: ResponseHeader 3962 'ResponseHeader':
'ResponseHeader',
3966 if binary
is not None:
3976 packet.append(self.TypeId.to_binary())
3977 packet.append(self.ResponseHeader.to_binary())
3978 return b
''.join(packet)
3985 self.
TypeId = NodeId.from_binary(data)
3989 return 'CloseSessionResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
3997 :ivar RequestHandle: 3998 :vartype RequestHandle: UInt32 4002 'RequestHandle':
'UInt32',
4006 if binary
is not None:
4015 packet.append(uabin.Primitives.UInt32.pack(self.
RequestHandle))
4016 return b
''.join(packet)
4026 return 'CancelParameters(' +
'RequestHandle:' + str(self.
RequestHandle) +
')' 4033 Cancels an outstanding request. 4036 :vartype TypeId: NodeId 4037 :ivar RequestHeader: 4038 :vartype RequestHeader: RequestHeader 4040 :vartype Parameters: CancelParameters 4045 'RequestHeader':
'RequestHeader',
4046 'Parameters':
'CancelParameters',
4050 if binary
is not None:
4061 packet.append(self.TypeId.to_binary())
4062 packet.append(self.RequestHeader.to_binary())
4063 packet.append(self.Parameters.to_binary())
4064 return b
''.join(packet)
4071 self.
TypeId = NodeId.from_binary(data)
4073 self.
Parameters = CancelParameters.from_binary(data)
4076 return 'CancelRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
4086 :vartype CancelCount: UInt32 4090 'CancelCount':
'UInt32',
4094 if binary
is not None:
4103 packet.append(uabin.Primitives.UInt32.pack(self.
CancelCount))
4104 return b
''.join(packet)
4111 self.
CancelCount = uabin.Primitives.UInt32.unpack(data)
4114 return 'CancelResult(' +
'CancelCount:' + str(self.
CancelCount) +
')' 4121 Cancels an outstanding request. 4124 :vartype TypeId: NodeId 4125 :ivar ResponseHeader: 4126 :vartype ResponseHeader: ResponseHeader 4128 :vartype Parameters: CancelResult 4133 'ResponseHeader':
'ResponseHeader',
4134 'Parameters':
'CancelResult',
4138 if binary
is not None:
4149 packet.append(self.TypeId.to_binary())
4150 packet.append(self.ResponseHeader.to_binary())
4151 packet.append(self.Parameters.to_binary())
4152 return b
''.join(packet)
4159 self.
TypeId = NodeId.from_binary(data)
4161 self.
Parameters = CancelResult.from_binary(data)
4164 return 'CancelResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
4173 The base attributes for all nodes. 4175 :ivar SpecifiedAttributes: 4176 :vartype SpecifiedAttributes: UInt32 4178 :vartype DisplayName: LocalizedText 4180 :vartype Description: LocalizedText 4182 :vartype WriteMask: UInt32 4183 :ivar UserWriteMask: 4184 :vartype UserWriteMask: UInt32 4188 'SpecifiedAttributes':
'UInt32',
4189 'DisplayName':
'LocalizedText',
4190 'Description':
'LocalizedText',
4191 'WriteMask':
'UInt32',
4192 'UserWriteMask':
'UInt32',
4196 if binary
is not None:
4210 packet.append(self.DisplayName.to_binary())
4211 packet.append(self.Description.to_binary())
4212 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4213 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4214 return b
''.join(packet)
4222 self.
DisplayName = LocalizedText.from_binary(data)
4223 self.
Description = LocalizedText.from_binary(data)
4224 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4228 return 'NodeAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4231 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4239 The attributes for an object node. 4241 :ivar SpecifiedAttributes: 4242 :vartype SpecifiedAttributes: UInt32 4244 :vartype DisplayName: LocalizedText 4246 :vartype Description: LocalizedText 4248 :vartype WriteMask: UInt32 4249 :ivar UserWriteMask: 4250 :vartype UserWriteMask: UInt32 4251 :ivar EventNotifier: 4252 :vartype EventNotifier: Byte 4256 'SpecifiedAttributes':
'UInt32',
4257 'DisplayName':
'LocalizedText',
4258 'Description':
'LocalizedText',
4259 'WriteMask':
'UInt32',
4260 'UserWriteMask':
'UInt32',
4261 'EventNotifier':
'Byte',
4265 if binary
is not None:
4280 packet.append(self.DisplayName.to_binary())
4281 packet.append(self.Description.to_binary())
4282 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4283 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4284 packet.append(uabin.Primitives.Byte.pack(self.
EventNotifier))
4285 return b
''.join(packet)
4293 self.
DisplayName = LocalizedText.from_binary(data)
4294 self.
Description = LocalizedText.from_binary(data)
4295 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4300 return 'ObjectAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4303 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4312 The attributes for a variable node. 4314 :ivar SpecifiedAttributes: 4315 :vartype SpecifiedAttributes: UInt32 4317 :vartype DisplayName: LocalizedText 4319 :vartype Description: LocalizedText 4321 :vartype WriteMask: UInt32 4322 :ivar UserWriteMask: 4323 :vartype UserWriteMask: UInt32 4325 :vartype Value: Variant 4327 :vartype DataType: NodeId 4329 :vartype ValueRank: Int32 4330 :ivar ArrayDimensions: 4331 :vartype ArrayDimensions: UInt32 4333 :vartype AccessLevel: Byte 4334 :ivar UserAccessLevel: 4335 :vartype UserAccessLevel: Byte 4336 :ivar MinimumSamplingInterval: 4337 :vartype MinimumSamplingInterval: Double 4339 :vartype Historizing: Boolean 4343 'SpecifiedAttributes':
'UInt32',
4344 'DisplayName':
'LocalizedText',
4345 'Description':
'LocalizedText',
4346 'WriteMask':
'UInt32',
4347 'UserWriteMask':
'UInt32',
4349 'DataType':
'NodeId',
4350 'ValueRank':
'Int32',
4351 'ArrayDimensions':
'UInt32',
4352 'AccessLevel':
'Byte',
4353 'UserAccessLevel':
'Byte',
4354 'MinimumSamplingInterval':
'Double',
4355 'Historizing':
'Boolean',
4359 if binary
is not None:
4381 packet.append(self.DisplayName.to_binary())
4382 packet.append(self.Description.to_binary())
4383 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4384 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4385 packet.append(self.Value.to_binary())
4386 packet.append(self.DataType.to_binary())
4387 packet.append(uabin.Primitives.Int32.pack(self.
ValueRank))
4390 packet.append(uabin.Primitives.UInt32.pack(fieldname))
4391 packet.append(uabin.Primitives.Byte.pack(self.
AccessLevel))
4394 packet.append(uabin.Primitives.Boolean.pack(self.
Historizing))
4395 return b
''.join(packet)
4403 self.
DisplayName = LocalizedText.from_binary(data)
4404 self.
Description = LocalizedText.from_binary(data)
4405 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4407 self.
Value = Variant.from_binary(data)
4408 self.
DataType = NodeId.from_binary(data)
4409 self.
ValueRank = uabin.Primitives.Int32.unpack(data)
4411 self.
AccessLevel = uabin.Primitives.Byte.unpack(data)
4414 self.
Historizing = uabin.Primitives.Boolean.unpack(data)
4417 return 'VariableAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4420 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4422 'Value:' + str(self.
Value) +
', ' + \
4423 'DataType:' + str(self.
DataType) +
', ' + \
4424 'ValueRank:' + str(self.
ValueRank) +
', ' + \
4436 The attributes for a method node. 4438 :ivar SpecifiedAttributes: 4439 :vartype SpecifiedAttributes: UInt32 4441 :vartype DisplayName: LocalizedText 4443 :vartype Description: LocalizedText 4445 :vartype WriteMask: UInt32 4446 :ivar UserWriteMask: 4447 :vartype UserWriteMask: UInt32 4449 :vartype Executable: Boolean 4450 :ivar UserExecutable: 4451 :vartype UserExecutable: Boolean 4455 'SpecifiedAttributes':
'UInt32',
4456 'DisplayName':
'LocalizedText',
4457 'Description':
'LocalizedText',
4458 'WriteMask':
'UInt32',
4459 'UserWriteMask':
'UInt32',
4460 'Executable':
'Boolean',
4461 'UserExecutable':
'Boolean',
4465 if binary
is not None:
4481 packet.append(self.DisplayName.to_binary())
4482 packet.append(self.Description.to_binary())
4483 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4484 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4485 packet.append(uabin.Primitives.Boolean.pack(self.
Executable))
4486 packet.append(uabin.Primitives.Boolean.pack(self.
UserExecutable))
4487 return b
''.join(packet)
4495 self.
DisplayName = LocalizedText.from_binary(data)
4496 self.
Description = LocalizedText.from_binary(data)
4497 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4499 self.
Executable = uabin.Primitives.Boolean.unpack(data)
4503 return 'MethodAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4506 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4508 'Executable:' + str(self.
Executable) +
', ' + \
4516 The attributes for an object type node. 4518 :ivar SpecifiedAttributes: 4519 :vartype SpecifiedAttributes: UInt32 4521 :vartype DisplayName: LocalizedText 4523 :vartype Description: LocalizedText 4525 :vartype WriteMask: UInt32 4526 :ivar UserWriteMask: 4527 :vartype UserWriteMask: UInt32 4529 :vartype IsAbstract: Boolean 4533 'SpecifiedAttributes':
'UInt32',
4534 'DisplayName':
'LocalizedText',
4535 'Description':
'LocalizedText',
4536 'WriteMask':
'UInt32',
4537 'UserWriteMask':
'UInt32',
4538 'IsAbstract':
'Boolean',
4542 if binary
is not None:
4557 packet.append(self.DisplayName.to_binary())
4558 packet.append(self.Description.to_binary())
4559 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4560 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4561 packet.append(uabin.Primitives.Boolean.pack(self.
IsAbstract))
4562 return b
''.join(packet)
4570 self.
DisplayName = LocalizedText.from_binary(data)
4571 self.
Description = LocalizedText.from_binary(data)
4572 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4574 self.
IsAbstract = uabin.Primitives.Boolean.unpack(data)
4577 return 'ObjectTypeAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4580 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4589 The attributes for a variable type node. 4591 :ivar SpecifiedAttributes: 4592 :vartype SpecifiedAttributes: UInt32 4594 :vartype DisplayName: LocalizedText 4596 :vartype Description: LocalizedText 4598 :vartype WriteMask: UInt32 4599 :ivar UserWriteMask: 4600 :vartype UserWriteMask: UInt32 4602 :vartype Value: Variant 4604 :vartype DataType: NodeId 4606 :vartype ValueRank: Int32 4607 :ivar ArrayDimensions: 4608 :vartype ArrayDimensions: UInt32 4610 :vartype IsAbstract: Boolean 4614 'SpecifiedAttributes':
'UInt32',
4615 'DisplayName':
'LocalizedText',
4616 'Description':
'LocalizedText',
4617 'WriteMask':
'UInt32',
4618 'UserWriteMask':
'UInt32',
4620 'DataType':
'NodeId',
4621 'ValueRank':
'Int32',
4622 'ArrayDimensions':
'UInt32',
4623 'IsAbstract':
'Boolean',
4627 if binary
is not None:
4646 packet.append(self.DisplayName.to_binary())
4647 packet.append(self.Description.to_binary())
4648 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4649 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4650 packet.append(self.Value.to_binary())
4651 packet.append(self.DataType.to_binary())
4652 packet.append(uabin.Primitives.Int32.pack(self.
ValueRank))
4655 packet.append(uabin.Primitives.UInt32.pack(fieldname))
4656 packet.append(uabin.Primitives.Boolean.pack(self.
IsAbstract))
4657 return b
''.join(packet)
4665 self.
DisplayName = LocalizedText.from_binary(data)
4666 self.
Description = LocalizedText.from_binary(data)
4667 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4669 self.
Value = Variant.from_binary(data)
4670 self.
DataType = NodeId.from_binary(data)
4671 self.
ValueRank = uabin.Primitives.Int32.unpack(data)
4673 self.
IsAbstract = uabin.Primitives.Boolean.unpack(data)
4676 return 'VariableTypeAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4679 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4681 'Value:' + str(self.
Value) +
', ' + \
4682 'DataType:' + str(self.
DataType) +
', ' + \
4683 'ValueRank:' + str(self.
ValueRank) +
', ' + \
4692 The attributes for a reference type node. 4694 :ivar SpecifiedAttributes: 4695 :vartype SpecifiedAttributes: UInt32 4697 :vartype DisplayName: LocalizedText 4699 :vartype Description: LocalizedText 4701 :vartype WriteMask: UInt32 4702 :ivar UserWriteMask: 4703 :vartype UserWriteMask: UInt32 4705 :vartype IsAbstract: Boolean 4707 :vartype Symmetric: Boolean 4709 :vartype InverseName: LocalizedText 4713 'SpecifiedAttributes':
'UInt32',
4714 'DisplayName':
'LocalizedText',
4715 'Description':
'LocalizedText',
4716 'WriteMask':
'UInt32',
4717 'UserWriteMask':
'UInt32',
4718 'IsAbstract':
'Boolean',
4719 'Symmetric':
'Boolean',
4720 'InverseName':
'LocalizedText',
4724 if binary
is not None:
4741 packet.append(self.DisplayName.to_binary())
4742 packet.append(self.Description.to_binary())
4743 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4744 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4745 packet.append(uabin.Primitives.Boolean.pack(self.
IsAbstract))
4746 packet.append(uabin.Primitives.Boolean.pack(self.
Symmetric))
4747 packet.append(self.InverseName.to_binary())
4748 return b
''.join(packet)
4756 self.
DisplayName = LocalizedText.from_binary(data)
4757 self.
Description = LocalizedText.from_binary(data)
4758 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4760 self.
IsAbstract = uabin.Primitives.Boolean.unpack(data)
4761 self.
Symmetric = uabin.Primitives.Boolean.unpack(data)
4762 self.
InverseName = LocalizedText.from_binary(data)
4765 return 'ReferenceTypeAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4768 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4770 'IsAbstract:' + str(self.
IsAbstract) +
', ' + \
4771 'Symmetric:' + str(self.
Symmetric) +
', ' + \
4779 The attributes for a data type node. 4781 :ivar SpecifiedAttributes: 4782 :vartype SpecifiedAttributes: UInt32 4784 :vartype DisplayName: LocalizedText 4786 :vartype Description: LocalizedText 4788 :vartype WriteMask: UInt32 4789 :ivar UserWriteMask: 4790 :vartype UserWriteMask: UInt32 4792 :vartype IsAbstract: Boolean 4796 'SpecifiedAttributes':
'UInt32',
4797 'DisplayName':
'LocalizedText',
4798 'Description':
'LocalizedText',
4799 'WriteMask':
'UInt32',
4800 'UserWriteMask':
'UInt32',
4801 'IsAbstract':
'Boolean',
4805 if binary
is not None:
4820 packet.append(self.DisplayName.to_binary())
4821 packet.append(self.Description.to_binary())
4822 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4823 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4824 packet.append(uabin.Primitives.Boolean.pack(self.
IsAbstract))
4825 return b
''.join(packet)
4833 self.
DisplayName = LocalizedText.from_binary(data)
4834 self.
Description = LocalizedText.from_binary(data)
4835 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4837 self.
IsAbstract = uabin.Primitives.Boolean.unpack(data)
4840 return 'DataTypeAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4843 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4852 The attributes for a view node. 4854 :ivar SpecifiedAttributes: 4855 :vartype SpecifiedAttributes: UInt32 4857 :vartype DisplayName: LocalizedText 4859 :vartype Description: LocalizedText 4861 :vartype WriteMask: UInt32 4862 :ivar UserWriteMask: 4863 :vartype UserWriteMask: UInt32 4864 :ivar ContainsNoLoops: 4865 :vartype ContainsNoLoops: Boolean 4866 :ivar EventNotifier: 4867 :vartype EventNotifier: Byte 4871 'SpecifiedAttributes':
'UInt32',
4872 'DisplayName':
'LocalizedText',
4873 'Description':
'LocalizedText',
4874 'WriteMask':
'UInt32',
4875 'UserWriteMask':
'UInt32',
4876 'ContainsNoLoops':
'Boolean',
4877 'EventNotifier':
'Byte',
4881 if binary
is not None:
4897 packet.append(self.DisplayName.to_binary())
4898 packet.append(self.Description.to_binary())
4899 packet.append(uabin.Primitives.UInt32.pack(self.
WriteMask))
4900 packet.append(uabin.Primitives.UInt32.pack(self.
UserWriteMask))
4902 packet.append(uabin.Primitives.Byte.pack(self.
EventNotifier))
4903 return b
''.join(packet)
4911 self.
DisplayName = LocalizedText.from_binary(data)
4912 self.
Description = LocalizedText.from_binary(data)
4913 self.
WriteMask = uabin.Primitives.UInt32.unpack(data)
4919 return 'ViewAttributes(' +
'SpecifiedAttributes:' + str(self.
SpecifiedAttributes) +
', ' + \
4922 'WriteMask:' + str(self.
WriteMask) +
', ' + \
4932 A request to add a node to the server address space. 4935 :vartype ParentNodeId: ExpandedNodeId 4936 :ivar ReferenceTypeId: 4937 :vartype ReferenceTypeId: NodeId 4938 :ivar RequestedNewNodeId: 4939 :vartype RequestedNewNodeId: ExpandedNodeId 4941 :vartype BrowseName: QualifiedName 4943 :vartype NodeClass: NodeClass 4944 :ivar NodeAttributes: 4945 :vartype NodeAttributes: ExtensionObject 4946 :ivar TypeDefinition: 4947 :vartype TypeDefinition: ExpandedNodeId 4951 'ParentNodeId':
'ExpandedNodeId',
4952 'ReferenceTypeId':
'NodeId',
4953 'RequestedNewNodeId':
'ExpandedNodeId',
4954 'BrowseName':
'QualifiedName',
4955 'NodeClass':
'NodeClass',
4956 'NodeAttributes':
'ExtensionObject',
4957 'TypeDefinition':
'ExpandedNodeId',
4961 if binary
is not None:
4976 packet.append(self.ParentNodeId.to_binary())
4977 packet.append(self.ReferenceTypeId.to_binary())
4978 packet.append(self.RequestedNewNodeId.to_binary())
4979 packet.append(self.BrowseName.to_binary())
4980 packet.append(uabin.Primitives.UInt32.pack(self.NodeClass.value))
4982 packet.append(self.TypeDefinition.to_binary())
4983 return b
''.join(packet)
4993 self.
BrowseName = QualifiedName.from_binary(data)
4999 return 'AddNodesItem(' +
'ParentNodeId:' + str(self.
ParentNodeId) +
', ' + \
5002 'BrowseName:' + str(self.
BrowseName) +
', ' + \
5003 'NodeClass:' + str(self.
NodeClass) +
', ' + \
5012 A result of an add node operation. 5015 :vartype StatusCode: StatusCode 5017 :vartype AddedNodeId: NodeId 5021 'StatusCode':
'StatusCode',
5022 'AddedNodeId':
'NodeId',
5026 if binary
is not None:
5036 packet.append(self.StatusCode.to_binary())
5037 packet.append(self.AddedNodeId.to_binary())
5038 return b
''.join(packet)
5045 self.
StatusCode = StatusCode.from_binary(data)
5049 return 'AddNodesResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
5058 :vartype NodesToAdd: AddNodesItem 5062 'NodesToAdd':
'AddNodesItem',
5066 if binary
is not None:
5075 packet.append(uabin.Primitives.Int32.pack(len(self.
NodesToAdd)))
5077 packet.append(fieldname.to_binary())
5078 return b
''.join(packet)
5085 length = uabin.Primitives.Int32.unpack(data)
5088 for _
in range(0, length):
5089 array.append(AddNodesItem.from_binary(data))
5093 return 'AddNodesParameters(' +
'NodesToAdd:' + str(self.
NodesToAdd) +
')' 5100 Adds one or more nodes to the server address space. 5103 :vartype TypeId: NodeId 5104 :ivar RequestHeader: 5105 :vartype RequestHeader: RequestHeader 5107 :vartype Parameters: AddNodesParameters 5112 'RequestHeader':
'RequestHeader',
5113 'Parameters':
'AddNodesParameters',
5117 if binary
is not None:
5128 packet.append(self.TypeId.to_binary())
5129 packet.append(self.RequestHeader.to_binary())
5130 packet.append(self.Parameters.to_binary())
5131 return b
''.join(packet)
5138 self.
TypeId = NodeId.from_binary(data)
5140 self.
Parameters = AddNodesParameters.from_binary(data)
5143 return 'AddNodesRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5152 Adds one or more nodes to the server address space. 5155 :vartype TypeId: NodeId 5156 :ivar ResponseHeader: 5157 :vartype ResponseHeader: ResponseHeader 5159 :vartype Results: AddNodesResult 5160 :ivar DiagnosticInfos: 5161 :vartype DiagnosticInfos: DiagnosticInfo 5166 'ResponseHeader':
'ResponseHeader',
5167 'Results':
'AddNodesResult',
5168 'DiagnosticInfos':
'DiagnosticInfo',
5172 if binary
is not None:
5184 packet.append(self.TypeId.to_binary())
5185 packet.append(self.ResponseHeader.to_binary())
5186 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
5187 for fieldname
in self.
Results:
5188 packet.append(fieldname.to_binary())
5191 packet.append(fieldname.to_binary())
5192 return b
''.join(packet)
5199 self.
TypeId = NodeId.from_binary(data)
5201 length = uabin.Primitives.Int32.unpack(data)
5204 for _
in range(0, length):
5205 array.append(AddNodesResult.from_binary(data))
5207 length = uabin.Primitives.Int32.unpack(data)
5210 for _
in range(0, length):
5211 array.append(DiagnosticInfo.from_binary(data))
5215 return 'AddNodesResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5217 'Results:' + str(self.
Results) +
', ' + \
5225 A request to add a reference to the server address space. 5228 :vartype SourceNodeId: NodeId 5229 :ivar ReferenceTypeId: 5230 :vartype ReferenceTypeId: NodeId 5232 :vartype IsForward: Boolean 5233 :ivar TargetServerUri: 5234 :vartype TargetServerUri: String 5236 :vartype TargetNodeId: ExpandedNodeId 5237 :ivar TargetNodeClass: 5238 :vartype TargetNodeClass: NodeClass 5242 'SourceNodeId':
'NodeId',
5243 'ReferenceTypeId':
'NodeId',
5244 'IsForward':
'Boolean',
5245 'TargetServerUri':
'String',
5246 'TargetNodeId':
'ExpandedNodeId',
5247 'TargetNodeClass':
'NodeClass',
5251 if binary
is not None:
5265 packet.append(self.SourceNodeId.to_binary())
5266 packet.append(self.ReferenceTypeId.to_binary())
5267 packet.append(uabin.Primitives.Boolean.pack(self.
IsForward))
5269 packet.append(self.TargetNodeId.to_binary())
5270 packet.append(uabin.Primitives.UInt32.pack(self.TargetNodeClass.value))
5271 return b
''.join(packet)
5280 self.
IsForward = uabin.Primitives.Boolean.unpack(data)
5286 return 'AddReferencesItem(' +
'SourceNodeId:' + str(self.
SourceNodeId) +
', ' + \
5288 'IsForward:' + str(self.
IsForward) +
', ' + \
5298 Adds one or more references to the server address space. 5301 :vartype TypeId: NodeId 5302 :ivar RequestHeader: 5303 :vartype RequestHeader: RequestHeader 5304 :ivar ReferencesToAdd: 5305 :vartype ReferencesToAdd: AddReferencesItem 5310 'RequestHeader':
'RequestHeader',
5311 'ReferencesToAdd':
'AddReferencesItem',
5315 if binary
is not None:
5326 packet.append(self.TypeId.to_binary())
5327 packet.append(self.RequestHeader.to_binary())
5330 packet.append(fieldname.to_binary())
5331 return b
''.join(packet)
5338 self.
TypeId = NodeId.from_binary(data)
5340 length = uabin.Primitives.Int32.unpack(data)
5343 for _
in range(0, length):
5344 array.append(AddReferencesItem.from_binary(data))
5348 return 'AddReferencesRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5357 Adds one or more references to the server address space. 5360 :vartype TypeId: NodeId 5361 :ivar ResponseHeader: 5362 :vartype ResponseHeader: ResponseHeader 5364 :vartype Results: StatusCode 5365 :ivar DiagnosticInfos: 5366 :vartype DiagnosticInfos: DiagnosticInfo 5371 'ResponseHeader':
'ResponseHeader',
5372 'Results':
'StatusCode',
5373 'DiagnosticInfos':
'DiagnosticInfo',
5377 if binary
is not None:
5389 packet.append(self.TypeId.to_binary())
5390 packet.append(self.ResponseHeader.to_binary())
5391 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
5392 for fieldname
in self.
Results:
5393 packet.append(fieldname.to_binary())
5396 packet.append(fieldname.to_binary())
5397 return b
''.join(packet)
5404 self.
TypeId = NodeId.from_binary(data)
5406 length = uabin.Primitives.Int32.unpack(data)
5409 for _
in range(0, length):
5410 array.append(StatusCode.from_binary(data))
5412 length = uabin.Primitives.Int32.unpack(data)
5415 for _
in range(0, length):
5416 array.append(DiagnosticInfo.from_binary(data))
5420 return 'AddReferencesResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5422 'Results:' + str(self.
Results) +
', ' + \
5430 A request to delete a node to the server address space. 5433 :vartype NodeId: NodeId 5434 :ivar DeleteTargetReferences: 5435 :vartype DeleteTargetReferences: Boolean 5440 'DeleteTargetReferences':
'Boolean',
5444 if binary
is not None:
5454 packet.append(self.NodeId.to_binary())
5456 return b
''.join(packet)
5463 self.
NodeId = NodeId.from_binary(data)
5467 return 'DeleteNodesItem(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
5475 :ivar NodesToDelete: 5476 :vartype NodesToDelete: DeleteNodesItem 5480 'NodesToDelete':
'DeleteNodesItem',
5484 if binary
is not None:
5493 packet.append(uabin.Primitives.Int32.pack(len(self.
NodesToDelete)))
5495 packet.append(fieldname.to_binary())
5496 return b
''.join(packet)
5503 length = uabin.Primitives.Int32.unpack(data)
5506 for _
in range(0, length):
5507 array.append(DeleteNodesItem.from_binary(data))
5511 return 'DeleteNodesParameters(' +
'NodesToDelete:' + str(self.
NodesToDelete) +
')' 5518 Delete one or more nodes from the server address space. 5521 :vartype TypeId: NodeId 5522 :ivar RequestHeader: 5523 :vartype RequestHeader: RequestHeader 5525 :vartype Parameters: DeleteNodesParameters 5530 'RequestHeader':
'RequestHeader',
5531 'Parameters':
'DeleteNodesParameters',
5535 if binary
is not None:
5546 packet.append(self.TypeId.to_binary())
5547 packet.append(self.RequestHeader.to_binary())
5548 packet.append(self.Parameters.to_binary())
5549 return b
''.join(packet)
5556 self.
TypeId = NodeId.from_binary(data)
5558 self.
Parameters = DeleteNodesParameters.from_binary(data)
5561 return 'DeleteNodesRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5570 Delete one or more nodes from the server address space. 5573 :vartype TypeId: NodeId 5574 :ivar ResponseHeader: 5575 :vartype ResponseHeader: ResponseHeader 5577 :vartype Results: StatusCode 5578 :ivar DiagnosticInfos: 5579 :vartype DiagnosticInfos: DiagnosticInfo 5584 'ResponseHeader':
'ResponseHeader',
5585 'Results':
'StatusCode',
5586 'DiagnosticInfos':
'DiagnosticInfo',
5590 if binary
is not None:
5602 packet.append(self.TypeId.to_binary())
5603 packet.append(self.ResponseHeader.to_binary())
5604 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
5605 for fieldname
in self.
Results:
5606 packet.append(fieldname.to_binary())
5609 packet.append(fieldname.to_binary())
5610 return b
''.join(packet)
5617 self.
TypeId = NodeId.from_binary(data)
5619 length = uabin.Primitives.Int32.unpack(data)
5622 for _
in range(0, length):
5623 array.append(StatusCode.from_binary(data))
5625 length = uabin.Primitives.Int32.unpack(data)
5628 for _
in range(0, length):
5629 array.append(DiagnosticInfo.from_binary(data))
5633 return 'DeleteNodesResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5635 'Results:' + str(self.
Results) +
', ' + \
5643 A request to delete a node from the server address space. 5646 :vartype SourceNodeId: NodeId 5647 :ivar ReferenceTypeId: 5648 :vartype ReferenceTypeId: NodeId 5650 :vartype IsForward: Boolean 5652 :vartype TargetNodeId: ExpandedNodeId 5653 :ivar DeleteBidirectional: 5654 :vartype DeleteBidirectional: Boolean 5658 'SourceNodeId':
'NodeId',
5659 'ReferenceTypeId':
'NodeId',
5660 'IsForward':
'Boolean',
5661 'TargetNodeId':
'ExpandedNodeId',
5662 'DeleteBidirectional':
'Boolean',
5666 if binary
is not None:
5679 packet.append(self.SourceNodeId.to_binary())
5680 packet.append(self.ReferenceTypeId.to_binary())
5681 packet.append(uabin.Primitives.Boolean.pack(self.
IsForward))
5682 packet.append(self.TargetNodeId.to_binary())
5684 return b
''.join(packet)
5693 self.
IsForward = uabin.Primitives.Boolean.unpack(data)
5698 return 'DeleteReferencesItem(' +
'SourceNodeId:' + str(self.
SourceNodeId) +
', ' + \
5700 'IsForward:' + str(self.
IsForward) +
', ' + \
5709 :ivar ReferencesToDelete: 5710 :vartype ReferencesToDelete: DeleteReferencesItem 5714 'ReferencesToDelete':
'DeleteReferencesItem',
5718 if binary
is not None:
5729 packet.append(fieldname.to_binary())
5730 return b
''.join(packet)
5737 length = uabin.Primitives.Int32.unpack(data)
5740 for _
in range(0, length):
5741 array.append(DeleteReferencesItem.from_binary(data))
5745 return 'DeleteReferencesParameters(' +
'ReferencesToDelete:' + str(self.
ReferencesToDelete) +
')' 5752 Delete one or more references from the server address space. 5755 :vartype TypeId: NodeId 5756 :ivar RequestHeader: 5757 :vartype RequestHeader: RequestHeader 5759 :vartype Parameters: DeleteReferencesParameters 5764 'RequestHeader':
'RequestHeader',
5765 'Parameters':
'DeleteReferencesParameters',
5769 if binary
is not None:
5780 packet.append(self.TypeId.to_binary())
5781 packet.append(self.RequestHeader.to_binary())
5782 packet.append(self.Parameters.to_binary())
5783 return b
''.join(packet)
5790 self.
TypeId = NodeId.from_binary(data)
5792 self.
Parameters = DeleteReferencesParameters.from_binary(data)
5795 return 'DeleteReferencesRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5805 :vartype Results: StatusCode 5806 :ivar DiagnosticInfos: 5807 :vartype DiagnosticInfos: DiagnosticInfo 5811 'Results':
'StatusCode',
5812 'DiagnosticInfos':
'DiagnosticInfo',
5816 if binary
is not None:
5826 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
5827 for fieldname
in self.
Results:
5828 packet.append(fieldname.to_binary())
5831 packet.append(fieldname.to_binary())
5832 return b
''.join(packet)
5839 length = uabin.Primitives.Int32.unpack(data)
5842 for _
in range(0, length):
5843 array.append(StatusCode.from_binary(data))
5845 length = uabin.Primitives.Int32.unpack(data)
5848 for _
in range(0, length):
5849 array.append(DiagnosticInfo.from_binary(data))
5853 return 'DeleteReferencesResult(' +
'Results:' + str(self.
Results) +
', ' + \
5861 Delete one or more references from the server address space. 5864 :vartype TypeId: NodeId 5865 :ivar ResponseHeader: 5866 :vartype ResponseHeader: ResponseHeader 5868 :vartype Parameters: DeleteReferencesResult 5873 'ResponseHeader':
'ResponseHeader',
5874 'Parameters':
'DeleteReferencesResult',
5878 if binary
is not None:
5889 packet.append(self.TypeId.to_binary())
5890 packet.append(self.ResponseHeader.to_binary())
5891 packet.append(self.Parameters.to_binary())
5892 return b
''.join(packet)
5899 self.
TypeId = NodeId.from_binary(data)
5901 self.
Parameters = DeleteReferencesResult.from_binary(data)
5904 return 'DeleteReferencesResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
5916 :vartype ViewId: NodeId 5918 :vartype Timestamp: DateTime 5920 :vartype ViewVersion: UInt32 5925 'Timestamp':
'DateTime',
5926 'ViewVersion':
'UInt32',
5930 if binary
is not None:
5941 packet.append(self.ViewId.to_binary())
5942 packet.append(uabin.Primitives.DateTime.pack(self.
Timestamp))
5943 packet.append(uabin.Primitives.UInt32.pack(self.
ViewVersion))
5944 return b
''.join(packet)
5951 self.
ViewId = NodeId.from_binary(data)
5952 self.
Timestamp = uabin.Primitives.DateTime.unpack(data)
5953 self.
ViewVersion = uabin.Primitives.UInt32.unpack(data)
5956 return 'ViewDescription(' +
'ViewId:' + str(self.
ViewId) +
', ' + \
5957 'Timestamp:' + str(self.
Timestamp) +
', ' + \
5965 A request to browse the the references from a node. 5968 :vartype NodeId: NodeId 5969 :ivar BrowseDirection: 5970 :vartype BrowseDirection: BrowseDirection 5971 :ivar ReferenceTypeId: 5972 :vartype ReferenceTypeId: NodeId 5973 :ivar IncludeSubtypes: 5974 :vartype IncludeSubtypes: Boolean 5975 :ivar NodeClassMask: 5976 :vartype NodeClassMask: UInt32 5978 :vartype ResultMask: UInt32 5983 'BrowseDirection':
'BrowseDirection',
5984 'ReferenceTypeId':
'NodeId',
5985 'IncludeSubtypes':
'Boolean',
5986 'NodeClassMask':
'UInt32',
5987 'ResultMask':
'UInt32',
5991 if binary
is not None:
6005 packet.append(self.NodeId.to_binary())
6006 packet.append(uabin.Primitives.UInt32.pack(self.BrowseDirection.value))
6007 packet.append(self.ReferenceTypeId.to_binary())
6009 packet.append(uabin.Primitives.UInt32.pack(self.
NodeClassMask))
6010 packet.append(uabin.Primitives.UInt32.pack(self.
ResultMask))
6011 return b
''.join(packet)
6018 self.
NodeId = NodeId.from_binary(data)
6023 self.
ResultMask = uabin.Primitives.UInt32.unpack(data)
6026 return 'BrowseDescription(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
6038 The description of a reference. 6040 :ivar ReferenceTypeId: 6041 :vartype ReferenceTypeId: NodeId 6043 :vartype IsForward: Boolean 6045 :vartype NodeId: ExpandedNodeId 6047 :vartype BrowseName: QualifiedName 6049 :vartype DisplayName: LocalizedText 6051 :vartype NodeClass: NodeClass 6052 :ivar TypeDefinition: 6053 :vartype TypeDefinition: ExpandedNodeId 6057 'ReferenceTypeId':
'NodeId',
6058 'IsForward':
'Boolean',
6059 'NodeId':
'ExpandedNodeId',
6060 'BrowseName':
'QualifiedName',
6061 'DisplayName':
'LocalizedText',
6062 'NodeClass':
'NodeClass',
6063 'TypeDefinition':
'ExpandedNodeId',
6067 if binary
is not None:
6082 packet.append(self.ReferenceTypeId.to_binary())
6083 packet.append(uabin.Primitives.Boolean.pack(self.
IsForward))
6084 packet.append(self.NodeId.to_binary())
6085 packet.append(self.BrowseName.to_binary())
6086 packet.append(self.DisplayName.to_binary())
6087 packet.append(uabin.Primitives.UInt32.pack(self.NodeClass.value))
6088 packet.append(self.TypeDefinition.to_binary())
6089 return b
''.join(packet)
6097 self.
IsForward = uabin.Primitives.Boolean.unpack(data)
6098 self.
NodeId = ExpandedNodeId.from_binary(data)
6099 self.
BrowseName = QualifiedName.from_binary(data)
6100 self.
DisplayName = LocalizedText.from_binary(data)
6105 return 'ReferenceDescription(' +
'ReferenceTypeId:' + str(self.
ReferenceTypeId) +
', ' + \
6106 'IsForward:' + str(self.
IsForward) +
', ' + \
6107 'NodeId:' + str(self.
NodeId) +
', ' + \
6108 'BrowseName:' + str(self.
BrowseName) +
', ' + \
6110 'NodeClass:' + str(self.
NodeClass) +
', ' + \
6118 The result of a browse operation. 6121 :vartype StatusCode: StatusCode 6122 :ivar ContinuationPoint: 6123 :vartype ContinuationPoint: ByteString 6125 :vartype References: ReferenceDescription 6129 'StatusCode':
'StatusCode',
6130 'ContinuationPoint':
'ByteString',
6131 'References':
'ReferenceDescription',
6135 if binary
is not None:
6146 packet.append(self.StatusCode.to_binary())
6148 packet.append(uabin.Primitives.Int32.pack(len(self.
References)))
6150 packet.append(fieldname.to_binary())
6151 return b
''.join(packet)
6158 self.
StatusCode = StatusCode.from_binary(data)
6160 length = uabin.Primitives.Int32.unpack(data)
6163 for _
in range(0, length):
6164 array.append(ReferenceDescription.from_binary(data))
6168 return 'BrowseResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
6178 :vartype View: ViewDescription 6179 :ivar RequestedMaxReferencesPerNode: 6180 :vartype RequestedMaxReferencesPerNode: UInt32 6181 :ivar NodesToBrowse: 6182 :vartype NodesToBrowse: BrowseDescription 6186 'View':
'ViewDescription',
6187 'RequestedMaxReferencesPerNode':
'UInt32',
6188 'NodesToBrowse':
'BrowseDescription',
6192 if binary
is not None:
6203 packet.append(self.View.to_binary())
6205 packet.append(uabin.Primitives.Int32.pack(len(self.
NodesToBrowse)))
6207 packet.append(fieldname.to_binary())
6208 return b
''.join(packet)
6215 self.
View = ViewDescription.from_binary(data)
6217 length = uabin.Primitives.Int32.unpack(data)
6220 for _
in range(0, length):
6221 array.append(BrowseDescription.from_binary(data))
6225 return 'BrowseParameters(' +
'View:' + str(self.
View) +
', ' + \
6234 Browse the references for one or more nodes from the server address space. 6237 :vartype TypeId: NodeId 6238 :ivar RequestHeader: 6239 :vartype RequestHeader: RequestHeader 6241 :vartype Parameters: BrowseParameters 6246 'RequestHeader':
'RequestHeader',
6247 'Parameters':
'BrowseParameters',
6251 if binary
is not None:
6262 packet.append(self.TypeId.to_binary())
6263 packet.append(self.RequestHeader.to_binary())
6264 packet.append(self.Parameters.to_binary())
6265 return b
''.join(packet)
6272 self.
TypeId = NodeId.from_binary(data)
6274 self.
Parameters = BrowseParameters.from_binary(data)
6277 return 'BrowseRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
6286 Browse the references for one or more nodes from the server address space. 6289 :vartype TypeId: NodeId 6290 :ivar ResponseHeader: 6291 :vartype ResponseHeader: ResponseHeader 6293 :vartype Results: BrowseResult 6294 :ivar DiagnosticInfos: 6295 :vartype DiagnosticInfos: DiagnosticInfo 6300 'ResponseHeader':
'ResponseHeader',
6301 'Results':
'BrowseResult',
6302 'DiagnosticInfos':
'DiagnosticInfo',
6306 if binary
is not None:
6318 packet.append(self.TypeId.to_binary())
6319 packet.append(self.ResponseHeader.to_binary())
6320 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
6321 for fieldname
in self.
Results:
6322 packet.append(fieldname.to_binary())
6325 packet.append(fieldname.to_binary())
6326 return b
''.join(packet)
6333 self.
TypeId = NodeId.from_binary(data)
6335 length = uabin.Primitives.Int32.unpack(data)
6338 for _
in range(0, length):
6339 array.append(BrowseResult.from_binary(data))
6341 length = uabin.Primitives.Int32.unpack(data)
6344 for _
in range(0, length):
6345 array.append(DiagnosticInfo.from_binary(data))
6349 return 'BrowseResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
6351 'Results:' + str(self.
Results) +
', ' + \
6359 :ivar ReleaseContinuationPoints: 6360 :vartype ReleaseContinuationPoints: Boolean 6361 :ivar ContinuationPoints: 6362 :vartype ContinuationPoints: ByteString 6366 'ReleaseContinuationPoints':
'Boolean',
6367 'ContinuationPoints':
'ByteString',
6371 if binary
is not None:
6384 packet.append(uabin.Primitives.ByteString.pack(fieldname))
6385 return b
''.join(packet)
6404 Continues one or more browse operations. 6407 :vartype TypeId: NodeId 6408 :ivar RequestHeader: 6409 :vartype RequestHeader: RequestHeader 6411 :vartype Parameters: BrowseNextParameters 6416 'RequestHeader':
'RequestHeader',
6417 'Parameters':
'BrowseNextParameters',
6421 if binary
is not None:
6432 packet.append(self.TypeId.to_binary())
6433 packet.append(self.RequestHeader.to_binary())
6434 packet.append(self.Parameters.to_binary())
6435 return b
''.join(packet)
6442 self.
TypeId = NodeId.from_binary(data)
6444 self.
Parameters = BrowseNextParameters.from_binary(data)
6447 return 'BrowseNextRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
6457 :vartype Results: BrowseResult 6458 :ivar DiagnosticInfos: 6459 :vartype DiagnosticInfos: DiagnosticInfo 6463 'Results':
'BrowseResult',
6464 'DiagnosticInfos':
'DiagnosticInfo',
6468 if binary
is not None:
6478 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
6479 for fieldname
in self.
Results:
6480 packet.append(fieldname.to_binary())
6483 packet.append(fieldname.to_binary())
6484 return b
''.join(packet)
6491 length = uabin.Primitives.Int32.unpack(data)
6494 for _
in range(0, length):
6495 array.append(BrowseResult.from_binary(data))
6497 length = uabin.Primitives.Int32.unpack(data)
6500 for _
in range(0, length):
6501 array.append(DiagnosticInfo.from_binary(data))
6505 return 'BrowseNextResult(' +
'Results:' + str(self.
Results) +
', ' + \
6513 Continues one or more browse operations. 6516 :vartype TypeId: NodeId 6517 :ivar ResponseHeader: 6518 :vartype ResponseHeader: ResponseHeader 6520 :vartype Parameters: BrowseNextResult 6525 'ResponseHeader':
'ResponseHeader',
6526 'Parameters':
'BrowseNextResult',
6530 if binary
is not None:
6541 packet.append(self.TypeId.to_binary())
6542 packet.append(self.ResponseHeader.to_binary())
6543 packet.append(self.Parameters.to_binary())
6544 return b
''.join(packet)
6551 self.
TypeId = NodeId.from_binary(data)
6553 self.
Parameters = BrowseNextResult.from_binary(data)
6556 return 'BrowseNextResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
6565 An element in a relative path. 6567 :ivar ReferenceTypeId: 6568 :vartype ReferenceTypeId: NodeId 6570 :vartype IsInverse: Boolean 6571 :ivar IncludeSubtypes: 6572 :vartype IncludeSubtypes: Boolean 6574 :vartype TargetName: QualifiedName 6578 'ReferenceTypeId':
'NodeId',
6579 'IsInverse':
'Boolean',
6580 'IncludeSubtypes':
'Boolean',
6581 'TargetName':
'QualifiedName',
6585 if binary
is not None:
6597 packet.append(self.ReferenceTypeId.to_binary())
6598 packet.append(uabin.Primitives.Boolean.pack(self.
IsInverse))
6600 packet.append(self.TargetName.to_binary())
6601 return b
''.join(packet)
6609 self.
IsInverse = uabin.Primitives.Boolean.unpack(data)
6611 self.
TargetName = QualifiedName.from_binary(data)
6614 return 'RelativePathElement(' +
'ReferenceTypeId:' + str(self.
ReferenceTypeId) +
', ' + \
6615 'IsInverse:' + str(self.
IsInverse) +
', ' + \
6624 A relative path constructed from reference types and browse names. 6627 :vartype Elements: RelativePathElement 6631 'Elements':
'RelativePathElement',
6635 if binary
is not None:
6644 packet.append(uabin.Primitives.Int32.pack(len(self.
Elements)))
6646 packet.append(fieldname.to_binary())
6647 return b
''.join(packet)
6654 length = uabin.Primitives.Int32.unpack(data)
6657 for _
in range(0, length):
6658 array.append(RelativePathElement.from_binary(data))
6662 return 'RelativePath(' +
'Elements:' + str(self.
Elements) +
')' 6669 A request to translate a path into a node id. 6672 :vartype StartingNode: NodeId 6674 :vartype RelativePath: RelativePath 6678 'StartingNode':
'NodeId',
6679 'RelativePath':
'RelativePath',
6683 if binary
is not None:
6693 packet.append(self.StartingNode.to_binary())
6694 packet.append(self.RelativePath.to_binary())
6695 return b
''.join(packet)
6706 return 'BrowsePath(' +
'StartingNode:' + str(self.
StartingNode) +
', ' + \
6714 The target of the translated path. 6717 :vartype TargetId: ExpandedNodeId 6718 :ivar RemainingPathIndex: 6719 :vartype RemainingPathIndex: UInt32 6723 'TargetId':
'ExpandedNodeId',
6724 'RemainingPathIndex':
'UInt32',
6728 if binary
is not None:
6738 packet.append(self.TargetId.to_binary())
6740 return b
''.join(packet)
6747 self.
TargetId = ExpandedNodeId.from_binary(data)
6751 return 'BrowsePathTarget(' +
'TargetId:' + str(self.
TargetId) +
', ' + \
6759 The result of a translate opearation. 6762 :vartype StatusCode: StatusCode 6764 :vartype Targets: BrowsePathTarget 6768 'StatusCode':
'StatusCode',
6769 'Targets':
'BrowsePathTarget',
6773 if binary
is not None:
6783 packet.append(self.StatusCode.to_binary())
6784 packet.append(uabin.Primitives.Int32.pack(len(self.
Targets)))
6785 for fieldname
in self.
Targets:
6786 packet.append(fieldname.to_binary())
6787 return b
''.join(packet)
6794 self.
StatusCode = StatusCode.from_binary(data)
6795 length = uabin.Primitives.Int32.unpack(data)
6798 for _
in range(0, length):
6799 array.append(BrowsePathTarget.from_binary(data))
6803 return 'BrowsePathResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
6804 'Targets:' + str(self.
Targets) +
')' 6812 :vartype BrowsePaths: BrowsePath 6816 'BrowsePaths':
'BrowsePath',
6820 if binary
is not None:
6829 packet.append(uabin.Primitives.Int32.pack(len(self.
BrowsePaths)))
6831 packet.append(fieldname.to_binary())
6832 return b
''.join(packet)
6839 length = uabin.Primitives.Int32.unpack(data)
6842 for _
in range(0, length):
6843 array.append(BrowsePath.from_binary(data))
6847 return 'TranslateBrowsePathsToNodeIdsParameters(' +
'BrowsePaths:' + str(self.
BrowsePaths) +
')' 6854 Translates one or more paths in the server address space. 6857 :vartype TypeId: NodeId 6858 :ivar RequestHeader: 6859 :vartype RequestHeader: RequestHeader 6861 :vartype Parameters: TranslateBrowsePathsToNodeIdsParameters 6866 'RequestHeader':
'RequestHeader',
6867 'Parameters':
'TranslateBrowsePathsToNodeIdsParameters',
6871 if binary
is not None:
6882 packet.append(self.TypeId.to_binary())
6883 packet.append(self.RequestHeader.to_binary())
6884 packet.append(self.Parameters.to_binary())
6885 return b
''.join(packet)
6892 self.
TypeId = NodeId.from_binary(data)
6894 self.
Parameters = TranslateBrowsePathsToNodeIdsParameters.from_binary(data)
6897 return 'TranslateBrowsePathsToNodeIdsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
6906 Translates one or more paths in the server address space. 6909 :vartype TypeId: NodeId 6910 :ivar ResponseHeader: 6911 :vartype ResponseHeader: ResponseHeader 6913 :vartype Results: BrowsePathResult 6914 :ivar DiagnosticInfos: 6915 :vartype DiagnosticInfos: DiagnosticInfo 6920 'ResponseHeader':
'ResponseHeader',
6921 'Results':
'BrowsePathResult',
6922 'DiagnosticInfos':
'DiagnosticInfo',
6926 if binary
is not None:
6938 packet.append(self.TypeId.to_binary())
6939 packet.append(self.ResponseHeader.to_binary())
6940 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
6941 for fieldname
in self.
Results:
6942 packet.append(fieldname.to_binary())
6945 packet.append(fieldname.to_binary())
6946 return b
''.join(packet)
6953 self.
TypeId = NodeId.from_binary(data)
6955 length = uabin.Primitives.Int32.unpack(data)
6958 for _
in range(0, length):
6959 array.append(BrowsePathResult.from_binary(data))
6961 length = uabin.Primitives.Int32.unpack(data)
6964 for _
in range(0, length):
6965 array.append(DiagnosticInfo.from_binary(data))
6969 return 'TranslateBrowsePathsToNodeIdsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
6971 'Results:' + str(self.
Results) +
', ' + \
6979 :ivar NodesToRegister: 6980 :vartype NodesToRegister: NodeId 6984 'NodesToRegister':
'NodeId',
6988 if binary
is not None:
6999 packet.append(fieldname.to_binary())
7000 return b
''.join(packet)
7007 length = uabin.Primitives.Int32.unpack(data)
7010 for _
in range(0, length):
7011 array.append(NodeId.from_binary(data))
7015 return 'RegisterNodesParameters(' +
'NodesToRegister:' + str(self.
NodesToRegister) +
')' 7022 Registers one or more nodes for repeated use within a session. 7025 :vartype TypeId: NodeId 7026 :ivar RequestHeader: 7027 :vartype RequestHeader: RequestHeader 7029 :vartype Parameters: RegisterNodesParameters 7034 'RequestHeader':
'RequestHeader',
7035 'Parameters':
'RegisterNodesParameters',
7039 if binary
is not None:
7050 packet.append(self.TypeId.to_binary())
7051 packet.append(self.RequestHeader.to_binary())
7052 packet.append(self.Parameters.to_binary())
7053 return b
''.join(packet)
7060 self.
TypeId = NodeId.from_binary(data)
7062 self.
Parameters = RegisterNodesParameters.from_binary(data)
7065 return 'RegisterNodesRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
7074 :ivar RegisteredNodeIds: 7075 :vartype RegisteredNodeIds: NodeId 7079 'RegisteredNodeIds':
'NodeId',
7083 if binary
is not None:
7094 packet.append(fieldname.to_binary())
7095 return b
''.join(packet)
7102 length = uabin.Primitives.Int32.unpack(data)
7105 for _
in range(0, length):
7106 array.append(NodeId.from_binary(data))
7110 return 'RegisterNodesResult(' +
'RegisteredNodeIds:' + str(self.
RegisteredNodeIds) +
')' 7117 Registers one or more nodes for repeated use within a session. 7120 :vartype TypeId: NodeId 7121 :ivar ResponseHeader: 7122 :vartype ResponseHeader: ResponseHeader 7124 :vartype Parameters: RegisterNodesResult 7129 'ResponseHeader':
'ResponseHeader',
7130 'Parameters':
'RegisterNodesResult',
7134 if binary
is not None:
7145 packet.append(self.TypeId.to_binary())
7146 packet.append(self.ResponseHeader.to_binary())
7147 packet.append(self.Parameters.to_binary())
7148 return b
''.join(packet)
7155 self.
TypeId = NodeId.from_binary(data)
7157 self.
Parameters = RegisterNodesResult.from_binary(data)
7160 return 'RegisterNodesResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
7169 :ivar NodesToUnregister: 7170 :vartype NodesToUnregister: NodeId 7174 'NodesToUnregister':
'NodeId',
7178 if binary
is not None:
7189 packet.append(fieldname.to_binary())
7190 return b
''.join(packet)
7197 length = uabin.Primitives.Int32.unpack(data)
7200 for _
in range(0, length):
7201 array.append(NodeId.from_binary(data))
7205 return 'UnregisterNodesParameters(' +
'NodesToUnregister:' + str(self.
NodesToUnregister) +
')' 7212 Unregisters one or more previously registered nodes. 7215 :vartype TypeId: NodeId 7216 :ivar RequestHeader: 7217 :vartype RequestHeader: RequestHeader 7219 :vartype Parameters: UnregisterNodesParameters 7224 'RequestHeader':
'RequestHeader',
7225 'Parameters':
'UnregisterNodesParameters',
7229 if binary
is not None:
7240 packet.append(self.TypeId.to_binary())
7241 packet.append(self.RequestHeader.to_binary())
7242 packet.append(self.Parameters.to_binary())
7243 return b
''.join(packet)
7250 self.
TypeId = NodeId.from_binary(data)
7252 self.
Parameters = UnregisterNodesParameters.from_binary(data)
7255 return 'UnregisterNodesRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
7264 Unregisters one or more previously registered nodes. 7267 :vartype TypeId: NodeId 7268 :ivar ResponseHeader: 7269 :vartype ResponseHeader: ResponseHeader 7274 'ResponseHeader':
'ResponseHeader',
7278 if binary
is not None:
7288 packet.append(self.TypeId.to_binary())
7289 packet.append(self.ResponseHeader.to_binary())
7290 return b
''.join(packet)
7297 self.
TypeId = NodeId.from_binary(data)
7301 return 'UnregisterNodesResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
7309 :ivar OperationTimeout: 7310 :vartype OperationTimeout: Int32 7311 :ivar UseBinaryEncoding: 7312 :vartype UseBinaryEncoding: Boolean 7313 :ivar MaxStringLength: 7314 :vartype MaxStringLength: Int32 7315 :ivar MaxByteStringLength: 7316 :vartype MaxByteStringLength: Int32 7317 :ivar MaxArrayLength: 7318 :vartype MaxArrayLength: Int32 7319 :ivar MaxMessageSize: 7320 :vartype MaxMessageSize: Int32 7321 :ivar MaxBufferSize: 7322 :vartype MaxBufferSize: Int32 7323 :ivar ChannelLifetime: 7324 :vartype ChannelLifetime: Int32 7325 :ivar SecurityTokenLifetime: 7326 :vartype SecurityTokenLifetime: Int32 7330 'OperationTimeout':
'Int32',
7331 'UseBinaryEncoding':
'Boolean',
7332 'MaxStringLength':
'Int32',
7333 'MaxByteStringLength':
'Int32',
7334 'MaxArrayLength':
'Int32',
7335 'MaxMessageSize':
'Int32',
7336 'MaxBufferSize':
'Int32',
7337 'ChannelLifetime':
'Int32',
7338 'SecurityTokenLifetime':
'Int32',
7342 if binary
is not None:
7365 packet.append(uabin.Primitives.Int32.pack(self.
MaxBufferSize))
7368 return b
''.join(packet)
7386 return 'EndpointConfiguration(' +
'OperationTimeout:' + str(self.
OperationTimeout) +
', ' + \
7401 :ivar OrganizationUri: 7402 :vartype OrganizationUri: String 7404 :vartype ProfileId: String 7405 :ivar ComplianceTool: 7406 :vartype ComplianceTool: String 7407 :ivar ComplianceDate: 7408 :vartype ComplianceDate: DateTime 7409 :ivar ComplianceLevel: 7410 :vartype ComplianceLevel: ComplianceLevel 7411 :ivar UnsupportedUnitIds: 7412 :vartype UnsupportedUnitIds: String 7416 'OrganizationUri':
'String',
7417 'ProfileId':
'String',
7418 'ComplianceTool':
'String',
7419 'ComplianceDate':
'DateTime',
7420 'ComplianceLevel':
'ComplianceLevel',
7421 'UnsupportedUnitIds':
'String',
7425 if binary
is not None:
7440 packet.append(uabin.Primitives.String.pack(self.
ProfileId))
7442 packet.append(uabin.Primitives.DateTime.pack(self.
ComplianceDate))
7443 packet.append(uabin.Primitives.UInt32.pack(self.ComplianceLevel.value))
7446 packet.append(uabin.Primitives.String.pack(fieldname))
7447 return b
''.join(packet)
7455 self.
ProfileId = uabin.Primitives.String.unpack(data)
7462 return 'SupportedProfile(' +
'OrganizationUri:' + str(self.
OrganizationUri) +
', ' + \
7463 'ProfileId:' + str(self.
ProfileId) +
', ' + \
7475 :vartype ProductName: String 7477 :vartype ProductUri: String 7479 :vartype VendorName: String 7480 :ivar VendorProductCertificate: 7481 :vartype VendorProductCertificate: ByteString 7482 :ivar SoftwareVersion: 7483 :vartype SoftwareVersion: String 7485 :vartype BuildNumber: String 7487 :vartype BuildDate: DateTime 7489 :vartype IssuedBy: String 7491 :vartype IssueDate: DateTime 7492 :ivar SupportedProfiles: 7493 :vartype SupportedProfiles: SupportedProfile 7497 'ProductName':
'String',
7498 'ProductUri':
'String',
7499 'VendorName':
'String',
7500 'VendorProductCertificate':
'ByteString',
7501 'SoftwareVersion':
'String',
7502 'BuildNumber':
'String',
7503 'BuildDate':
'DateTime',
7504 'IssuedBy':
'String',
7505 'IssueDate':
'DateTime',
7506 'SupportedProfiles':
'SupportedProfile',
7510 if binary
is not None:
7528 packet.append(uabin.Primitives.String.pack(self.
ProductName))
7529 packet.append(uabin.Primitives.String.pack(self.
ProductUri))
7530 packet.append(uabin.Primitives.String.pack(self.
VendorName))
7533 packet.append(uabin.Primitives.String.pack(self.
BuildNumber))
7534 packet.append(uabin.Primitives.DateTime.pack(self.
BuildDate))
7535 packet.append(uabin.Primitives.String.pack(self.
IssuedBy))
7536 packet.append(uabin.Primitives.DateTime.pack(self.
IssueDate))
7539 packet.append(fieldname.to_binary())
7540 return b
''.join(packet)
7547 self.
ProductName = uabin.Primitives.String.unpack(data)
7548 self.
ProductUri = uabin.Primitives.String.unpack(data)
7549 self.
VendorName = uabin.Primitives.String.unpack(data)
7552 self.
BuildNumber = uabin.Primitives.String.unpack(data)
7553 self.
BuildDate = uabin.Primitives.DateTime.unpack(data)
7554 self.
IssuedBy = uabin.Primitives.String.unpack(data)
7555 self.
IssueDate = uabin.Primitives.DateTime.unpack(data)
7556 length = uabin.Primitives.Int32.unpack(data)
7559 for _
in range(0, length):
7560 array.append(SupportedProfile.from_binary(data))
7564 return 'SoftwareCertificate(' +
'ProductName:' + str(self.
ProductName) +
', ' + \
7565 'ProductUri:' + str(self.
ProductUri) +
', ' + \
7566 'VendorName:' + str(self.
VendorName) +
', ' + \
7570 'BuildDate:' + str(self.
BuildDate) +
', ' + \
7571 'IssuedBy:' + str(self.
IssuedBy) +
', ' + \
7572 'IssueDate:' + str(self.
IssueDate) +
', ' + \
7581 :vartype RelativePath: RelativePath 7583 :vartype AttributeId: UInt32 7585 :vartype IndexRange: String 7589 'RelativePath':
'RelativePath',
7590 'AttributeId':
'UInt32',
7591 'IndexRange':
'String',
7595 if binary
is not None:
7606 packet.append(self.RelativePath.to_binary())
7607 packet.append(uabin.Primitives.UInt32.pack(self.
AttributeId))
7608 packet.append(uabin.Primitives.String.pack(self.
IndexRange))
7609 return b
''.join(packet)
7617 self.
AttributeId = uabin.Primitives.UInt32.unpack(data)
7618 self.
IndexRange = uabin.Primitives.String.unpack(data)
7621 return 'QueryDataDescription(' +
'RelativePath:' + str(self.
RelativePath) +
', ' + \
7630 :ivar TypeDefinitionNode: 7631 :vartype TypeDefinitionNode: ExpandedNodeId 7632 :ivar IncludeSubTypes: 7633 :vartype IncludeSubTypes: Boolean 7635 :vartype DataToReturn: QueryDataDescription 7639 'TypeDefinitionNode':
'ExpandedNodeId',
7640 'IncludeSubTypes':
'Boolean',
7641 'DataToReturn':
'QueryDataDescription',
7645 if binary
is not None:
7656 packet.append(self.TypeDefinitionNode.to_binary())
7658 packet.append(uabin.Primitives.Int32.pack(len(self.
DataToReturn)))
7660 packet.append(fieldname.to_binary())
7661 return b
''.join(packet)
7670 length = uabin.Primitives.Int32.unpack(data)
7673 for _
in range(0, length):
7674 array.append(QueryDataDescription.from_binary(data))
7678 return 'NodeTypeDescription(' +
'TypeDefinitionNode:' + str(self.
TypeDefinitionNode) +
', ' + \
7688 :vartype NodeId: ExpandedNodeId 7689 :ivar TypeDefinitionNode: 7690 :vartype TypeDefinitionNode: ExpandedNodeId 7692 :vartype Values: Variant 7696 'NodeId':
'ExpandedNodeId',
7697 'TypeDefinitionNode':
'ExpandedNodeId',
7698 'Values':
'Variant',
7702 if binary
is not None:
7713 packet.append(self.NodeId.to_binary())
7714 packet.append(self.TypeDefinitionNode.to_binary())
7715 packet.append(uabin.Primitives.Int32.pack(len(self.
Values)))
7716 for fieldname
in self.
Values:
7717 packet.append(fieldname.to_binary())
7718 return b
''.join(packet)
7725 self.
NodeId = ExpandedNodeId.from_binary(data)
7727 length = uabin.Primitives.Int32.unpack(data)
7730 for _
in range(0, length):
7731 array.append(Variant.from_binary(data))
7735 return 'QueryDataSet(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
7737 'Values:' + str(self.
Values) +
')' 7745 :vartype NodeId: NodeId 7746 :ivar ReferenceTypeId: 7747 :vartype ReferenceTypeId: NodeId 7749 :vartype IsForward: Boolean 7750 :ivar ReferencedNodeIds: 7751 :vartype ReferencedNodeIds: NodeId 7756 'ReferenceTypeId':
'NodeId',
7757 'IsForward':
'Boolean',
7758 'ReferencedNodeIds':
'NodeId',
7762 if binary
is not None:
7774 packet.append(self.NodeId.to_binary())
7775 packet.append(self.ReferenceTypeId.to_binary())
7776 packet.append(uabin.Primitives.Boolean.pack(self.
IsForward))
7779 packet.append(fieldname.to_binary())
7780 return b
''.join(packet)
7787 self.
NodeId = NodeId.from_binary(data)
7789 self.
IsForward = uabin.Primitives.Boolean.unpack(data)
7790 length = uabin.Primitives.Int32.unpack(data)
7793 for _
in range(0, length):
7794 array.append(NodeId.from_binary(data))
7798 return 'NodeReference(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
7800 'IsForward:' + str(self.
IsForward) +
', ' + \
7808 :ivar FilterOperator: 7809 :vartype FilterOperator: FilterOperator 7810 :ivar FilterOperands: 7811 :vartype FilterOperands: ExtensionObject 7815 'FilterOperator':
'FilterOperator',
7816 'FilterOperands':
'ExtensionObject',
7820 if binary
is not None:
7830 packet.append(uabin.Primitives.UInt32.pack(self.FilterOperator.value))
7831 packet.append(uabin.Primitives.Int32.pack(len(self.
FilterOperands)))
7834 return b
''.join(packet)
7842 length = uabin.Primitives.Int32.unpack(data)
7845 for _
in range(0, length):
7850 return 'ContentFilterElement(' +
'FilterOperator:' + str(self.
FilterOperator) +
', ' + \
7859 :vartype Elements: ContentFilterElement 7863 'Elements':
'ContentFilterElement',
7867 if binary
is not None:
7876 packet.append(uabin.Primitives.Int32.pack(len(self.
Elements)))
7878 packet.append(fieldname.to_binary())
7879 return b
''.join(packet)
7886 length = uabin.Primitives.Int32.unpack(data)
7889 for _
in range(0, length):
7890 array.append(ContentFilterElement.from_binary(data))
7894 return 'ContentFilter(' +
'Elements:' + str(self.
Elements) +
')' 7902 :vartype Index: UInt32 7910 if binary
is not None:
7919 packet.append(uabin.Primitives.UInt32.pack(self.
Index))
7920 return b
''.join(packet)
7927 self.
Index = uabin.Primitives.UInt32.unpack(data)
7930 return 'ElementOperand(' +
'Index:' + str(self.
Index) +
')' 7938 :vartype Value: Variant 7946 if binary
is not None:
7955 packet.append(self.Value.to_binary())
7956 return b
''.join(packet)
7963 self.
Value = Variant.from_binary(data)
7966 return 'LiteralOperand(' +
'Value:' + str(self.
Value) +
')' 7974 :vartype NodeId: NodeId 7976 :vartype Alias: String 7978 :vartype BrowsePath: RelativePath 7980 :vartype AttributeId: UInt32 7982 :vartype IndexRange: String 7988 'BrowsePath':
'RelativePath',
7989 'AttributeId':
'UInt32',
7990 'IndexRange':
'String',
7994 if binary
is not None:
8007 packet.append(self.NodeId.to_binary())
8008 packet.append(uabin.Primitives.String.pack(self.
Alias))
8009 packet.append(self.BrowsePath.to_binary())
8010 packet.append(uabin.Primitives.UInt32.pack(self.
AttributeId))
8011 packet.append(uabin.Primitives.String.pack(self.
IndexRange))
8012 return b
''.join(packet)
8019 self.
NodeId = NodeId.from_binary(data)
8020 self.
Alias = uabin.Primitives.String.unpack(data)
8021 self.
BrowsePath = RelativePath.from_binary(data)
8022 self.
AttributeId = uabin.Primitives.UInt32.unpack(data)
8023 self.
IndexRange = uabin.Primitives.String.unpack(data)
8026 return 'AttributeOperand(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
8027 'Alias:' + str(self.
Alias) +
', ' + \
8028 'BrowsePath:' + str(self.
BrowsePath) +
', ' + \
8037 :ivar TypeDefinitionId: 8038 :vartype TypeDefinitionId: NodeId 8040 :vartype BrowsePath: QualifiedName 8042 :vartype AttributeId: UInt32 8044 :vartype IndexRange: String 8048 'TypeDefinitionId':
'NodeId',
8049 'BrowsePath':
'QualifiedName',
8050 'AttributeId':
'UInt32',
8051 'IndexRange':
'String',
8055 if binary
is not None:
8067 packet.append(self.TypeDefinitionId.to_binary())
8068 packet.append(uabin.Primitives.Int32.pack(len(self.
BrowsePath)))
8070 packet.append(fieldname.to_binary())
8071 packet.append(uabin.Primitives.UInt32.pack(self.
AttributeId))
8072 packet.append(uabin.Primitives.String.pack(self.
IndexRange))
8073 return b
''.join(packet)
8081 length = uabin.Primitives.Int32.unpack(data)
8084 for _
in range(0, length):
8085 array.append(QualifiedName.from_binary(data))
8087 self.
AttributeId = uabin.Primitives.UInt32.unpack(data)
8088 self.
IndexRange = uabin.Primitives.String.unpack(data)
8091 return 'SimpleAttributeOperand(' +
'TypeDefinitionId:' + str(self.
TypeDefinitionId) +
', ' + \
8092 'BrowsePath:' + str(self.
BrowsePath) +
', ' + \
8102 :vartype StatusCode: StatusCode 8103 :ivar OperandStatusCodes: 8104 :vartype OperandStatusCodes: StatusCode 8105 :ivar OperandDiagnosticInfos: 8106 :vartype OperandDiagnosticInfos: DiagnosticInfo 8110 'StatusCode':
'StatusCode',
8111 'OperandStatusCodes':
'StatusCode',
8112 'OperandDiagnosticInfos':
'DiagnosticInfo',
8116 if binary
is not None:
8127 packet.append(self.StatusCode.to_binary())
8130 packet.append(fieldname.to_binary())
8133 packet.append(fieldname.to_binary())
8134 return b
''.join(packet)
8141 self.
StatusCode = StatusCode.from_binary(data)
8142 length = uabin.Primitives.Int32.unpack(data)
8145 for _
in range(0, length):
8146 array.append(StatusCode.from_binary(data))
8148 length = uabin.Primitives.Int32.unpack(data)
8151 for _
in range(0, length):
8152 array.append(DiagnosticInfo.from_binary(data))
8156 return 'ContentFilterElementResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
8165 :ivar ElementResults: 8166 :vartype ElementResults: ContentFilterElementResult 8167 :ivar ElementDiagnosticInfos: 8168 :vartype ElementDiagnosticInfos: DiagnosticInfo 8172 'ElementResults':
'ContentFilterElementResult',
8173 'ElementDiagnosticInfos':
'DiagnosticInfo',
8177 if binary
is not None:
8187 packet.append(uabin.Primitives.Int32.pack(len(self.
ElementResults)))
8189 packet.append(fieldname.to_binary())
8192 packet.append(fieldname.to_binary())
8193 return b
''.join(packet)
8200 length = uabin.Primitives.Int32.unpack(data)
8203 for _
in range(0, length):
8204 array.append(ContentFilterElementResult.from_binary(data))
8206 length = uabin.Primitives.Int32.unpack(data)
8209 for _
in range(0, length):
8210 array.append(DiagnosticInfo.from_binary(data))
8214 return 'ContentFilterResult(' +
'ElementResults:' + str(self.
ElementResults) +
', ' + \
8223 :vartype StatusCode: StatusCode 8224 :ivar DataStatusCodes: 8225 :vartype DataStatusCodes: StatusCode 8226 :ivar DataDiagnosticInfos: 8227 :vartype DataDiagnosticInfos: DiagnosticInfo 8231 'StatusCode':
'StatusCode',
8232 'DataStatusCodes':
'StatusCode',
8233 'DataDiagnosticInfos':
'DiagnosticInfo',
8237 if binary
is not None:
8248 packet.append(self.StatusCode.to_binary())
8251 packet.append(fieldname.to_binary())
8254 packet.append(fieldname.to_binary())
8255 return b
''.join(packet)
8262 self.
StatusCode = StatusCode.from_binary(data)
8263 length = uabin.Primitives.Int32.unpack(data)
8266 for _
in range(0, length):
8267 array.append(StatusCode.from_binary(data))
8269 length = uabin.Primitives.Int32.unpack(data)
8272 for _
in range(0, length):
8273 array.append(DiagnosticInfo.from_binary(data))
8277 return 'ParsingResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
8287 :vartype View: ViewDescription 8289 :vartype NodeTypes: NodeTypeDescription 8291 :vartype Filter: ContentFilter 8292 :ivar MaxDataSetsToReturn: 8293 :vartype MaxDataSetsToReturn: UInt32 8294 :ivar MaxReferencesToReturn: 8295 :vartype MaxReferencesToReturn: UInt32 8299 'View':
'ViewDescription',
8300 'NodeTypes':
'NodeTypeDescription',
8301 'Filter':
'ContentFilter',
8302 'MaxDataSetsToReturn':
'UInt32',
8303 'MaxReferencesToReturn':
'UInt32',
8307 if binary
is not None:
8320 packet.append(self.View.to_binary())
8321 packet.append(uabin.Primitives.Int32.pack(len(self.
NodeTypes)))
8323 packet.append(fieldname.to_binary())
8324 packet.append(self.Filter.to_binary())
8327 return b
''.join(packet)
8334 self.
View = ViewDescription.from_binary(data)
8335 length = uabin.Primitives.Int32.unpack(data)
8338 for _
in range(0, length):
8339 array.append(NodeTypeDescription.from_binary(data))
8341 self.
Filter = ContentFilter.from_binary(data)
8346 return 'QueryFirstParameters(' +
'View:' + str(self.
View) +
', ' + \
8347 'NodeTypes:' + str(self.
NodeTypes) +
', ' + \
8348 'Filter:' + str(self.
Filter) +
', ' + \
8358 :vartype TypeId: NodeId 8359 :ivar RequestHeader: 8360 :vartype RequestHeader: RequestHeader 8362 :vartype Parameters: QueryFirstParameters 8367 'RequestHeader':
'RequestHeader',
8368 'Parameters':
'QueryFirstParameters',
8372 if binary
is not None:
8383 packet.append(self.TypeId.to_binary())
8384 packet.append(self.RequestHeader.to_binary())
8385 packet.append(self.Parameters.to_binary())
8386 return b
''.join(packet)
8393 self.
TypeId = NodeId.from_binary(data)
8395 self.
Parameters = QueryFirstParameters.from_binary(data)
8398 return 'QueryFirstRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
8407 :ivar QueryDataSets: 8408 :vartype QueryDataSets: QueryDataSet 8409 :ivar ContinuationPoint: 8410 :vartype ContinuationPoint: ByteString 8411 :ivar ParsingResults: 8412 :vartype ParsingResults: ParsingResult 8413 :ivar DiagnosticInfos: 8414 :vartype DiagnosticInfos: DiagnosticInfo 8416 :vartype FilterResult: ContentFilterResult 8420 'QueryDataSets':
'QueryDataSet',
8421 'ContinuationPoint':
'ByteString',
8422 'ParsingResults':
'ParsingResult',
8423 'DiagnosticInfos':
'DiagnosticInfo',
8424 'FilterResult':
'ContentFilterResult',
8428 if binary
is not None:
8441 packet.append(uabin.Primitives.Int32.pack(len(self.
QueryDataSets)))
8443 packet.append(fieldname.to_binary())
8445 packet.append(uabin.Primitives.Int32.pack(len(self.
ParsingResults)))
8447 packet.append(fieldname.to_binary())
8450 packet.append(fieldname.to_binary())
8451 packet.append(self.FilterResult.to_binary())
8452 return b
''.join(packet)
8459 length = uabin.Primitives.Int32.unpack(data)
8462 for _
in range(0, length):
8463 array.append(QueryDataSet.from_binary(data))
8466 length = uabin.Primitives.Int32.unpack(data)
8469 for _
in range(0, length):
8470 array.append(ParsingResult.from_binary(data))
8472 length = uabin.Primitives.Int32.unpack(data)
8475 for _
in range(0, length):
8476 array.append(DiagnosticInfo.from_binary(data))
8478 self.
FilterResult = ContentFilterResult.from_binary(data)
8481 return 'QueryFirstResult(' +
'QueryDataSets:' + str(self.
QueryDataSets) +
', ' + \
8493 :vartype TypeId: NodeId 8494 :ivar ResponseHeader: 8495 :vartype ResponseHeader: ResponseHeader 8497 :vartype Parameters: QueryFirstResult 8502 'ResponseHeader':
'ResponseHeader',
8503 'Parameters':
'QueryFirstResult',
8507 if binary
is not None:
8518 packet.append(self.TypeId.to_binary())
8519 packet.append(self.ResponseHeader.to_binary())
8520 packet.append(self.Parameters.to_binary())
8521 return b
''.join(packet)
8528 self.
TypeId = NodeId.from_binary(data)
8530 self.
Parameters = QueryFirstResult.from_binary(data)
8533 return 'QueryFirstResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
8542 :ivar ReleaseContinuationPoint: 8543 :vartype ReleaseContinuationPoint: Boolean 8544 :ivar ContinuationPoint: 8545 :vartype ContinuationPoint: ByteString 8549 'ReleaseContinuationPoint':
'Boolean',
8550 'ContinuationPoint':
'ByteString',
8554 if binary
is not None:
8566 return b
''.join(packet)
8586 :vartype TypeId: NodeId 8587 :ivar RequestHeader: 8588 :vartype RequestHeader: RequestHeader 8590 :vartype Parameters: QueryNextParameters 8595 'RequestHeader':
'RequestHeader',
8596 'Parameters':
'QueryNextParameters',
8600 if binary
is not None:
8611 packet.append(self.TypeId.to_binary())
8612 packet.append(self.RequestHeader.to_binary())
8613 packet.append(self.Parameters.to_binary())
8614 return b
''.join(packet)
8621 self.
TypeId = NodeId.from_binary(data)
8623 self.
Parameters = QueryNextParameters.from_binary(data)
8626 return 'QueryNextRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
8635 :ivar QueryDataSets: 8636 :vartype QueryDataSets: QueryDataSet 8637 :ivar RevisedContinuationPoint: 8638 :vartype RevisedContinuationPoint: ByteString 8642 'QueryDataSets':
'QueryDataSet',
8643 'RevisedContinuationPoint':
'ByteString',
8647 if binary
is not None:
8657 packet.append(uabin.Primitives.Int32.pack(len(self.
QueryDataSets)))
8659 packet.append(fieldname.to_binary())
8661 return b
''.join(packet)
8668 length = uabin.Primitives.Int32.unpack(data)
8671 for _
in range(0, length):
8672 array.append(QueryDataSet.from_binary(data))
8677 return 'QueryNextResult(' +
'QueryDataSets:' + str(self.
QueryDataSets) +
', ' + \
8686 :vartype TypeId: NodeId 8687 :ivar ResponseHeader: 8688 :vartype ResponseHeader: ResponseHeader 8690 :vartype Parameters: QueryNextResult 8695 'ResponseHeader':
'ResponseHeader',
8696 'Parameters':
'QueryNextResult',
8700 if binary
is not None:
8711 packet.append(self.TypeId.to_binary())
8712 packet.append(self.ResponseHeader.to_binary())
8713 packet.append(self.Parameters.to_binary())
8714 return b
''.join(packet)
8721 self.
TypeId = NodeId.from_binary(data)
8723 self.
Parameters = QueryNextResult.from_binary(data)
8726 return 'QueryNextResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
8736 :vartype NodeId: NodeId 8738 :vartype AttributeId: UInt32 8740 :vartype IndexRange: String 8742 :vartype DataEncoding: QualifiedName 8747 'AttributeId':
'UInt32',
8748 'IndexRange':
'String',
8749 'DataEncoding':
'QualifiedName',
8753 if binary
is not None:
8765 packet.append(self.NodeId.to_binary())
8766 packet.append(uabin.Primitives.UInt32.pack(self.
AttributeId))
8767 packet.append(uabin.Primitives.String.pack(self.
IndexRange))
8768 packet.append(self.DataEncoding.to_binary())
8769 return b
''.join(packet)
8776 self.
NodeId = NodeId.from_binary(data)
8777 self.
AttributeId = uabin.Primitives.UInt32.unpack(data)
8778 self.
IndexRange = uabin.Primitives.String.unpack(data)
8782 return 'ReadValueId(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
8784 'IndexRange:' + str(self.
IndexRange) +
', ' + \
8793 :vartype MaxAge: Double 8794 :ivar TimestampsToReturn: 8795 :vartype TimestampsToReturn: TimestampsToReturn 8797 :vartype NodesToRead: ReadValueId 8802 'TimestampsToReturn':
'TimestampsToReturn',
8803 'NodesToRead':
'ReadValueId',
8807 if binary
is not None:
8818 packet.append(uabin.Primitives.Double.pack(self.
MaxAge))
8819 packet.append(uabin.Primitives.UInt32.pack(self.TimestampsToReturn.value))
8820 packet.append(uabin.Primitives.Int32.pack(len(self.
NodesToRead)))
8822 packet.append(fieldname.to_binary())
8823 return b
''.join(packet)
8830 self.
MaxAge = uabin.Primitives.Double.unpack(data)
8832 length = uabin.Primitives.Int32.unpack(data)
8835 for _
in range(0, length):
8836 array.append(ReadValueId.from_binary(data))
8840 return 'ReadParameters(' +
'MaxAge:' + str(self.
MaxAge) +
', ' + \
8850 :vartype TypeId: NodeId 8851 :ivar RequestHeader: 8852 :vartype RequestHeader: RequestHeader 8854 :vartype Parameters: ReadParameters 8859 'RequestHeader':
'RequestHeader',
8860 'Parameters':
'ReadParameters',
8864 if binary
is not None:
8875 packet.append(self.TypeId.to_binary())
8876 packet.append(self.RequestHeader.to_binary())
8877 packet.append(self.Parameters.to_binary())
8878 return b
''.join(packet)
8885 self.
TypeId = NodeId.from_binary(data)
8887 self.
Parameters = ReadParameters.from_binary(data)
8890 return 'ReadRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
8900 :vartype TypeId: NodeId 8901 :ivar ResponseHeader: 8902 :vartype ResponseHeader: ResponseHeader 8904 :vartype Results: DataValue 8905 :ivar DiagnosticInfos: 8906 :vartype DiagnosticInfos: DiagnosticInfo 8911 'ResponseHeader':
'ResponseHeader',
8912 'Results':
'DataValue',
8913 'DiagnosticInfos':
'DiagnosticInfo',
8917 if binary
is not None:
8929 packet.append(self.TypeId.to_binary())
8930 packet.append(self.ResponseHeader.to_binary())
8931 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
8932 for fieldname
in self.
Results:
8933 packet.append(fieldname.to_binary())
8936 packet.append(fieldname.to_binary())
8937 return b
''.join(packet)
8944 self.
TypeId = NodeId.from_binary(data)
8946 length = uabin.Primitives.Int32.unpack(data)
8949 for _
in range(0, length):
8950 array.append(DataValue.from_binary(data))
8952 length = uabin.Primitives.Int32.unpack(data)
8955 for _
in range(0, length):
8956 array.append(DiagnosticInfo.from_binary(data))
8960 return 'ReadResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
8962 'Results:' + str(self.
Results) +
', ' + \
8971 :vartype NodeId: NodeId 8973 :vartype IndexRange: String 8975 :vartype DataEncoding: QualifiedName 8976 :ivar ContinuationPoint: 8977 :vartype ContinuationPoint: ByteString 8982 'IndexRange':
'String',
8983 'DataEncoding':
'QualifiedName',
8984 'ContinuationPoint':
'ByteString',
8988 if binary
is not None:
9000 packet.append(self.NodeId.to_binary())
9001 packet.append(uabin.Primitives.String.pack(self.
IndexRange))
9002 packet.append(self.DataEncoding.to_binary())
9004 return b
''.join(packet)
9011 self.
NodeId = NodeId.from_binary(data)
9012 self.
IndexRange = uabin.Primitives.String.unpack(data)
9017 return 'HistoryReadValueId(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
9018 'IndexRange:' + str(self.
IndexRange) +
', ' + \
9028 :vartype StatusCode: StatusCode 9029 :ivar ContinuationPoint: 9030 :vartype ContinuationPoint: ByteString 9032 :vartype HistoryData: ExtensionObject 9036 'StatusCode':
'StatusCode',
9037 'ContinuationPoint':
'ByteString',
9038 'HistoryData':
'ExtensionObject',
9042 if binary
is not None:
9053 packet.append(self.StatusCode.to_binary())
9056 return b
''.join(packet)
9063 self.
StatusCode = StatusCode.from_binary(data)
9068 return 'HistoryReadResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
9083 if binary
is not None:
9091 return b
''.join(packet)
9101 return 'HistoryReadDetails(' + +
')' 9108 :ivar NumValuesPerNode: 9109 :vartype NumValuesPerNode: UInt32 9111 :vartype StartTime: DateTime 9113 :vartype EndTime: DateTime 9115 :vartype Filter: EventFilter 9119 'NumValuesPerNode':
'UInt32',
9120 'StartTime':
'DateTime',
9121 'EndTime':
'DateTime',
9122 'Filter':
'EventFilter',
9126 if binary
is not None:
9139 packet.append(uabin.Primitives.DateTime.pack(self.
StartTime))
9140 packet.append(uabin.Primitives.DateTime.pack(self.
EndTime))
9141 packet.append(self.Filter.to_binary())
9142 return b
''.join(packet)
9150 self.
StartTime = uabin.Primitives.DateTime.unpack(data)
9151 self.
EndTime = uabin.Primitives.DateTime.unpack(data)
9152 self.
Filter = EventFilter.from_binary(data)
9155 return 'ReadEventDetails(' +
'NumValuesPerNode:' + str(self.
NumValuesPerNode) +
', ' + \
9156 'StartTime:' + str(self.
StartTime) +
', ' + \
9157 'EndTime:' + str(self.
EndTime) +
', ' + \
9158 'Filter:' + str(self.
Filter) +
')' 9165 :ivar IsReadModified: 9166 :vartype IsReadModified: Boolean 9168 :vartype StartTime: DateTime 9170 :vartype EndTime: DateTime 9171 :ivar NumValuesPerNode: 9172 :vartype NumValuesPerNode: UInt32 9174 :vartype ReturnBounds: Boolean 9178 'IsReadModified':
'Boolean',
9179 'StartTime':
'DateTime',
9180 'EndTime':
'DateTime',
9181 'NumValuesPerNode':
'UInt32',
9182 'ReturnBounds':
'Boolean',
9186 if binary
is not None:
9199 packet.append(uabin.Primitives.Boolean.pack(self.
IsReadModified))
9200 packet.append(uabin.Primitives.DateTime.pack(self.
StartTime))
9201 packet.append(uabin.Primitives.DateTime.pack(self.
EndTime))
9203 packet.append(uabin.Primitives.Boolean.pack(self.
ReturnBounds))
9204 return b
''.join(packet)
9212 self.
StartTime = uabin.Primitives.DateTime.unpack(data)
9213 self.
EndTime = uabin.Primitives.DateTime.unpack(data)
9215 self.
ReturnBounds = uabin.Primitives.Boolean.unpack(data)
9218 return 'ReadRawModifiedDetails(' +
'IsReadModified:' + str(self.
IsReadModified) +
', ' + \
9219 'StartTime:' + str(self.
StartTime) +
', ' + \
9220 'EndTime:' + str(self.
EndTime) +
', ' + \
9230 :vartype StartTime: DateTime 9232 :vartype EndTime: DateTime 9233 :ivar ProcessingInterval: 9234 :vartype ProcessingInterval: Double 9235 :ivar AggregateType: 9236 :vartype AggregateType: NodeId 9237 :ivar AggregateConfiguration: 9238 :vartype AggregateConfiguration: AggregateConfiguration 9242 'StartTime':
'DateTime',
9243 'EndTime':
'DateTime',
9244 'ProcessingInterval':
'Double',
9245 'AggregateType':
'NodeId',
9246 'AggregateConfiguration':
'AggregateConfiguration',
9250 if binary
is not None:
9263 packet.append(uabin.Primitives.DateTime.pack(self.
StartTime))
9264 packet.append(uabin.Primitives.DateTime.pack(self.
EndTime))
9266 packet.append(uabin.Primitives.Int32.pack(len(self.
AggregateType)))
9268 packet.append(fieldname.to_binary())
9269 packet.append(self.AggregateConfiguration.to_binary())
9270 return b
''.join(packet)
9277 self.
StartTime = uabin.Primitives.DateTime.unpack(data)
9278 self.
EndTime = uabin.Primitives.DateTime.unpack(data)
9280 length = uabin.Primitives.Int32.unpack(data)
9283 for _
in range(0, length):
9284 array.append(NodeId.from_binary(data))
9289 return 'ReadProcessedDetails(' +
'StartTime:' + str(self.
StartTime) +
', ' + \
9290 'EndTime:' + str(self.
EndTime) +
', ' + \
9301 :vartype ReqTimes: DateTime 9302 :ivar UseSimpleBounds: 9303 :vartype UseSimpleBounds: Boolean 9307 'ReqTimes':
'DateTime',
9308 'UseSimpleBounds':
'Boolean',
9312 if binary
is not None:
9322 packet.append(uabin.Primitives.Int32.pack(len(self.
ReqTimes)))
9324 packet.append(uabin.Primitives.DateTime.pack(fieldname))
9326 return b
''.join(packet)
9333 self.
ReqTimes = uabin.Primitives.DateTime.unpack_array(data)
9337 return 'ReadAtTimeDetails(' +
'ReqTimes:' + str(self.
ReqTimes) +
', ' + \
9346 :vartype DataValues: DataValue 9350 'DataValues':
'DataValue',
9354 if binary
is not None:
9363 packet.append(uabin.Primitives.Int32.pack(len(self.
DataValues)))
9365 packet.append(fieldname.to_binary())
9366 return b
''.join(packet)
9373 length = uabin.Primitives.Int32.unpack(data)
9376 for _
in range(0, length):
9377 array.append(DataValue.from_binary(data))
9381 return 'HistoryData(' +
'DataValues:' + str(self.
DataValues) +
')' 9388 :ivar ModificationTime: 9389 :vartype ModificationTime: DateTime 9391 :vartype UpdateType: HistoryUpdateType 9393 :vartype UserName: String 9397 'ModificationTime':
'DateTime',
9398 'UpdateType':
'HistoryUpdateType',
9399 'UserName':
'String',
9403 if binary
is not None:
9415 packet.append(uabin.Primitives.UInt32.pack(self.UpdateType.value))
9416 packet.append(uabin.Primitives.String.pack(self.
UserName))
9417 return b
''.join(packet)
9426 self.
UserName = uabin.Primitives.String.unpack(data)
9429 return 'ModificationInfo(' +
'ModificationTime:' + str(self.
ModificationTime) +
', ' + \
9430 'UpdateType:' + str(self.
UpdateType) +
', ' + \
9431 'UserName:' + str(self.
UserName) +
')' 9439 :vartype DataValues: DataValue 9440 :ivar ModificationInfos: 9441 :vartype ModificationInfos: ModificationInfo 9445 'DataValues':
'DataValue',
9446 'ModificationInfos':
'ModificationInfo',
9450 if binary
is not None:
9460 packet.append(uabin.Primitives.Int32.pack(len(self.
DataValues)))
9462 packet.append(fieldname.to_binary())
9465 packet.append(fieldname.to_binary())
9466 return b
''.join(packet)
9473 length = uabin.Primitives.Int32.unpack(data)
9476 for _
in range(0, length):
9477 array.append(DataValue.from_binary(data))
9479 length = uabin.Primitives.Int32.unpack(data)
9482 for _
in range(0, length):
9483 array.append(ModificationInfo.from_binary(data))
9487 return 'HistoryModifiedData(' +
'DataValues:' + str(self.
DataValues) +
', ' + \
9496 :vartype Events: HistoryEventFieldList 9500 'Events':
'HistoryEventFieldList',
9504 if binary
is not None:
9513 packet.append(uabin.Primitives.Int32.pack(len(self.
Events)))
9514 for fieldname
in self.
Events:
9515 packet.append(fieldname.to_binary())
9516 return b
''.join(packet)
9523 length = uabin.Primitives.Int32.unpack(data)
9526 for _
in range(0, length):
9527 array.append(HistoryEventFieldList.from_binary(data))
9531 return 'HistoryEvent(' +
'Events:' + str(self.
Events) +
')' 9538 :ivar HistoryReadDetails: 9539 :vartype HistoryReadDetails: ExtensionObject 9540 :ivar TimestampsToReturn: 9541 :vartype TimestampsToReturn: TimestampsToReturn 9542 :ivar ReleaseContinuationPoints: 9543 :vartype ReleaseContinuationPoints: Boolean 9545 :vartype NodesToRead: HistoryReadValueId 9549 'HistoryReadDetails':
'ExtensionObject',
9550 'TimestampsToReturn':
'TimestampsToReturn',
9551 'ReleaseContinuationPoints':
'Boolean',
9552 'NodesToRead':
'HistoryReadValueId',
9556 if binary
is not None:
9569 packet.append(uabin.Primitives.UInt32.pack(self.TimestampsToReturn.value))
9571 packet.append(uabin.Primitives.Int32.pack(len(self.
NodesToRead)))
9573 packet.append(fieldname.to_binary())
9574 return b
''.join(packet)
9584 length = uabin.Primitives.Int32.unpack(data)
9587 for _
in range(0, length):
9588 array.append(HistoryReadValueId.from_binary(data))
9592 return 'HistoryReadParameters(' +
'HistoryReadDetails:' + str(self.
HistoryReadDetails) +
', ' + \
9603 :vartype TypeId: NodeId 9604 :ivar RequestHeader: 9605 :vartype RequestHeader: RequestHeader 9607 :vartype Parameters: HistoryReadParameters 9612 'RequestHeader':
'RequestHeader',
9613 'Parameters':
'HistoryReadParameters',
9617 if binary
is not None:
9628 packet.append(self.TypeId.to_binary())
9629 packet.append(self.RequestHeader.to_binary())
9630 packet.append(self.Parameters.to_binary())
9631 return b
''.join(packet)
9638 self.
TypeId = NodeId.from_binary(data)
9640 self.
Parameters = HistoryReadParameters.from_binary(data)
9643 return 'HistoryReadRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
9653 :vartype TypeId: NodeId 9654 :ivar ResponseHeader: 9655 :vartype ResponseHeader: ResponseHeader 9657 :vartype Results: HistoryReadResult 9658 :ivar DiagnosticInfos: 9659 :vartype DiagnosticInfos: DiagnosticInfo 9664 'ResponseHeader':
'ResponseHeader',
9665 'Results':
'HistoryReadResult',
9666 'DiagnosticInfos':
'DiagnosticInfo',
9670 if binary
is not None:
9682 packet.append(self.TypeId.to_binary())
9683 packet.append(self.ResponseHeader.to_binary())
9684 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
9685 for fieldname
in self.
Results:
9686 packet.append(fieldname.to_binary())
9689 packet.append(fieldname.to_binary())
9690 return b
''.join(packet)
9697 self.
TypeId = NodeId.from_binary(data)
9699 length = uabin.Primitives.Int32.unpack(data)
9702 for _
in range(0, length):
9703 array.append(HistoryReadResult.from_binary(data))
9705 length = uabin.Primitives.Int32.unpack(data)
9708 for _
in range(0, length):
9709 array.append(DiagnosticInfo.from_binary(data))
9713 return 'HistoryReadResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
9715 'Results:' + str(self.
Results) +
', ' + \
9724 :vartype NodeId: NodeId 9726 :vartype AttributeId: UInt32 9728 :vartype IndexRange: String 9730 :vartype Value: DataValue 9735 'AttributeId':
'UInt32',
9736 'IndexRange':
'String',
9737 'Value':
'DataValue',
9741 if binary
is not None:
9753 packet.append(self.NodeId.to_binary())
9754 packet.append(uabin.Primitives.UInt32.pack(self.
AttributeId))
9755 packet.append(uabin.Primitives.String.pack(self.
IndexRange))
9756 packet.append(self.Value.to_binary())
9757 return b
''.join(packet)
9764 self.
NodeId = NodeId.from_binary(data)
9765 self.
AttributeId = uabin.Primitives.UInt32.unpack(data)
9766 self.
IndexRange = uabin.Primitives.String.unpack(data)
9767 self.
Value = DataValue.from_binary(data)
9770 return 'WriteValue(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
9772 'IndexRange:' + str(self.
IndexRange) +
', ' + \
9773 'Value:' + str(self.
Value) +
')' 9781 :vartype NodesToWrite: WriteValue 9785 'NodesToWrite':
'WriteValue',
9789 if binary
is not None:
9798 packet.append(uabin.Primitives.Int32.pack(len(self.
NodesToWrite)))
9800 packet.append(fieldname.to_binary())
9801 return b
''.join(packet)
9808 length = uabin.Primitives.Int32.unpack(data)
9811 for _
in range(0, length):
9812 array.append(WriteValue.from_binary(data))
9816 return 'WriteParameters(' +
'NodesToWrite:' + str(self.
NodesToWrite) +
')' 9824 :vartype TypeId: NodeId 9825 :ivar RequestHeader: 9826 :vartype RequestHeader: RequestHeader 9828 :vartype Parameters: WriteParameters 9833 'RequestHeader':
'RequestHeader',
9834 'Parameters':
'WriteParameters',
9838 if binary
is not None:
9849 packet.append(self.TypeId.to_binary())
9850 packet.append(self.RequestHeader.to_binary())
9851 packet.append(self.Parameters.to_binary())
9852 return b
''.join(packet)
9859 self.
TypeId = NodeId.from_binary(data)
9861 self.
Parameters = WriteParameters.from_binary(data)
9864 return 'WriteRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
9874 :vartype TypeId: NodeId 9875 :ivar ResponseHeader: 9876 :vartype ResponseHeader: ResponseHeader 9878 :vartype Results: StatusCode 9879 :ivar DiagnosticInfos: 9880 :vartype DiagnosticInfos: DiagnosticInfo 9885 'ResponseHeader':
'ResponseHeader',
9886 'Results':
'StatusCode',
9887 'DiagnosticInfos':
'DiagnosticInfo',
9891 if binary
is not None:
9903 packet.append(self.TypeId.to_binary())
9904 packet.append(self.ResponseHeader.to_binary())
9905 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
9906 for fieldname
in self.
Results:
9907 packet.append(fieldname.to_binary())
9910 packet.append(fieldname.to_binary())
9911 return b
''.join(packet)
9918 self.
TypeId = NodeId.from_binary(data)
9920 length = uabin.Primitives.Int32.unpack(data)
9923 for _
in range(0, length):
9924 array.append(StatusCode.from_binary(data))
9926 length = uabin.Primitives.Int32.unpack(data)
9929 for _
in range(0, length):
9930 array.append(DiagnosticInfo.from_binary(data))
9934 return 'WriteResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
9936 'Results:' + str(self.
Results) +
', ' + \
9945 :vartype NodeId: NodeId 9953 if binary
is not None:
9962 packet.append(self.NodeId.to_binary())
9963 return b
''.join(packet)
9970 self.
NodeId = NodeId.from_binary(data)
9973 return 'HistoryUpdateDetails(' +
'NodeId:' + str(self.
NodeId) +
')' 9981 :vartype NodeId: NodeId 9982 :ivar PerformInsertReplace: 9983 :vartype PerformInsertReplace: PerformUpdateType 9985 :vartype UpdateValues: DataValue 9990 'PerformInsertReplace':
'PerformUpdateType',
9991 'UpdateValues':
'DataValue',
9995 if binary
is not None:
10006 packet.append(self.NodeId.to_binary())
10007 packet.append(uabin.Primitives.UInt32.pack(self.PerformInsertReplace.value))
10008 packet.append(uabin.Primitives.Int32.pack(len(self.
UpdateValues)))
10010 packet.append(fieldname.to_binary())
10011 return b
''.join(packet)
10018 self.
NodeId = NodeId.from_binary(data)
10020 length = uabin.Primitives.Int32.unpack(data)
10023 for _
in range(0, length):
10024 array.append(DataValue.from_binary(data))
10028 return 'UpdateDataDetails(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
10038 :vartype NodeId: NodeId 10039 :ivar PerformInsertReplace: 10040 :vartype PerformInsertReplace: PerformUpdateType 10041 :ivar UpdateValues: 10042 :vartype UpdateValues: DataValue 10046 'NodeId':
'NodeId',
10047 'PerformInsertReplace':
'PerformUpdateType',
10048 'UpdateValues':
'DataValue',
10052 if binary
is not None:
10063 packet.append(self.NodeId.to_binary())
10064 packet.append(uabin.Primitives.UInt32.pack(self.PerformInsertReplace.value))
10065 packet.append(uabin.Primitives.Int32.pack(len(self.
UpdateValues)))
10067 packet.append(fieldname.to_binary())
10068 return b
''.join(packet)
10075 self.
NodeId = NodeId.from_binary(data)
10077 length = uabin.Primitives.Int32.unpack(data)
10080 for _
in range(0, length):
10081 array.append(DataValue.from_binary(data))
10085 return 'UpdateStructureDataDetails(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
10095 :vartype NodeId: NodeId 10096 :ivar PerformInsertReplace: 10097 :vartype PerformInsertReplace: PerformUpdateType 10099 :vartype Filter: EventFilter 10101 :vartype EventData: HistoryEventFieldList 10105 'NodeId':
'NodeId',
10106 'PerformInsertReplace':
'PerformUpdateType',
10107 'Filter':
'EventFilter',
10108 'EventData':
'HistoryEventFieldList',
10112 if binary
is not None:
10124 packet.append(self.NodeId.to_binary())
10125 packet.append(uabin.Primitives.UInt32.pack(self.PerformInsertReplace.value))
10126 packet.append(self.Filter.to_binary())
10127 packet.append(uabin.Primitives.Int32.pack(len(self.
EventData)))
10129 packet.append(fieldname.to_binary())
10130 return b
''.join(packet)
10137 self.
NodeId = NodeId.from_binary(data)
10139 self.
Filter = EventFilter.from_binary(data)
10140 length = uabin.Primitives.Int32.unpack(data)
10143 for _
in range(0, length):
10144 array.append(HistoryEventFieldList.from_binary(data))
10148 return 'UpdateEventDetails(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
10150 'Filter:' + str(self.
Filter) +
', ' + \
10151 'EventData:' + str(self.
EventData) +
')' 10159 :vartype NodeId: NodeId 10160 :ivar IsDeleteModified: 10161 :vartype IsDeleteModified: Boolean 10163 :vartype StartTime: DateTime 10165 :vartype EndTime: DateTime 10169 'NodeId':
'NodeId',
10170 'IsDeleteModified':
'Boolean',
10171 'StartTime':
'DateTime',
10172 'EndTime':
'DateTime',
10176 if binary
is not None:
10188 packet.append(self.NodeId.to_binary())
10190 packet.append(uabin.Primitives.DateTime.pack(self.
StartTime))
10191 packet.append(uabin.Primitives.DateTime.pack(self.
EndTime))
10192 return b
''.join(packet)
10199 self.
NodeId = NodeId.from_binary(data)
10201 self.
StartTime = uabin.Primitives.DateTime.unpack(data)
10202 self.
EndTime = uabin.Primitives.DateTime.unpack(data)
10205 return 'DeleteRawModifiedDetails(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
10207 'StartTime:' + str(self.
StartTime) +
', ' + \
10208 'EndTime:' + str(self.
EndTime) +
')' 10216 :vartype NodeId: NodeId 10218 :vartype ReqTimes: DateTime 10222 'NodeId':
'NodeId',
10223 'ReqTimes':
'DateTime',
10227 if binary
is not None:
10237 packet.append(self.NodeId.to_binary())
10238 packet.append(uabin.Primitives.Int32.pack(len(self.
ReqTimes)))
10240 packet.append(uabin.Primitives.DateTime.pack(fieldname))
10241 return b
''.join(packet)
10248 self.
NodeId = NodeId.from_binary(data)
10249 self.
ReqTimes = uabin.Primitives.DateTime.unpack_array(data)
10252 return 'DeleteAtTimeDetails(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
10253 'ReqTimes:' + str(self.
ReqTimes) +
')' 10261 :vartype NodeId: NodeId 10263 :vartype EventIds: ByteString 10267 'NodeId':
'NodeId',
10268 'EventIds':
'ByteString',
10272 if binary
is not None:
10282 packet.append(self.NodeId.to_binary())
10283 packet.append(uabin.Primitives.Int32.pack(len(self.
EventIds)))
10285 packet.append(uabin.Primitives.ByteString.pack(fieldname))
10286 return b
''.join(packet)
10293 self.
NodeId = NodeId.from_binary(data)
10294 self.
EventIds = uabin.Primitives.ByteString.unpack_array(data)
10297 return 'DeleteEventDetails(' +
'NodeId:' + str(self.
NodeId) +
', ' + \
10298 'EventIds:' + str(self.
EventIds) +
')' 10306 :vartype StatusCode: StatusCode 10307 :ivar OperationResults: 10308 :vartype OperationResults: StatusCode 10309 :ivar DiagnosticInfos: 10310 :vartype DiagnosticInfos: DiagnosticInfo 10314 'StatusCode':
'StatusCode',
10315 'OperationResults':
'StatusCode',
10316 'DiagnosticInfos':
'DiagnosticInfo',
10320 if binary
is not None:
10331 packet.append(self.StatusCode.to_binary())
10334 packet.append(fieldname.to_binary())
10335 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
10337 packet.append(fieldname.to_binary())
10338 return b
''.join(packet)
10345 self.
StatusCode = StatusCode.from_binary(data)
10346 length = uabin.Primitives.Int32.unpack(data)
10349 for _
in range(0, length):
10350 array.append(StatusCode.from_binary(data))
10352 length = uabin.Primitives.Int32.unpack(data)
10355 for _
in range(0, length):
10356 array.append(DiagnosticInfo.from_binary(data))
10360 return 'HistoryUpdateResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
10369 :ivar HistoryUpdateDetails: 10370 :vartype HistoryUpdateDetails: ExtensionObject 10374 'HistoryUpdateDetails':
'ExtensionObject',
10378 if binary
is not None:
10390 return b
''.join(packet)
10397 length = uabin.Primitives.Int32.unpack(data)
10400 for _
in range(0, length):
10405 return 'HistoryUpdateParameters(' +
'HistoryUpdateDetails:' + str(self.
HistoryUpdateDetails) +
')' 10413 :vartype TypeId: NodeId 10414 :ivar RequestHeader: 10415 :vartype RequestHeader: RequestHeader 10417 :vartype Parameters: HistoryUpdateParameters 10421 'TypeId':
'NodeId',
10422 'RequestHeader':
'RequestHeader',
10423 'Parameters':
'HistoryUpdateParameters',
10427 if binary
is not None:
10438 packet.append(self.TypeId.to_binary())
10439 packet.append(self.RequestHeader.to_binary())
10440 packet.append(self.Parameters.to_binary())
10441 return b
''.join(packet)
10448 self.
TypeId = NodeId.from_binary(data)
10450 self.
Parameters = HistoryUpdateParameters.from_binary(data)
10453 return 'HistoryUpdateRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
10463 :vartype TypeId: NodeId 10464 :ivar ResponseHeader: 10465 :vartype ResponseHeader: ResponseHeader 10467 :vartype Results: HistoryUpdateResult 10468 :ivar DiagnosticInfos: 10469 :vartype DiagnosticInfos: DiagnosticInfo 10473 'TypeId':
'NodeId',
10474 'ResponseHeader':
'ResponseHeader',
10475 'Results':
'HistoryUpdateResult',
10476 'DiagnosticInfos':
'DiagnosticInfo',
10480 if binary
is not None:
10492 packet.append(self.TypeId.to_binary())
10493 packet.append(self.ResponseHeader.to_binary())
10494 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
10495 for fieldname
in self.
Results:
10496 packet.append(fieldname.to_binary())
10497 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
10499 packet.append(fieldname.to_binary())
10500 return b
''.join(packet)
10507 self.
TypeId = NodeId.from_binary(data)
10509 length = uabin.Primitives.Int32.unpack(data)
10512 for _
in range(0, length):
10513 array.append(HistoryUpdateResult.from_binary(data))
10515 length = uabin.Primitives.Int32.unpack(data)
10518 for _
in range(0, length):
10519 array.append(DiagnosticInfo.from_binary(data))
10523 return 'HistoryUpdateResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
10525 'Results:' + str(self.
Results) +
', ' + \
10534 :vartype ObjectId: NodeId 10536 :vartype MethodId: NodeId 10537 :ivar InputArguments: 10538 :vartype InputArguments: Variant 10542 'ObjectId':
'NodeId',
10543 'MethodId':
'NodeId',
10544 'InputArguments':
'Variant',
10548 if binary
is not None:
10559 packet.append(self.ObjectId.to_binary())
10560 packet.append(self.MethodId.to_binary())
10561 packet.append(uabin.Primitives.Int32.pack(len(self.
InputArguments)))
10563 packet.append(fieldname.to_binary())
10564 return b
''.join(packet)
10571 self.
ObjectId = NodeId.from_binary(data)
10572 self.
MethodId = NodeId.from_binary(data)
10573 length = uabin.Primitives.Int32.unpack(data)
10576 for _
in range(0, length):
10577 array.append(Variant.from_binary(data))
10581 return 'CallMethodRequest(' +
'ObjectId:' + str(self.
ObjectId) +
', ' + \
10582 'MethodId:' + str(self.
MethodId) +
', ' + \
10591 :vartype StatusCode: StatusCode 10592 :ivar InputArgumentResults: 10593 :vartype InputArgumentResults: StatusCode 10594 :ivar InputArgumentDiagnosticInfos: 10595 :vartype InputArgumentDiagnosticInfos: DiagnosticInfo 10596 :ivar OutputArguments: 10597 :vartype OutputArguments: Variant 10601 'StatusCode':
'StatusCode',
10602 'InputArgumentResults':
'StatusCode',
10603 'InputArgumentDiagnosticInfos':
'DiagnosticInfo',
10604 'OutputArguments':
'Variant',
10608 if binary
is not None:
10620 packet.append(self.StatusCode.to_binary())
10623 packet.append(fieldname.to_binary())
10626 packet.append(fieldname.to_binary())
10627 packet.append(uabin.Primitives.Int32.pack(len(self.
OutputArguments)))
10629 packet.append(fieldname.to_binary())
10630 return b
''.join(packet)
10637 self.
StatusCode = StatusCode.from_binary(data)
10638 length = uabin.Primitives.Int32.unpack(data)
10641 for _
in range(0, length):
10642 array.append(StatusCode.from_binary(data))
10644 length = uabin.Primitives.Int32.unpack(data)
10647 for _
in range(0, length):
10648 array.append(DiagnosticInfo.from_binary(data))
10650 length = uabin.Primitives.Int32.unpack(data)
10653 for _
in range(0, length):
10654 array.append(Variant.from_binary(data))
10658 return 'CallMethodResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
10668 :ivar MethodsToCall: 10669 :vartype MethodsToCall: CallMethodRequest 10673 'MethodsToCall':
'CallMethodRequest',
10677 if binary
is not None:
10686 packet.append(uabin.Primitives.Int32.pack(len(self.
MethodsToCall)))
10688 packet.append(fieldname.to_binary())
10689 return b
''.join(packet)
10696 length = uabin.Primitives.Int32.unpack(data)
10699 for _
in range(0, length):
10700 array.append(CallMethodRequest.from_binary(data))
10704 return 'CallParameters(' +
'MethodsToCall:' + str(self.
MethodsToCall) +
')' 10712 :vartype TypeId: NodeId 10713 :ivar RequestHeader: 10714 :vartype RequestHeader: RequestHeader 10716 :vartype Parameters: CallParameters 10720 'TypeId':
'NodeId',
10721 'RequestHeader':
'RequestHeader',
10722 'Parameters':
'CallParameters',
10726 if binary
is not None:
10737 packet.append(self.TypeId.to_binary())
10738 packet.append(self.RequestHeader.to_binary())
10739 packet.append(self.Parameters.to_binary())
10740 return b
''.join(packet)
10747 self.
TypeId = NodeId.from_binary(data)
10749 self.
Parameters = CallParameters.from_binary(data)
10752 return 'CallRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
10762 :vartype TypeId: NodeId 10763 :ivar ResponseHeader: 10764 :vartype ResponseHeader: ResponseHeader 10766 :vartype Results: CallMethodResult 10767 :ivar DiagnosticInfos: 10768 :vartype DiagnosticInfos: DiagnosticInfo 10772 'TypeId':
'NodeId',
10773 'ResponseHeader':
'ResponseHeader',
10774 'Results':
'CallMethodResult',
10775 'DiagnosticInfos':
'DiagnosticInfo',
10779 if binary
is not None:
10791 packet.append(self.TypeId.to_binary())
10792 packet.append(self.ResponseHeader.to_binary())
10793 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
10794 for fieldname
in self.
Results:
10795 packet.append(fieldname.to_binary())
10796 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
10798 packet.append(fieldname.to_binary())
10799 return b
''.join(packet)
10806 self.
TypeId = NodeId.from_binary(data)
10808 length = uabin.Primitives.Int32.unpack(data)
10811 for _
in range(0, length):
10812 array.append(CallMethodResult.from_binary(data))
10814 length = uabin.Primitives.Int32.unpack(data)
10817 for _
in range(0, length):
10818 array.append(DiagnosticInfo.from_binary(data))
10822 return 'CallResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
10824 'Results:' + str(self.
Results) +
', ' + \
10838 if binary
is not None:
10846 return b
''.join(packet)
10856 return 'MonitoringFilter(' + +
')' 10864 :vartype Trigger: DataChangeTrigger 10865 :ivar DeadbandType: 10866 :vartype DeadbandType: UInt32 10867 :ivar DeadbandValue: 10868 :vartype DeadbandValue: Double 10872 'Trigger':
'DataChangeTrigger',
10873 'DeadbandType':
'UInt32',
10874 'DeadbandValue':
'Double',
10878 if binary
is not None:
10889 packet.append(uabin.Primitives.UInt32.pack(self.Trigger.value))
10890 packet.append(uabin.Primitives.UInt32.pack(self.
DeadbandType))
10891 packet.append(uabin.Primitives.Double.pack(self.
DeadbandValue))
10892 return b
''.join(packet)
10900 self.
DeadbandType = uabin.Primitives.UInt32.unpack(data)
10904 return 'DataChangeFilter(' +
'Trigger:' + str(self.
Trigger) +
', ' + \
10913 :ivar SelectClauses: 10914 :vartype SelectClauses: SimpleAttributeOperand 10916 :vartype WhereClause: ContentFilter 10920 'SelectClauses':
'SimpleAttributeOperand',
10921 'WhereClause':
'ContentFilter',
10925 if binary
is not None:
10935 packet.append(uabin.Primitives.Int32.pack(len(self.
SelectClauses)))
10937 packet.append(fieldname.to_binary())
10938 packet.append(self.WhereClause.to_binary())
10939 return b
''.join(packet)
10946 length = uabin.Primitives.Int32.unpack(data)
10949 for _
in range(0, length):
10950 array.append(SimpleAttributeOperand.from_binary(data))
10952 self.
WhereClause = ContentFilter.from_binary(data)
10955 return 'EventFilter(' +
'SelectClauses:' + str(self.
SelectClauses) +
', ' + \
10963 :ivar UseServerCapabilitiesDefaults: 10964 :vartype UseServerCapabilitiesDefaults: Boolean 10965 :ivar TreatUncertainAsBad: 10966 :vartype TreatUncertainAsBad: Boolean 10967 :ivar PercentDataBad: 10968 :vartype PercentDataBad: Byte 10969 :ivar PercentDataGood: 10970 :vartype PercentDataGood: Byte 10971 :ivar UseSlopedExtrapolation: 10972 :vartype UseSlopedExtrapolation: Boolean 10976 'UseServerCapabilitiesDefaults':
'Boolean',
10977 'TreatUncertainAsBad':
'Boolean',
10978 'PercentDataBad':
'Byte',
10979 'PercentDataGood':
'Byte',
10980 'UseSlopedExtrapolation':
'Boolean',
10984 if binary
is not None:
11002 return b
''.join(packet)
11028 :vartype StartTime: DateTime 11029 :ivar AggregateType: 11030 :vartype AggregateType: NodeId 11031 :ivar ProcessingInterval: 11032 :vartype ProcessingInterval: Double 11033 :ivar AggregateConfiguration: 11034 :vartype AggregateConfiguration: AggregateConfiguration 11038 'StartTime':
'DateTime',
11039 'AggregateType':
'NodeId',
11040 'ProcessingInterval':
'Double',
11041 'AggregateConfiguration':
'AggregateConfiguration',
11045 if binary
is not None:
11057 packet.append(uabin.Primitives.DateTime.pack(self.
StartTime))
11058 packet.append(self.AggregateType.to_binary())
11060 packet.append(self.AggregateConfiguration.to_binary())
11061 return b
''.join(packet)
11068 self.
StartTime = uabin.Primitives.DateTime.unpack(data)
11074 return 'AggregateFilter(' +
'StartTime:' + str(self.
StartTime) +
', ' + \
11090 if binary
is not None:
11098 return b
''.join(packet)
11108 return 'MonitoringFilterResult(' + +
')' 11115 :ivar SelectClauseResults: 11116 :vartype SelectClauseResults: StatusCode 11117 :ivar SelectClauseDiagnosticInfos: 11118 :vartype SelectClauseDiagnosticInfos: DiagnosticInfo 11119 :ivar WhereClauseResult: 11120 :vartype WhereClauseResult: ContentFilterResult 11124 'SelectClauseResults':
'StatusCode',
11125 'SelectClauseDiagnosticInfos':
'DiagnosticInfo',
11126 'WhereClauseResult':
'ContentFilterResult',
11130 if binary
is not None:
11143 packet.append(fieldname.to_binary())
11146 packet.append(fieldname.to_binary())
11147 packet.append(self.WhereClauseResult.to_binary())
11148 return b
''.join(packet)
11155 length = uabin.Primitives.Int32.unpack(data)
11158 for _
in range(0, length):
11159 array.append(StatusCode.from_binary(data))
11161 length = uabin.Primitives.Int32.unpack(data)
11164 for _
in range(0, length):
11165 array.append(DiagnosticInfo.from_binary(data))
11170 return 'EventFilterResult(' +
'SelectClauseResults:' + str(self.
SelectClauseResults) +
', ' + \
11179 :ivar RevisedStartTime: 11180 :vartype RevisedStartTime: DateTime 11181 :ivar RevisedProcessingInterval: 11182 :vartype RevisedProcessingInterval: Double 11183 :ivar RevisedAggregateConfiguration: 11184 :vartype RevisedAggregateConfiguration: AggregateConfiguration 11188 'RevisedStartTime':
'DateTime',
11189 'RevisedProcessingInterval':
'Double',
11190 'RevisedAggregateConfiguration':
'AggregateConfiguration',
11194 if binary
is not None:
11207 packet.append(self.RevisedAggregateConfiguration.to_binary())
11208 return b
''.join(packet)
11220 return 'AggregateFilterResult(' +
'RevisedStartTime:' + str(self.
RevisedStartTime) +
', ' + \
11229 :ivar ClientHandle: 11230 :vartype ClientHandle: UInt32 11231 :ivar SamplingInterval: 11232 :vartype SamplingInterval: Double 11234 :vartype Filter: ExtensionObject 11236 :vartype QueueSize: UInt32 11237 :ivar DiscardOldest: 11238 :vartype DiscardOldest: Boolean 11242 'ClientHandle':
'UInt32',
11243 'SamplingInterval':
'Double',
11244 'Filter':
'ExtensionObject',
11245 'QueueSize':
'UInt32',
11246 'DiscardOldest':
'Boolean',
11250 if binary
is not None:
11263 packet.append(uabin.Primitives.UInt32.pack(self.
ClientHandle))
11266 packet.append(uabin.Primitives.UInt32.pack(self.
QueueSize))
11267 packet.append(uabin.Primitives.Boolean.pack(self.
DiscardOldest))
11268 return b
''.join(packet)
11275 self.
ClientHandle = uabin.Primitives.UInt32.unpack(data)
11278 self.
QueueSize = uabin.Primitives.UInt32.unpack(data)
11282 return 'MonitoringParameters(' +
'ClientHandle:' + str(self.
ClientHandle) +
', ' + \
11284 'Filter:' + str(self.
Filter) +
', ' + \
11285 'QueueSize:' + str(self.
QueueSize) +
', ' + \
11293 :ivar ItemToMonitor: 11294 :vartype ItemToMonitor: ReadValueId 11295 :ivar MonitoringMode: 11296 :vartype MonitoringMode: MonitoringMode 11297 :ivar RequestedParameters: 11298 :vartype RequestedParameters: MonitoringParameters 11302 'ItemToMonitor':
'ReadValueId',
11303 'MonitoringMode':
'MonitoringMode',
11304 'RequestedParameters':
'MonitoringParameters',
11308 if binary
is not None:
11319 packet.append(self.ItemToMonitor.to_binary())
11320 packet.append(uabin.Primitives.UInt32.pack(self.MonitoringMode.value))
11321 packet.append(self.RequestedParameters.to_binary())
11322 return b
''.join(packet)
11334 return 'MonitoredItemCreateRequest(' +
'ItemToMonitor:' + str(self.
ItemToMonitor) +
', ' + \
11344 :vartype StatusCode: StatusCode 11345 :ivar MonitoredItemId: 11346 :vartype MonitoredItemId: UInt32 11347 :ivar RevisedSamplingInterval: 11348 :vartype RevisedSamplingInterval: Double 11349 :ivar RevisedQueueSize: 11350 :vartype RevisedQueueSize: UInt32 11351 :ivar FilterResult: 11352 :vartype FilterResult: ExtensionObject 11356 'StatusCode':
'StatusCode',
11357 'MonitoredItemId':
'UInt32',
11358 'RevisedSamplingInterval':
'Double',
11359 'RevisedQueueSize':
'UInt32',
11360 'FilterResult':
'ExtensionObject',
11364 if binary
is not None:
11377 packet.append(self.StatusCode.to_binary())
11382 return b
''.join(packet)
11389 self.
StatusCode = StatusCode.from_binary(data)
11396 return 'MonitoredItemCreateResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
11407 :ivar SubscriptionId: 11408 :vartype SubscriptionId: UInt32 11409 :ivar TimestampsToReturn: 11410 :vartype TimestampsToReturn: TimestampsToReturn 11411 :ivar ItemsToCreate: 11412 :vartype ItemsToCreate: MonitoredItemCreateRequest 11416 'SubscriptionId':
'UInt32',
11417 'TimestampsToReturn':
'TimestampsToReturn',
11418 'ItemsToCreate':
'MonitoredItemCreateRequest',
11422 if binary
is not None:
11433 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
11434 packet.append(uabin.Primitives.UInt32.pack(self.TimestampsToReturn.value))
11435 packet.append(uabin.Primitives.Int32.pack(len(self.
ItemsToCreate)))
11437 packet.append(fieldname.to_binary())
11438 return b
''.join(packet)
11447 length = uabin.Primitives.Int32.unpack(data)
11450 for _
in range(0, length):
11451 array.append(MonitoredItemCreateRequest.from_binary(data))
11455 return 'CreateMonitoredItemsParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
11465 :vartype TypeId: NodeId 11466 :ivar RequestHeader: 11467 :vartype RequestHeader: RequestHeader 11469 :vartype Parameters: CreateMonitoredItemsParameters 11473 'TypeId':
'NodeId',
11474 'RequestHeader':
'RequestHeader',
11475 'Parameters':
'CreateMonitoredItemsParameters',
11479 if binary
is not None:
11490 packet.append(self.TypeId.to_binary())
11491 packet.append(self.RequestHeader.to_binary())
11492 packet.append(self.Parameters.to_binary())
11493 return b
''.join(packet)
11500 self.
TypeId = NodeId.from_binary(data)
11502 self.
Parameters = CreateMonitoredItemsParameters.from_binary(data)
11505 return 'CreateMonitoredItemsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
11515 :vartype TypeId: NodeId 11516 :ivar ResponseHeader: 11517 :vartype ResponseHeader: ResponseHeader 11519 :vartype Results: MonitoredItemCreateResult 11520 :ivar DiagnosticInfos: 11521 :vartype DiagnosticInfos: DiagnosticInfo 11525 'TypeId':
'NodeId',
11526 'ResponseHeader':
'ResponseHeader',
11527 'Results':
'MonitoredItemCreateResult',
11528 'DiagnosticInfos':
'DiagnosticInfo',
11532 if binary
is not None:
11544 packet.append(self.TypeId.to_binary())
11545 packet.append(self.ResponseHeader.to_binary())
11546 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
11547 for fieldname
in self.
Results:
11548 packet.append(fieldname.to_binary())
11549 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
11551 packet.append(fieldname.to_binary())
11552 return b
''.join(packet)
11559 self.
TypeId = NodeId.from_binary(data)
11561 length = uabin.Primitives.Int32.unpack(data)
11564 for _
in range(0, length):
11565 array.append(MonitoredItemCreateResult.from_binary(data))
11567 length = uabin.Primitives.Int32.unpack(data)
11570 for _
in range(0, length):
11571 array.append(DiagnosticInfo.from_binary(data))
11575 return 'CreateMonitoredItemsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
11577 'Results:' + str(self.
Results) +
', ' + \
11585 :ivar MonitoredItemId: 11586 :vartype MonitoredItemId: UInt32 11587 :ivar RequestedParameters: 11588 :vartype RequestedParameters: MonitoringParameters 11592 'MonitoredItemId':
'UInt32',
11593 'RequestedParameters':
'MonitoringParameters',
11597 if binary
is not None:
11608 packet.append(self.RequestedParameters.to_binary())
11609 return b
''.join(packet)
11620 return 'MonitoredItemModifyRequest(' +
'MonitoredItemId:' + str(self.
MonitoredItemId) +
', ' + \
11629 :vartype StatusCode: StatusCode 11630 :ivar RevisedSamplingInterval: 11631 :vartype RevisedSamplingInterval: Double 11632 :ivar RevisedQueueSize: 11633 :vartype RevisedQueueSize: UInt32 11634 :ivar FilterResult: 11635 :vartype FilterResult: ExtensionObject 11639 'StatusCode':
'StatusCode',
11640 'RevisedSamplingInterval':
'Double',
11641 'RevisedQueueSize':
'UInt32',
11642 'FilterResult':
'ExtensionObject',
11646 if binary
is not None:
11658 packet.append(self.StatusCode.to_binary())
11662 return b
''.join(packet)
11669 self.
StatusCode = StatusCode.from_binary(data)
11675 return 'MonitoredItemModifyResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
11685 :ivar SubscriptionId: 11686 :vartype SubscriptionId: UInt32 11687 :ivar TimestampsToReturn: 11688 :vartype TimestampsToReturn: TimestampsToReturn 11689 :ivar ItemsToModify: 11690 :vartype ItemsToModify: MonitoredItemModifyRequest 11694 'SubscriptionId':
'UInt32',
11695 'TimestampsToReturn':
'TimestampsToReturn',
11696 'ItemsToModify':
'MonitoredItemModifyRequest',
11700 if binary
is not None:
11711 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
11712 packet.append(uabin.Primitives.UInt32.pack(self.TimestampsToReturn.value))
11713 packet.append(uabin.Primitives.Int32.pack(len(self.
ItemsToModify)))
11715 packet.append(fieldname.to_binary())
11716 return b
''.join(packet)
11725 length = uabin.Primitives.Int32.unpack(data)
11728 for _
in range(0, length):
11729 array.append(MonitoredItemModifyRequest.from_binary(data))
11733 return 'ModifyMonitoredItemsParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
11743 :vartype TypeId: NodeId 11744 :ivar RequestHeader: 11745 :vartype RequestHeader: RequestHeader 11747 :vartype Parameters: ModifyMonitoredItemsParameters 11751 'TypeId':
'NodeId',
11752 'RequestHeader':
'RequestHeader',
11753 'Parameters':
'ModifyMonitoredItemsParameters',
11757 if binary
is not None:
11768 packet.append(self.TypeId.to_binary())
11769 packet.append(self.RequestHeader.to_binary())
11770 packet.append(self.Parameters.to_binary())
11771 return b
''.join(packet)
11778 self.
TypeId = NodeId.from_binary(data)
11780 self.
Parameters = ModifyMonitoredItemsParameters.from_binary(data)
11783 return 'ModifyMonitoredItemsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
11793 :vartype TypeId: NodeId 11794 :ivar ResponseHeader: 11795 :vartype ResponseHeader: ResponseHeader 11797 :vartype Results: MonitoredItemModifyResult 11798 :ivar DiagnosticInfos: 11799 :vartype DiagnosticInfos: DiagnosticInfo 11803 'TypeId':
'NodeId',
11804 'ResponseHeader':
'ResponseHeader',
11805 'Results':
'MonitoredItemModifyResult',
11806 'DiagnosticInfos':
'DiagnosticInfo',
11810 if binary
is not None:
11822 packet.append(self.TypeId.to_binary())
11823 packet.append(self.ResponseHeader.to_binary())
11824 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
11825 for fieldname
in self.
Results:
11826 packet.append(fieldname.to_binary())
11827 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
11829 packet.append(fieldname.to_binary())
11830 return b
''.join(packet)
11837 self.
TypeId = NodeId.from_binary(data)
11839 length = uabin.Primitives.Int32.unpack(data)
11842 for _
in range(0, length):
11843 array.append(MonitoredItemModifyResult.from_binary(data))
11845 length = uabin.Primitives.Int32.unpack(data)
11848 for _
in range(0, length):
11849 array.append(DiagnosticInfo.from_binary(data))
11853 return 'ModifyMonitoredItemsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
11855 'Results:' + str(self.
Results) +
', ' + \
11863 :ivar SubscriptionId: 11864 :vartype SubscriptionId: UInt32 11865 :ivar MonitoringMode: 11866 :vartype MonitoringMode: MonitoringMode 11867 :ivar MonitoredItemIds: 11868 :vartype MonitoredItemIds: UInt32 11872 'SubscriptionId':
'UInt32',
11873 'MonitoringMode':
'MonitoringMode',
11874 'MonitoredItemIds':
'UInt32',
11878 if binary
is not None:
11889 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
11890 packet.append(uabin.Primitives.UInt32.pack(self.MonitoringMode.value))
11893 packet.append(uabin.Primitives.UInt32.pack(fieldname))
11894 return b
''.join(packet)
11906 return 'SetMonitoringModeParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
11916 :vartype TypeId: NodeId 11917 :ivar RequestHeader: 11918 :vartype RequestHeader: RequestHeader 11920 :vartype Parameters: SetMonitoringModeParameters 11924 'TypeId':
'NodeId',
11925 'RequestHeader':
'RequestHeader',
11926 'Parameters':
'SetMonitoringModeParameters',
11930 if binary
is not None:
11941 packet.append(self.TypeId.to_binary())
11942 packet.append(self.RequestHeader.to_binary())
11943 packet.append(self.Parameters.to_binary())
11944 return b
''.join(packet)
11951 self.
TypeId = NodeId.from_binary(data)
11953 self.
Parameters = SetMonitoringModeParameters.from_binary(data)
11956 return 'SetMonitoringModeRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
11966 :vartype Results: StatusCode 11967 :ivar DiagnosticInfos: 11968 :vartype DiagnosticInfos: DiagnosticInfo 11972 'Results':
'StatusCode',
11973 'DiagnosticInfos':
'DiagnosticInfo',
11977 if binary
is not None:
11987 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
11988 for fieldname
in self.
Results:
11989 packet.append(fieldname.to_binary())
11990 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
11992 packet.append(fieldname.to_binary())
11993 return b
''.join(packet)
12000 length = uabin.Primitives.Int32.unpack(data)
12003 for _
in range(0, length):
12004 array.append(StatusCode.from_binary(data))
12006 length = uabin.Primitives.Int32.unpack(data)
12009 for _
in range(0, length):
12010 array.append(DiagnosticInfo.from_binary(data))
12014 return 'SetMonitoringModeResult(' +
'Results:' + str(self.
Results) +
', ' + \
12023 :vartype TypeId: NodeId 12024 :ivar ResponseHeader: 12025 :vartype ResponseHeader: ResponseHeader 12027 :vartype Parameters: SetMonitoringModeResult 12031 'TypeId':
'NodeId',
12032 'ResponseHeader':
'ResponseHeader',
12033 'Parameters':
'SetMonitoringModeResult',
12037 if binary
is not None:
12048 packet.append(self.TypeId.to_binary())
12049 packet.append(self.ResponseHeader.to_binary())
12050 packet.append(self.Parameters.to_binary())
12051 return b
''.join(packet)
12058 self.
TypeId = NodeId.from_binary(data)
12060 self.
Parameters = SetMonitoringModeResult.from_binary(data)
12063 return 'SetMonitoringModeResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12072 :ivar SubscriptionId: 12073 :vartype SubscriptionId: UInt32 12074 :ivar TriggeringItemId: 12075 :vartype TriggeringItemId: UInt32 12077 :vartype LinksToAdd: UInt32 12078 :ivar LinksToRemove: 12079 :vartype LinksToRemove: UInt32 12083 'SubscriptionId':
'UInt32',
12084 'TriggeringItemId':
'UInt32',
12085 'LinksToAdd':
'UInt32',
12086 'LinksToRemove':
'UInt32',
12090 if binary
is not None:
12102 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
12104 packet.append(uabin.Primitives.Int32.pack(len(self.
LinksToAdd)))
12106 packet.append(uabin.Primitives.UInt32.pack(fieldname))
12107 packet.append(uabin.Primitives.Int32.pack(len(self.
LinksToRemove)))
12109 packet.append(uabin.Primitives.UInt32.pack(fieldname))
12110 return b
''.join(packet)
12119 self.
LinksToAdd = uabin.Primitives.UInt32.unpack_array(data)
12120 self.
LinksToRemove = uabin.Primitives.UInt32.unpack_array(data)
12123 return 'SetTriggeringParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
12125 'LinksToAdd:' + str(self.
LinksToAdd) +
', ' + \
12134 :vartype TypeId: NodeId 12135 :ivar RequestHeader: 12136 :vartype RequestHeader: RequestHeader 12138 :vartype Parameters: SetTriggeringParameters 12142 'TypeId':
'NodeId',
12143 'RequestHeader':
'RequestHeader',
12144 'Parameters':
'SetTriggeringParameters',
12148 if binary
is not None:
12159 packet.append(self.TypeId.to_binary())
12160 packet.append(self.RequestHeader.to_binary())
12161 packet.append(self.Parameters.to_binary())
12162 return b
''.join(packet)
12169 self.
TypeId = NodeId.from_binary(data)
12171 self.
Parameters = SetTriggeringParameters.from_binary(data)
12174 return 'SetTriggeringRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12184 :vartype AddResults: StatusCode 12185 :ivar AddDiagnosticInfos: 12186 :vartype AddDiagnosticInfos: DiagnosticInfo 12187 :ivar RemoveResults: 12188 :vartype RemoveResults: StatusCode 12189 :ivar RemoveDiagnosticInfos: 12190 :vartype RemoveDiagnosticInfos: DiagnosticInfo 12194 'AddResults':
'StatusCode',
12195 'AddDiagnosticInfos':
'DiagnosticInfo',
12196 'RemoveResults':
'StatusCode',
12197 'RemoveDiagnosticInfos':
'DiagnosticInfo',
12201 if binary
is not None:
12213 packet.append(uabin.Primitives.Int32.pack(len(self.
AddResults)))
12215 packet.append(fieldname.to_binary())
12218 packet.append(fieldname.to_binary())
12219 packet.append(uabin.Primitives.Int32.pack(len(self.
RemoveResults)))
12221 packet.append(fieldname.to_binary())
12224 packet.append(fieldname.to_binary())
12225 return b
''.join(packet)
12232 length = uabin.Primitives.Int32.unpack(data)
12235 for _
in range(0, length):
12236 array.append(StatusCode.from_binary(data))
12238 length = uabin.Primitives.Int32.unpack(data)
12241 for _
in range(0, length):
12242 array.append(DiagnosticInfo.from_binary(data))
12244 length = uabin.Primitives.Int32.unpack(data)
12247 for _
in range(0, length):
12248 array.append(StatusCode.from_binary(data))
12250 length = uabin.Primitives.Int32.unpack(data)
12253 for _
in range(0, length):
12254 array.append(DiagnosticInfo.from_binary(data))
12258 return 'SetTriggeringResult(' +
'AddResults:' + str(self.
AddResults) +
', ' + \
12269 :vartype TypeId: NodeId 12270 :ivar ResponseHeader: 12271 :vartype ResponseHeader: ResponseHeader 12273 :vartype Parameters: SetTriggeringResult 12277 'TypeId':
'NodeId',
12278 'ResponseHeader':
'ResponseHeader',
12279 'Parameters':
'SetTriggeringResult',
12283 if binary
is not None:
12294 packet.append(self.TypeId.to_binary())
12295 packet.append(self.ResponseHeader.to_binary())
12296 packet.append(self.Parameters.to_binary())
12297 return b
''.join(packet)
12304 self.
TypeId = NodeId.from_binary(data)
12306 self.
Parameters = SetTriggeringResult.from_binary(data)
12309 return 'SetTriggeringResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12318 :ivar SubscriptionId: 12319 :vartype SubscriptionId: UInt32 12320 :ivar MonitoredItemIds: 12321 :vartype MonitoredItemIds: UInt32 12325 'SubscriptionId':
'UInt32',
12326 'MonitoredItemIds':
'UInt32',
12330 if binary
is not None:
12340 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
12343 packet.append(uabin.Primitives.UInt32.pack(fieldname))
12344 return b
''.join(packet)
12355 return 'DeleteMonitoredItemsParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
12364 :vartype TypeId: NodeId 12365 :ivar RequestHeader: 12366 :vartype RequestHeader: RequestHeader 12368 :vartype Parameters: DeleteMonitoredItemsParameters 12372 'TypeId':
'NodeId',
12373 'RequestHeader':
'RequestHeader',
12374 'Parameters':
'DeleteMonitoredItemsParameters',
12378 if binary
is not None:
12389 packet.append(self.TypeId.to_binary())
12390 packet.append(self.RequestHeader.to_binary())
12391 packet.append(self.Parameters.to_binary())
12392 return b
''.join(packet)
12399 self.
TypeId = NodeId.from_binary(data)
12401 self.
Parameters = DeleteMonitoredItemsParameters.from_binary(data)
12404 return 'DeleteMonitoredItemsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12414 :vartype TypeId: NodeId 12415 :ivar ResponseHeader: 12416 :vartype ResponseHeader: ResponseHeader 12418 :vartype Results: StatusCode 12419 :ivar DiagnosticInfos: 12420 :vartype DiagnosticInfos: DiagnosticInfo 12424 'TypeId':
'NodeId',
12425 'ResponseHeader':
'ResponseHeader',
12426 'Results':
'StatusCode',
12427 'DiagnosticInfos':
'DiagnosticInfo',
12431 if binary
is not None:
12443 packet.append(self.TypeId.to_binary())
12444 packet.append(self.ResponseHeader.to_binary())
12445 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
12446 for fieldname
in self.
Results:
12447 packet.append(fieldname.to_binary())
12448 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
12450 packet.append(fieldname.to_binary())
12451 return b
''.join(packet)
12458 self.
TypeId = NodeId.from_binary(data)
12460 length = uabin.Primitives.Int32.unpack(data)
12463 for _
in range(0, length):
12464 array.append(StatusCode.from_binary(data))
12466 length = uabin.Primitives.Int32.unpack(data)
12469 for _
in range(0, length):
12470 array.append(DiagnosticInfo.from_binary(data))
12474 return 'DeleteMonitoredItemsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12476 'Results:' + str(self.
Results) +
', ' + \
12484 :ivar RequestedPublishingInterval: 12485 :vartype RequestedPublishingInterval: Double 12486 :ivar RequestedLifetimeCount: 12487 :vartype RequestedLifetimeCount: UInt32 12488 :ivar RequestedMaxKeepAliveCount: 12489 :vartype RequestedMaxKeepAliveCount: UInt32 12490 :ivar MaxNotificationsPerPublish: 12491 :vartype MaxNotificationsPerPublish: UInt32 12492 :ivar PublishingEnabled: 12493 :vartype PublishingEnabled: Boolean 12495 :vartype Priority: Byte 12499 'RequestedPublishingInterval':
'Double',
12500 'RequestedLifetimeCount':
'UInt32',
12501 'RequestedMaxKeepAliveCount':
'UInt32',
12502 'MaxNotificationsPerPublish':
'UInt32',
12503 'PublishingEnabled':
'Boolean',
12504 'Priority':
'Byte',
12508 if binary
is not None:
12527 packet.append(uabin.Primitives.Byte.pack(self.
Priority))
12528 return b
''.join(packet)
12540 self.
Priority = uabin.Primitives.Byte.unpack(data)
12548 'Priority:' + str(self.
Priority) +
')' 12556 :vartype TypeId: NodeId 12557 :ivar RequestHeader: 12558 :vartype RequestHeader: RequestHeader 12560 :vartype Parameters: CreateSubscriptionParameters 12564 'TypeId':
'NodeId',
12565 'RequestHeader':
'RequestHeader',
12566 'Parameters':
'CreateSubscriptionParameters',
12570 if binary
is not None:
12581 packet.append(self.TypeId.to_binary())
12582 packet.append(self.RequestHeader.to_binary())
12583 packet.append(self.Parameters.to_binary())
12584 return b
''.join(packet)
12591 self.
TypeId = NodeId.from_binary(data)
12593 self.
Parameters = CreateSubscriptionParameters.from_binary(data)
12596 return 'CreateSubscriptionRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12605 :ivar SubscriptionId: 12606 :vartype SubscriptionId: UInt32 12607 :ivar RevisedPublishingInterval: 12608 :vartype RevisedPublishingInterval: Double 12609 :ivar RevisedLifetimeCount: 12610 :vartype RevisedLifetimeCount: UInt32 12611 :ivar RevisedMaxKeepAliveCount: 12612 :vartype RevisedMaxKeepAliveCount: UInt32 12616 'SubscriptionId':
'UInt32',
12617 'RevisedPublishingInterval':
'Double',
12618 'RevisedLifetimeCount':
'UInt32',
12619 'RevisedMaxKeepAliveCount':
'UInt32',
12623 if binary
is not None:
12635 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
12639 return b
''.join(packet)
12652 return 'CreateSubscriptionResult(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
12663 :vartype TypeId: NodeId 12664 :ivar ResponseHeader: 12665 :vartype ResponseHeader: ResponseHeader 12667 :vartype Parameters: CreateSubscriptionResult 12671 'TypeId':
'NodeId',
12672 'ResponseHeader':
'ResponseHeader',
12673 'Parameters':
'CreateSubscriptionResult',
12677 if binary
is not None:
12688 packet.append(self.TypeId.to_binary())
12689 packet.append(self.ResponseHeader.to_binary())
12690 packet.append(self.Parameters.to_binary())
12691 return b
''.join(packet)
12698 self.
TypeId = NodeId.from_binary(data)
12700 self.
Parameters = CreateSubscriptionResult.from_binary(data)
12703 return 'CreateSubscriptionResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12712 :ivar SubscriptionId: 12713 :vartype SubscriptionId: UInt32 12714 :ivar RequestedPublishingInterval: 12715 :vartype RequestedPublishingInterval: Double 12716 :ivar RequestedLifetimeCount: 12717 :vartype RequestedLifetimeCount: UInt32 12718 :ivar RequestedMaxKeepAliveCount: 12719 :vartype RequestedMaxKeepAliveCount: UInt32 12720 :ivar MaxNotificationsPerPublish: 12721 :vartype MaxNotificationsPerPublish: UInt32 12723 :vartype Priority: Byte 12727 'SubscriptionId':
'UInt32',
12728 'RequestedPublishingInterval':
'Double',
12729 'RequestedLifetimeCount':
'UInt32',
12730 'RequestedMaxKeepAliveCount':
'UInt32',
12731 'MaxNotificationsPerPublish':
'UInt32',
12732 'Priority':
'Byte',
12736 if binary
is not None:
12750 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
12755 packet.append(uabin.Primitives.Byte.pack(self.
Priority))
12756 return b
''.join(packet)
12768 self.
Priority = uabin.Primitives.Byte.unpack(data)
12771 return 'ModifySubscriptionParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
12776 'Priority:' + str(self.
Priority) +
')' 12784 :vartype TypeId: NodeId 12785 :ivar RequestHeader: 12786 :vartype RequestHeader: RequestHeader 12788 :vartype Parameters: ModifySubscriptionParameters 12792 'TypeId':
'NodeId',
12793 'RequestHeader':
'RequestHeader',
12794 'Parameters':
'ModifySubscriptionParameters',
12798 if binary
is not None:
12809 packet.append(self.TypeId.to_binary())
12810 packet.append(self.RequestHeader.to_binary())
12811 packet.append(self.Parameters.to_binary())
12812 return b
''.join(packet)
12819 self.
TypeId = NodeId.from_binary(data)
12821 self.
Parameters = ModifySubscriptionParameters.from_binary(data)
12824 return 'ModifySubscriptionRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12833 :ivar RevisedPublishingInterval: 12834 :vartype RevisedPublishingInterval: Double 12835 :ivar RevisedLifetimeCount: 12836 :vartype RevisedLifetimeCount: UInt32 12837 :ivar RevisedMaxKeepAliveCount: 12838 :vartype RevisedMaxKeepAliveCount: UInt32 12842 'RevisedPublishingInterval':
'Double',
12843 'RevisedLifetimeCount':
'UInt32',
12844 'RevisedMaxKeepAliveCount':
'UInt32',
12848 if binary
is not None:
12862 return b
''.join(packet)
12884 :vartype TypeId: NodeId 12885 :ivar ResponseHeader: 12886 :vartype ResponseHeader: ResponseHeader 12888 :vartype Parameters: ModifySubscriptionResult 12892 'TypeId':
'NodeId',
12893 'ResponseHeader':
'ResponseHeader',
12894 'Parameters':
'ModifySubscriptionResult',
12898 if binary
is not None:
12909 packet.append(self.TypeId.to_binary())
12910 packet.append(self.ResponseHeader.to_binary())
12911 packet.append(self.Parameters.to_binary())
12912 return b
''.join(packet)
12919 self.
TypeId = NodeId.from_binary(data)
12921 self.
Parameters = ModifySubscriptionResult.from_binary(data)
12924 return 'ModifySubscriptionResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
12933 :ivar PublishingEnabled: 12934 :vartype PublishingEnabled: Boolean 12935 :ivar SubscriptionIds: 12936 :vartype SubscriptionIds: UInt32 12940 'PublishingEnabled':
'Boolean',
12941 'SubscriptionIds':
'UInt32',
12945 if binary
is not None:
12956 packet.append(uabin.Primitives.Int32.pack(len(self.
SubscriptionIds)))
12958 packet.append(uabin.Primitives.UInt32.pack(fieldname))
12959 return b
''.join(packet)
12970 return 'SetPublishingModeParameters(' +
'PublishingEnabled:' + str(self.
PublishingEnabled) +
', ' + \
12979 :vartype TypeId: NodeId 12980 :ivar RequestHeader: 12981 :vartype RequestHeader: RequestHeader 12983 :vartype Parameters: SetPublishingModeParameters 12987 'TypeId':
'NodeId',
12988 'RequestHeader':
'RequestHeader',
12989 'Parameters':
'SetPublishingModeParameters',
12993 if binary
is not None:
13004 packet.append(self.TypeId.to_binary())
13005 packet.append(self.RequestHeader.to_binary())
13006 packet.append(self.Parameters.to_binary())
13007 return b
''.join(packet)
13014 self.
TypeId = NodeId.from_binary(data)
13016 self.
Parameters = SetPublishingModeParameters.from_binary(data)
13019 return 'SetPublishingModeRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
13029 :vartype Results: StatusCode 13030 :ivar DiagnosticInfos: 13031 :vartype DiagnosticInfos: DiagnosticInfo 13035 'Results':
'StatusCode',
13036 'DiagnosticInfos':
'DiagnosticInfo',
13040 if binary
is not None:
13050 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
13051 for fieldname
in self.
Results:
13052 packet.append(fieldname.to_binary())
13053 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
13055 packet.append(fieldname.to_binary())
13056 return b
''.join(packet)
13063 length = uabin.Primitives.Int32.unpack(data)
13066 for _
in range(0, length):
13067 array.append(StatusCode.from_binary(data))
13069 length = uabin.Primitives.Int32.unpack(data)
13072 for _
in range(0, length):
13073 array.append(DiagnosticInfo.from_binary(data))
13077 return 'SetPublishingModeResult(' +
'Results:' + str(self.
Results) +
', ' + \
13086 :vartype TypeId: NodeId 13087 :ivar ResponseHeader: 13088 :vartype ResponseHeader: ResponseHeader 13090 :vartype Parameters: SetPublishingModeResult 13094 'TypeId':
'NodeId',
13095 'ResponseHeader':
'ResponseHeader',
13096 'Parameters':
'SetPublishingModeResult',
13100 if binary
is not None:
13111 packet.append(self.TypeId.to_binary())
13112 packet.append(self.ResponseHeader.to_binary())
13113 packet.append(self.Parameters.to_binary())
13114 return b
''.join(packet)
13121 self.
TypeId = NodeId.from_binary(data)
13123 self.
Parameters = SetPublishingModeResult.from_binary(data)
13126 return 'SetPublishingModeResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
13135 :ivar SequenceNumber: 13136 :vartype SequenceNumber: UInt32 13138 :vartype PublishTime: DateTime 13139 :ivar NotificationData: 13140 :vartype NotificationData: ExtensionObject 13144 'SequenceNumber':
'UInt32',
13145 'PublishTime':
'DateTime',
13146 'NotificationData':
'ExtensionObject',
13150 if binary
is not None:
13161 packet.append(uabin.Primitives.UInt32.pack(self.
SequenceNumber))
13162 packet.append(uabin.Primitives.DateTime.pack(self.
PublishTime))
13166 return b
''.join(packet)
13174 self.
PublishTime = uabin.Primitives.DateTime.unpack(data)
13175 length = uabin.Primitives.Int32.unpack(data)
13178 for _
in range(0, length):
13183 return 'NotificationMessage(' +
'SequenceNumber:' + str(self.
SequenceNumber) +
', ' + \
13184 'PublishTime:' + str(self.
PublishTime) +
', ' + \
13198 if binary
is not None:
13206 return b
''.join(packet)
13216 return 'NotificationData(' + +
')' 13223 :ivar MonitoredItems: 13224 :vartype MonitoredItems: MonitoredItemNotification 13225 :ivar DiagnosticInfos: 13226 :vartype DiagnosticInfos: DiagnosticInfo 13230 'MonitoredItems':
'MonitoredItemNotification',
13231 'DiagnosticInfos':
'DiagnosticInfo',
13235 if binary
is not None:
13245 packet.append(uabin.Primitives.Int32.pack(len(self.
MonitoredItems)))
13247 packet.append(fieldname.to_binary())
13248 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
13250 packet.append(fieldname.to_binary())
13251 return b
''.join(packet)
13258 length = uabin.Primitives.Int32.unpack(data)
13261 for _
in range(0, length):
13262 array.append(MonitoredItemNotification.from_binary(data))
13264 length = uabin.Primitives.Int32.unpack(data)
13267 for _
in range(0, length):
13268 array.append(DiagnosticInfo.from_binary(data))
13272 return 'DataChangeNotification(' +
'MonitoredItems:' + str(self.
MonitoredItems) +
', ' + \
13280 :ivar ClientHandle: 13281 :vartype ClientHandle: UInt32 13283 :vartype Value: DataValue 13287 'ClientHandle':
'UInt32',
13288 'Value':
'DataValue',
13292 if binary
is not None:
13302 packet.append(uabin.Primitives.UInt32.pack(self.
ClientHandle))
13303 packet.append(self.Value.to_binary())
13304 return b
''.join(packet)
13311 self.
ClientHandle = uabin.Primitives.UInt32.unpack(data)
13312 self.
Value = DataValue.from_binary(data)
13315 return 'MonitoredItemNotification(' +
'ClientHandle:' + str(self.
ClientHandle) +
', ' + \
13316 'Value:' + str(self.
Value) +
')' 13324 :vartype Events: EventFieldList 13328 'Events':
'EventFieldList',
13332 if binary
is not None:
13341 packet.append(uabin.Primitives.Int32.pack(len(self.
Events)))
13342 for fieldname
in self.
Events:
13343 packet.append(fieldname.to_binary())
13344 return b
''.join(packet)
13351 length = uabin.Primitives.Int32.unpack(data)
13354 for _
in range(0, length):
13355 array.append(EventFieldList.from_binary(data))
13359 return 'EventNotificationList(' +
'Events:' + str(self.
Events) +
')' 13366 :ivar ClientHandle: 13367 :vartype ClientHandle: UInt32 13369 :vartype EventFields: Variant 13373 'ClientHandle':
'UInt32',
13374 'EventFields':
'Variant',
13378 if binary
is not None:
13388 packet.append(uabin.Primitives.UInt32.pack(self.
ClientHandle))
13389 packet.append(uabin.Primitives.Int32.pack(len(self.
EventFields)))
13391 packet.append(fieldname.to_binary())
13392 return b
''.join(packet)
13399 self.
ClientHandle = uabin.Primitives.UInt32.unpack(data)
13400 length = uabin.Primitives.Int32.unpack(data)
13403 for _
in range(0, length):
13404 array.append(Variant.from_binary(data))
13408 return 'EventFieldList(' +
'ClientHandle:' + str(self.
ClientHandle) +
', ' + \
13417 :vartype EventFields: Variant 13421 'EventFields':
'Variant',
13425 if binary
is not None:
13434 packet.append(uabin.Primitives.Int32.pack(len(self.
EventFields)))
13436 packet.append(fieldname.to_binary())
13437 return b
''.join(packet)
13444 length = uabin.Primitives.Int32.unpack(data)
13447 for _
in range(0, length):
13448 array.append(Variant.from_binary(data))
13452 return 'HistoryEventFieldList(' +
'EventFields:' + str(self.
EventFields) +
')' 13460 :vartype Status: StatusCode 13461 :ivar DiagnosticInfo: 13462 :vartype DiagnosticInfo: DiagnosticInfo 13466 'Status':
'StatusCode',
13467 'DiagnosticInfo':
'DiagnosticInfo',
13471 if binary
is not None:
13481 packet.append(self.Status.to_binary())
13482 packet.append(self.DiagnosticInfo.to_binary())
13483 return b
''.join(packet)
13490 self.
Status = StatusCode.from_binary(data)
13494 return 'StatusChangeNotification(' +
'Status:' + str(self.
Status) +
', ' + \
13502 :ivar SubscriptionId: 13503 :vartype SubscriptionId: UInt32 13504 :ivar SequenceNumber: 13505 :vartype SequenceNumber: UInt32 13509 'SubscriptionId':
'UInt32',
13510 'SequenceNumber':
'UInt32',
13514 if binary
is not None:
13524 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
13525 packet.append(uabin.Primitives.UInt32.pack(self.
SequenceNumber))
13526 return b
''.join(packet)
13537 return 'SubscriptionAcknowledgement(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
13545 :ivar SubscriptionAcknowledgements: 13546 :vartype SubscriptionAcknowledgements: SubscriptionAcknowledgement 13550 'SubscriptionAcknowledgements':
'SubscriptionAcknowledgement',
13554 if binary
is not None:
13565 packet.append(fieldname.to_binary())
13566 return b
''.join(packet)
13573 length = uabin.Primitives.Int32.unpack(data)
13576 for _
in range(0, length):
13577 array.append(SubscriptionAcknowledgement.from_binary(data))
13589 :vartype TypeId: NodeId 13590 :ivar RequestHeader: 13591 :vartype RequestHeader: RequestHeader 13593 :vartype Parameters: PublishParameters 13597 'TypeId':
'NodeId',
13598 'RequestHeader':
'RequestHeader',
13599 'Parameters':
'PublishParameters',
13603 if binary
is not None:
13614 packet.append(self.TypeId.to_binary())
13615 packet.append(self.RequestHeader.to_binary())
13616 packet.append(self.Parameters.to_binary())
13617 return b
''.join(packet)
13624 self.
TypeId = NodeId.from_binary(data)
13626 self.
Parameters = PublishParameters.from_binary(data)
13629 return 'PublishRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
13638 :ivar SubscriptionId: 13639 :vartype SubscriptionId: UInt32 13640 :ivar AvailableSequenceNumbers: 13641 :vartype AvailableSequenceNumbers: UInt32 13642 :ivar MoreNotifications: 13643 :vartype MoreNotifications: Boolean 13644 :ivar NotificationMessage: 13645 :vartype NotificationMessage: NotificationMessage 13647 :vartype Results: StatusCode 13648 :ivar DiagnosticInfos: 13649 :vartype DiagnosticInfos: DiagnosticInfo 13653 'SubscriptionId':
'UInt32',
13654 'AvailableSequenceNumbers':
'UInt32',
13655 'MoreNotifications':
'Boolean',
13656 'NotificationMessage':
'NotificationMessage',
13657 'Results':
'StatusCode',
13658 'DiagnosticInfos':
'DiagnosticInfo',
13662 if binary
is not None:
13676 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
13679 packet.append(uabin.Primitives.UInt32.pack(fieldname))
13681 packet.append(self.NotificationMessage.to_binary())
13682 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
13683 for fieldname
in self.
Results:
13684 packet.append(fieldname.to_binary())
13685 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
13687 packet.append(fieldname.to_binary())
13688 return b
''.join(packet)
13699 length = uabin.Primitives.Int32.unpack(data)
13702 for _
in range(0, length):
13703 array.append(StatusCode.from_binary(data))
13705 length = uabin.Primitives.Int32.unpack(data)
13708 for _
in range(0, length):
13709 array.append(DiagnosticInfo.from_binary(data))
13713 return 'PublishResult(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
13717 'Results:' + str(self.
Results) +
', ' + \
13726 :vartype TypeId: NodeId 13727 :ivar ResponseHeader: 13728 :vartype ResponseHeader: ResponseHeader 13730 :vartype Parameters: PublishResult 13734 'TypeId':
'NodeId',
13735 'ResponseHeader':
'ResponseHeader',
13736 'Parameters':
'PublishResult',
13740 if binary
is not None:
13751 packet.append(self.TypeId.to_binary())
13752 packet.append(self.ResponseHeader.to_binary())
13753 packet.append(self.Parameters.to_binary())
13754 return b
''.join(packet)
13761 self.
TypeId = NodeId.from_binary(data)
13763 self.
Parameters = PublishResult.from_binary(data)
13766 return 'PublishResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
13775 :ivar SubscriptionId: 13776 :vartype SubscriptionId: UInt32 13777 :ivar RetransmitSequenceNumber: 13778 :vartype RetransmitSequenceNumber: UInt32 13782 'SubscriptionId':
'UInt32',
13783 'RetransmitSequenceNumber':
'UInt32',
13787 if binary
is not None:
13797 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
13799 return b
''.join(packet)
13810 return 'RepublishParameters(' +
'SubscriptionId:' + str(self.
SubscriptionId) +
', ' + \
13819 :vartype TypeId: NodeId 13820 :ivar RequestHeader: 13821 :vartype RequestHeader: RequestHeader 13823 :vartype Parameters: RepublishParameters 13827 'TypeId':
'NodeId',
13828 'RequestHeader':
'RequestHeader',
13829 'Parameters':
'RepublishParameters',
13833 if binary
is not None:
13844 packet.append(self.TypeId.to_binary())
13845 packet.append(self.RequestHeader.to_binary())
13846 packet.append(self.Parameters.to_binary())
13847 return b
''.join(packet)
13854 self.
TypeId = NodeId.from_binary(data)
13856 self.
Parameters = RepublishParameters.from_binary(data)
13859 return 'RepublishRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
13869 :vartype TypeId: NodeId 13870 :ivar ResponseHeader: 13871 :vartype ResponseHeader: ResponseHeader 13872 :ivar NotificationMessage: 13873 :vartype NotificationMessage: NotificationMessage 13877 'TypeId':
'NodeId',
13878 'ResponseHeader':
'ResponseHeader',
13879 'NotificationMessage':
'NotificationMessage',
13883 if binary
is not None:
13894 packet.append(self.TypeId.to_binary())
13895 packet.append(self.ResponseHeader.to_binary())
13896 packet.append(self.NotificationMessage.to_binary())
13897 return b
''.join(packet)
13904 self.
TypeId = NodeId.from_binary(data)
13909 return 'RepublishResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
13919 :vartype StatusCode: StatusCode 13920 :ivar AvailableSequenceNumbers: 13921 :vartype AvailableSequenceNumbers: UInt32 13925 'StatusCode':
'StatusCode',
13926 'AvailableSequenceNumbers':
'UInt32',
13930 if binary
is not None:
13940 packet.append(self.StatusCode.to_binary())
13943 packet.append(uabin.Primitives.UInt32.pack(fieldname))
13944 return b
''.join(packet)
13951 self.
StatusCode = StatusCode.from_binary(data)
13955 return 'TransferResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
13963 :ivar SubscriptionIds: 13964 :vartype SubscriptionIds: UInt32 13965 :ivar SendInitialValues: 13966 :vartype SendInitialValues: Boolean 13970 'SubscriptionIds':
'UInt32',
13971 'SendInitialValues':
'Boolean',
13975 if binary
is not None:
13985 packet.append(uabin.Primitives.Int32.pack(len(self.
SubscriptionIds)))
13987 packet.append(uabin.Primitives.UInt32.pack(fieldname))
13989 return b
''.join(packet)
14000 return 'TransferSubscriptionsParameters(' +
'SubscriptionIds:' + str(self.
SubscriptionIds) +
', ' + \
14009 :vartype TypeId: NodeId 14010 :ivar RequestHeader: 14011 :vartype RequestHeader: RequestHeader 14013 :vartype Parameters: TransferSubscriptionsParameters 14017 'TypeId':
'NodeId',
14018 'RequestHeader':
'RequestHeader',
14019 'Parameters':
'TransferSubscriptionsParameters',
14023 if binary
is not None:
14034 packet.append(self.TypeId.to_binary())
14035 packet.append(self.RequestHeader.to_binary())
14036 packet.append(self.Parameters.to_binary())
14037 return b
''.join(packet)
14044 self.
TypeId = NodeId.from_binary(data)
14046 self.
Parameters = TransferSubscriptionsParameters.from_binary(data)
14049 return 'TransferSubscriptionsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
14059 :vartype Results: TransferResult 14060 :ivar DiagnosticInfos: 14061 :vartype DiagnosticInfos: DiagnosticInfo 14065 'Results':
'TransferResult',
14066 'DiagnosticInfos':
'DiagnosticInfo',
14070 if binary
is not None:
14080 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
14081 for fieldname
in self.
Results:
14082 packet.append(fieldname.to_binary())
14083 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
14085 packet.append(fieldname.to_binary())
14086 return b
''.join(packet)
14093 length = uabin.Primitives.Int32.unpack(data)
14096 for _
in range(0, length):
14097 array.append(TransferResult.from_binary(data))
14099 length = uabin.Primitives.Int32.unpack(data)
14102 for _
in range(0, length):
14103 array.append(DiagnosticInfo.from_binary(data))
14107 return 'TransferSubscriptionsResult(' +
'Results:' + str(self.
Results) +
', ' + \
14116 :vartype TypeId: NodeId 14117 :ivar ResponseHeader: 14118 :vartype ResponseHeader: ResponseHeader 14120 :vartype Parameters: TransferSubscriptionsResult 14124 'TypeId':
'NodeId',
14125 'ResponseHeader':
'ResponseHeader',
14126 'Parameters':
'TransferSubscriptionsResult',
14130 if binary
is not None:
14141 packet.append(self.TypeId.to_binary())
14142 packet.append(self.ResponseHeader.to_binary())
14143 packet.append(self.Parameters.to_binary())
14144 return b
''.join(packet)
14151 self.
TypeId = NodeId.from_binary(data)
14153 self.
Parameters = TransferSubscriptionsResult.from_binary(data)
14156 return 'TransferSubscriptionsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
14165 :ivar SubscriptionIds: 14166 :vartype SubscriptionIds: UInt32 14170 'SubscriptionIds':
'UInt32',
14174 if binary
is not None:
14183 packet.append(uabin.Primitives.Int32.pack(len(self.
SubscriptionIds)))
14185 packet.append(uabin.Primitives.UInt32.pack(fieldname))
14186 return b
''.join(packet)
14196 return 'DeleteSubscriptionsParameters(' +
'SubscriptionIds:' + str(self.
SubscriptionIds) +
')' 14204 :vartype TypeId: NodeId 14205 :ivar RequestHeader: 14206 :vartype RequestHeader: RequestHeader 14208 :vartype Parameters: DeleteSubscriptionsParameters 14212 'TypeId':
'NodeId',
14213 'RequestHeader':
'RequestHeader',
14214 'Parameters':
'DeleteSubscriptionsParameters',
14218 if binary
is not None:
14229 packet.append(self.TypeId.to_binary())
14230 packet.append(self.RequestHeader.to_binary())
14231 packet.append(self.Parameters.to_binary())
14232 return b
''.join(packet)
14239 self.
TypeId = NodeId.from_binary(data)
14241 self.
Parameters = DeleteSubscriptionsParameters.from_binary(data)
14244 return 'DeleteSubscriptionsRequest(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
14254 :vartype TypeId: NodeId 14255 :ivar ResponseHeader: 14256 :vartype ResponseHeader: ResponseHeader 14258 :vartype Results: StatusCode 14259 :ivar DiagnosticInfos: 14260 :vartype DiagnosticInfos: DiagnosticInfo 14264 'TypeId':
'NodeId',
14265 'ResponseHeader':
'ResponseHeader',
14266 'Results':
'StatusCode',
14267 'DiagnosticInfos':
'DiagnosticInfo',
14271 if binary
is not None:
14283 packet.append(self.TypeId.to_binary())
14284 packet.append(self.ResponseHeader.to_binary())
14285 packet.append(uabin.Primitives.Int32.pack(len(self.
Results)))
14286 for fieldname
in self.
Results:
14287 packet.append(fieldname.to_binary())
14288 packet.append(uabin.Primitives.Int32.pack(len(self.
DiagnosticInfos)))
14290 packet.append(fieldname.to_binary())
14291 return b
''.join(packet)
14298 self.
TypeId = NodeId.from_binary(data)
14300 length = uabin.Primitives.Int32.unpack(data)
14303 for _
in range(0, length):
14304 array.append(StatusCode.from_binary(data))
14306 length = uabin.Primitives.Int32.unpack(data)
14309 for _
in range(0, length):
14310 array.append(DiagnosticInfo.from_binary(data))
14314 return 'DeleteSubscriptionsResponse(' +
'TypeId:' + str(self.
TypeId) +
', ' + \
14316 'Results:' + str(self.
Results) +
', ' + \
14325 :vartype ProductUri: String 14326 :ivar ManufacturerName: 14327 :vartype ManufacturerName: String 14329 :vartype ProductName: String 14330 :ivar SoftwareVersion: 14331 :vartype SoftwareVersion: String 14333 :vartype BuildNumber: String 14335 :vartype BuildDate: DateTime 14339 'ProductUri':
'String',
14340 'ManufacturerName':
'String',
14341 'ProductName':
'String',
14342 'SoftwareVersion':
'String',
14343 'BuildNumber':
'String',
14344 'BuildDate':
'DateTime',
14348 if binary
is not None:
14362 packet.append(uabin.Primitives.String.pack(self.
ProductUri))
14364 packet.append(uabin.Primitives.String.pack(self.
ProductName))
14366 packet.append(uabin.Primitives.String.pack(self.
BuildNumber))
14367 packet.append(uabin.Primitives.DateTime.pack(self.
BuildDate))
14368 return b
''.join(packet)
14375 self.
ProductUri = uabin.Primitives.String.unpack(data)
14377 self.
ProductName = uabin.Primitives.String.unpack(data)
14379 self.
BuildNumber = uabin.Primitives.String.unpack(data)
14380 self.
BuildDate = uabin.Primitives.DateTime.unpack(data)
14383 return 'BuildInfo(' +
'ProductUri:' + str(self.
ProductUri) +
', ' + \
14385 'ProductName:' + str(self.
ProductName) +
', ' + \
14387 'BuildNumber:' + str(self.
BuildNumber) +
', ' + \
14388 'BuildDate:' + str(self.
BuildDate) +
')' 14396 :vartype ServerId: String 14397 :ivar ServiceLevel: 14398 :vartype ServiceLevel: Byte 14400 :vartype ServerState: ServerState 14404 'ServerId':
'String',
14405 'ServiceLevel':
'Byte',
14406 'ServerState':
'ServerState',
14410 if binary
is not None:
14421 packet.append(uabin.Primitives.String.pack(self.
ServerId))
14422 packet.append(uabin.Primitives.Byte.pack(self.
ServiceLevel))
14423 packet.append(uabin.Primitives.UInt32.pack(self.ServerState.value))
14424 return b
''.join(packet)
14431 self.
ServerId = uabin.Primitives.String.unpack(data)
14432 self.
ServiceLevel = uabin.Primitives.Byte.unpack(data)
14436 return 'RedundantServerDataType(' +
'ServerId:' + str(self.
ServerId) +
', ' + \
14445 :ivar EndpointUrlList: 14446 :vartype EndpointUrlList: String 14450 'EndpointUrlList':
'String',
14454 if binary
is not None:
14463 packet.append(uabin.Primitives.Int32.pack(len(self.
EndpointUrlList)))
14465 packet.append(uabin.Primitives.String.pack(fieldname))
14466 return b
''.join(packet)
14476 return 'EndpointUrlListDataType(' +
'EndpointUrlList:' + str(self.
EndpointUrlList) +
')' 14484 :vartype ServerUri: String 14485 :ivar NetworkPaths: 14486 :vartype NetworkPaths: EndpointUrlListDataType 14490 'ServerUri':
'String',
14491 'NetworkPaths':
'EndpointUrlListDataType',
14495 if binary
is not None:
14505 packet.append(uabin.Primitives.String.pack(self.
ServerUri))
14506 packet.append(uabin.Primitives.Int32.pack(len(self.
NetworkPaths)))
14508 packet.append(fieldname.to_binary())
14509 return b
''.join(packet)
14516 self.
ServerUri = uabin.Primitives.String.unpack(data)
14517 length = uabin.Primitives.Int32.unpack(data)
14520 for _
in range(0, length):
14521 array.append(EndpointUrlListDataType.from_binary(data))
14525 return 'NetworkGroupDataType(' +
'ServerUri:' + str(self.
ServerUri) +
', ' + \
14533 :ivar SamplingInterval: 14534 :vartype SamplingInterval: Double 14535 :ivar MonitoredItemCount: 14536 :vartype MonitoredItemCount: UInt32 14537 :ivar MaxMonitoredItemCount: 14538 :vartype MaxMonitoredItemCount: UInt32 14539 :ivar DisabledMonitoredItemCount: 14540 :vartype DisabledMonitoredItemCount: UInt32 14544 'SamplingInterval':
'Double',
14545 'MonitoredItemCount':
'UInt32',
14546 'MaxMonitoredItemCount':
'UInt32',
14547 'DisabledMonitoredItemCount':
'UInt32',
14551 if binary
is not None:
14567 return b
''.join(packet)
14580 return 'SamplingIntervalDiagnosticsDataType(' +
'SamplingInterval:' + str(self.
SamplingInterval) +
', ' + \
14590 :ivar ServerViewCount: 14591 :vartype ServerViewCount: UInt32 14592 :ivar CurrentSessionCount: 14593 :vartype CurrentSessionCount: UInt32 14594 :ivar CumulatedSessionCount: 14595 :vartype CumulatedSessionCount: UInt32 14596 :ivar SecurityRejectedSessionCount: 14597 :vartype SecurityRejectedSessionCount: UInt32 14598 :ivar RejectedSessionCount: 14599 :vartype RejectedSessionCount: UInt32 14600 :ivar SessionTimeoutCount: 14601 :vartype SessionTimeoutCount: UInt32 14602 :ivar SessionAbortCount: 14603 :vartype SessionAbortCount: UInt32 14604 :ivar CurrentSubscriptionCount: 14605 :vartype CurrentSubscriptionCount: UInt32 14606 :ivar CumulatedSubscriptionCount: 14607 :vartype CumulatedSubscriptionCount: UInt32 14608 :ivar PublishingIntervalCount: 14609 :vartype PublishingIntervalCount: UInt32 14610 :ivar SecurityRejectedRequestsCount: 14611 :vartype SecurityRejectedRequestsCount: UInt32 14612 :ivar RejectedRequestsCount: 14613 :vartype RejectedRequestsCount: UInt32 14617 'ServerViewCount':
'UInt32',
14618 'CurrentSessionCount':
'UInt32',
14619 'CumulatedSessionCount':
'UInt32',
14620 'SecurityRejectedSessionCount':
'UInt32',
14621 'RejectedSessionCount':
'UInt32',
14622 'SessionTimeoutCount':
'UInt32',
14623 'SessionAbortCount':
'UInt32',
14624 'CurrentSubscriptionCount':
'UInt32',
14625 'CumulatedSubscriptionCount':
'UInt32',
14626 'PublishingIntervalCount':
'UInt32',
14627 'SecurityRejectedRequestsCount':
'UInt32',
14628 'RejectedRequestsCount':
'UInt32',
14632 if binary
is not None:
14664 return b
''.join(packet)
14685 return 'ServerDiagnosticsSummaryDataType(' +
'ServerViewCount:' + str(self.
ServerViewCount) +
', ' + \
14704 :vartype StartTime: DateTime 14706 :vartype CurrentTime: DateTime 14708 :vartype State: ServerState 14710 :vartype BuildInfo: BuildInfo 14711 :ivar SecondsTillShutdown: 14712 :vartype SecondsTillShutdown: UInt32 14713 :ivar ShutdownReason: 14714 :vartype ShutdownReason: LocalizedText 14718 'StartTime':
'DateTime',
14719 'CurrentTime':
'DateTime',
14720 'State':
'ServerState',
14721 'BuildInfo':
'BuildInfo',
14722 'SecondsTillShutdown':
'UInt32',
14723 'ShutdownReason':
'LocalizedText',
14727 if binary
is not None:
14741 packet.append(uabin.Primitives.DateTime.pack(self.
StartTime))
14742 packet.append(uabin.Primitives.DateTime.pack(self.
CurrentTime))
14743 packet.append(uabin.Primitives.UInt32.pack(self.State.value))
14744 packet.append(self.BuildInfo.to_binary())
14746 packet.append(self.ShutdownReason.to_binary())
14747 return b
''.join(packet)
14754 self.
StartTime = uabin.Primitives.DateTime.unpack(data)
14755 self.
CurrentTime = uabin.Primitives.DateTime.unpack(data)
14757 self.
BuildInfo = BuildInfo.from_binary(data)
14762 return 'ServerStatusDataType(' +
'StartTime:' + str(self.
StartTime) +
', ' + \
14763 'CurrentTime:' + str(self.
CurrentTime) +
', ' + \
14764 'State:' + str(self.
State) +
', ' + \
14765 'BuildInfo:' + str(self.
BuildInfo) +
', ' + \
14775 :vartype SessionId: NodeId 14777 :vartype SessionName: String 14778 :ivar ClientDescription: 14779 :vartype ClientDescription: ApplicationDescription 14781 :vartype ServerUri: String 14783 :vartype EndpointUrl: String 14785 :vartype LocaleIds: String 14786 :ivar ActualSessionTimeout: 14787 :vartype ActualSessionTimeout: Double 14788 :ivar MaxResponseMessageSize: 14789 :vartype MaxResponseMessageSize: UInt32 14790 :ivar ClientConnectionTime: 14791 :vartype ClientConnectionTime: DateTime 14792 :ivar ClientLastContactTime: 14793 :vartype ClientLastContactTime: DateTime 14794 :ivar CurrentSubscriptionsCount: 14795 :vartype CurrentSubscriptionsCount: UInt32 14796 :ivar CurrentMonitoredItemsCount: 14797 :vartype CurrentMonitoredItemsCount: UInt32 14798 :ivar CurrentPublishRequestsInQueue: 14799 :vartype CurrentPublishRequestsInQueue: UInt32 14800 :ivar TotalRequestCount: 14801 :vartype TotalRequestCount: ServiceCounterDataType 14802 :ivar UnauthorizedRequestCount: 14803 :vartype UnauthorizedRequestCount: UInt32 14805 :vartype ReadCount: ServiceCounterDataType 14806 :ivar HistoryReadCount: 14807 :vartype HistoryReadCount: ServiceCounterDataType 14809 :vartype WriteCount: ServiceCounterDataType 14810 :ivar HistoryUpdateCount: 14811 :vartype HistoryUpdateCount: ServiceCounterDataType 14813 :vartype CallCount: ServiceCounterDataType 14814 :ivar CreateMonitoredItemsCount: 14815 :vartype CreateMonitoredItemsCount: ServiceCounterDataType 14816 :ivar ModifyMonitoredItemsCount: 14817 :vartype ModifyMonitoredItemsCount: ServiceCounterDataType 14818 :ivar SetMonitoringModeCount: 14819 :vartype SetMonitoringModeCount: ServiceCounterDataType 14820 :ivar SetTriggeringCount: 14821 :vartype SetTriggeringCount: ServiceCounterDataType 14822 :ivar DeleteMonitoredItemsCount: 14823 :vartype DeleteMonitoredItemsCount: ServiceCounterDataType 14824 :ivar CreateSubscriptionCount: 14825 :vartype CreateSubscriptionCount: ServiceCounterDataType 14826 :ivar ModifySubscriptionCount: 14827 :vartype ModifySubscriptionCount: ServiceCounterDataType 14828 :ivar SetPublishingModeCount: 14829 :vartype SetPublishingModeCount: ServiceCounterDataType 14830 :ivar PublishCount: 14831 :vartype PublishCount: ServiceCounterDataType 14832 :ivar RepublishCount: 14833 :vartype RepublishCount: ServiceCounterDataType 14834 :ivar TransferSubscriptionsCount: 14835 :vartype TransferSubscriptionsCount: ServiceCounterDataType 14836 :ivar DeleteSubscriptionsCount: 14837 :vartype DeleteSubscriptionsCount: ServiceCounterDataType 14838 :ivar AddNodesCount: 14839 :vartype AddNodesCount: ServiceCounterDataType 14840 :ivar AddReferencesCount: 14841 :vartype AddReferencesCount: ServiceCounterDataType 14842 :ivar DeleteNodesCount: 14843 :vartype DeleteNodesCount: ServiceCounterDataType 14844 :ivar DeleteReferencesCount: 14845 :vartype DeleteReferencesCount: ServiceCounterDataType 14847 :vartype BrowseCount: ServiceCounterDataType 14848 :ivar BrowseNextCount: 14849 :vartype BrowseNextCount: ServiceCounterDataType 14850 :ivar TranslateBrowsePathsToNodeIdsCount: 14851 :vartype TranslateBrowsePathsToNodeIdsCount: ServiceCounterDataType 14852 :ivar QueryFirstCount: 14853 :vartype QueryFirstCount: ServiceCounterDataType 14854 :ivar QueryNextCount: 14855 :vartype QueryNextCount: ServiceCounterDataType 14856 :ivar RegisterNodesCount: 14857 :vartype RegisterNodesCount: ServiceCounterDataType 14858 :ivar UnregisterNodesCount: 14859 :vartype UnregisterNodesCount: ServiceCounterDataType 14863 'SessionId':
'NodeId',
14864 'SessionName':
'String',
14865 'ClientDescription':
'ApplicationDescription',
14866 'ServerUri':
'String',
14867 'EndpointUrl':
'String',
14868 'LocaleIds':
'String',
14869 'ActualSessionTimeout':
'Double',
14870 'MaxResponseMessageSize':
'UInt32',
14871 'ClientConnectionTime':
'DateTime',
14872 'ClientLastContactTime':
'DateTime',
14873 'CurrentSubscriptionsCount':
'UInt32',
14874 'CurrentMonitoredItemsCount':
'UInt32',
14875 'CurrentPublishRequestsInQueue':
'UInt32',
14876 'TotalRequestCount':
'ServiceCounterDataType',
14877 'UnauthorizedRequestCount':
'UInt32',
14878 'ReadCount':
'ServiceCounterDataType',
14879 'HistoryReadCount':
'ServiceCounterDataType',
14880 'WriteCount':
'ServiceCounterDataType',
14881 'HistoryUpdateCount':
'ServiceCounterDataType',
14882 'CallCount':
'ServiceCounterDataType',
14883 'CreateMonitoredItemsCount':
'ServiceCounterDataType',
14884 'ModifyMonitoredItemsCount':
'ServiceCounterDataType',
14885 'SetMonitoringModeCount':
'ServiceCounterDataType',
14886 'SetTriggeringCount':
'ServiceCounterDataType',
14887 'DeleteMonitoredItemsCount':
'ServiceCounterDataType',
14888 'CreateSubscriptionCount':
'ServiceCounterDataType',
14889 'ModifySubscriptionCount':
'ServiceCounterDataType',
14890 'SetPublishingModeCount':
'ServiceCounterDataType',
14891 'PublishCount':
'ServiceCounterDataType',
14892 'RepublishCount':
'ServiceCounterDataType',
14893 'TransferSubscriptionsCount':
'ServiceCounterDataType',
14894 'DeleteSubscriptionsCount':
'ServiceCounterDataType',
14895 'AddNodesCount':
'ServiceCounterDataType',
14896 'AddReferencesCount':
'ServiceCounterDataType',
14897 'DeleteNodesCount':
'ServiceCounterDataType',
14898 'DeleteReferencesCount':
'ServiceCounterDataType',
14899 'BrowseCount':
'ServiceCounterDataType',
14900 'BrowseNextCount':
'ServiceCounterDataType',
14901 'TranslateBrowsePathsToNodeIdsCount':
'ServiceCounterDataType',
14902 'QueryFirstCount':
'ServiceCounterDataType',
14903 'QueryNextCount':
'ServiceCounterDataType',
14904 'RegisterNodesCount':
'ServiceCounterDataType',
14905 'UnregisterNodesCount':
'ServiceCounterDataType',
14909 if binary
is not None:
14960 packet.append(self.SessionId.to_binary())
14961 packet.append(uabin.Primitives.String.pack(self.
SessionName))
14962 packet.append(self.ClientDescription.to_binary())
14963 packet.append(uabin.Primitives.String.pack(self.
ServerUri))
14964 packet.append(uabin.Primitives.String.pack(self.
EndpointUrl))
14965 packet.append(uabin.Primitives.Int32.pack(len(self.
LocaleIds)))
14967 packet.append(uabin.Primitives.String.pack(fieldname))
14975 packet.append(self.TotalRequestCount.to_binary())
14977 packet.append(self.ReadCount.to_binary())
14978 packet.append(self.HistoryReadCount.to_binary())
14979 packet.append(self.WriteCount.to_binary())
14980 packet.append(self.HistoryUpdateCount.to_binary())
14981 packet.append(self.CallCount.to_binary())
14982 packet.append(self.CreateMonitoredItemsCount.to_binary())
14983 packet.append(self.ModifyMonitoredItemsCount.to_binary())
14984 packet.append(self.SetMonitoringModeCount.to_binary())
14985 packet.append(self.SetTriggeringCount.to_binary())
14986 packet.append(self.DeleteMonitoredItemsCount.to_binary())
14987 packet.append(self.CreateSubscriptionCount.to_binary())
14988 packet.append(self.ModifySubscriptionCount.to_binary())
14989 packet.append(self.SetPublishingModeCount.to_binary())
14990 packet.append(self.PublishCount.to_binary())
14991 packet.append(self.RepublishCount.to_binary())
14992 packet.append(self.TransferSubscriptionsCount.to_binary())
14993 packet.append(self.DeleteSubscriptionsCount.to_binary())
14994 packet.append(self.AddNodesCount.to_binary())
14995 packet.append(self.AddReferencesCount.to_binary())
14996 packet.append(self.DeleteNodesCount.to_binary())
14997 packet.append(self.DeleteReferencesCount.to_binary())
14998 packet.append(self.BrowseCount.to_binary())
14999 packet.append(self.BrowseNextCount.to_binary())
15000 packet.append(self.TranslateBrowsePathsToNodeIdsCount.to_binary())
15001 packet.append(self.QueryFirstCount.to_binary())
15002 packet.append(self.QueryNextCount.to_binary())
15003 packet.append(self.RegisterNodesCount.to_binary())
15004 packet.append(self.UnregisterNodesCount.to_binary())
15005 return b
''.join(packet)
15012 self.
SessionId = NodeId.from_binary(data)
15013 self.
SessionName = uabin.Primitives.String.unpack(data)
15015 self.
ServerUri = uabin.Primitives.String.unpack(data)
15016 self.
EndpointUrl = uabin.Primitives.String.unpack(data)
15017 self.
LocaleIds = uabin.Primitives.String.unpack_array(data)
15027 self.
ReadCount = ServiceCounterDataType.from_binary(data)
15029 self.
WriteCount = ServiceCounterDataType.from_binary(data)
15031 self.
CallCount = ServiceCounterDataType.from_binary(data)
15040 self.
PublishCount = ServiceCounterDataType.from_binary(data)
15044 self.
AddNodesCount = ServiceCounterDataType.from_binary(data)
15048 self.
BrowseCount = ServiceCounterDataType.from_binary(data)
15057 return 'SessionDiagnosticsDataType(' +
'SessionId:' + str(self.
SessionId) +
', ' + \
15058 'SessionName:' + str(self.
SessionName) +
', ' + \
15060 'ServerUri:' + str(self.
ServerUri) +
', ' + \
15061 'EndpointUrl:' + str(self.
EndpointUrl) +
', ' + \
15062 'LocaleIds:' + str(self.
LocaleIds) +
', ' + \
15072 'ReadCount:' + str(self.
ReadCount) +
', ' + \
15074 'WriteCount:' + str(self.
WriteCount) +
', ' + \
15076 'CallCount:' + str(self.
CallCount) +
', ' + \
15093 'BrowseCount:' + str(self.
BrowseCount) +
', ' + \
15107 :vartype SessionId: NodeId 15108 :ivar ClientUserIdOfSession: 15109 :vartype ClientUserIdOfSession: String 15110 :ivar ClientUserIdHistory: 15111 :vartype ClientUserIdHistory: String 15112 :ivar AuthenticationMechanism: 15113 :vartype AuthenticationMechanism: String 15115 :vartype Encoding: String 15116 :ivar TransportProtocol: 15117 :vartype TransportProtocol: String 15118 :ivar SecurityMode: 15119 :vartype SecurityMode: MessageSecurityMode 15120 :ivar SecurityPolicyUri: 15121 :vartype SecurityPolicyUri: String 15122 :ivar ClientCertificate: 15123 :vartype ClientCertificate: ByteString 15127 'SessionId':
'NodeId',
15128 'ClientUserIdOfSession':
'String',
15129 'ClientUserIdHistory':
'String',
15130 'AuthenticationMechanism':
'String',
15131 'Encoding':
'String',
15132 'TransportProtocol':
'String',
15133 'SecurityMode':
'MessageSecurityMode',
15134 'SecurityPolicyUri':
'String',
15135 'ClientCertificate':
'ByteString',
15139 if binary
is not None:
15156 packet.append(self.SessionId.to_binary())
15160 packet.append(uabin.Primitives.String.pack(fieldname))
15162 packet.append(uabin.Primitives.String.pack(self.
Encoding))
15164 packet.append(uabin.Primitives.UInt32.pack(self.SecurityMode.value))
15167 return b
''.join(packet)
15174 self.
SessionId = NodeId.from_binary(data)
15178 self.
Encoding = uabin.Primitives.String.unpack(data)
15185 return 'SessionSecurityDiagnosticsDataType(' +
'SessionId:' + str(self.
SessionId) +
', ' + \
15189 'Encoding:' + str(self.
Encoding) +
', ' + \
15201 :vartype TotalCount: UInt32 15203 :vartype ErrorCount: UInt32 15207 'TotalCount':
'UInt32',
15208 'ErrorCount':
'UInt32',
15212 if binary
is not None:
15222 packet.append(uabin.Primitives.UInt32.pack(self.
TotalCount))
15223 packet.append(uabin.Primitives.UInt32.pack(self.
ErrorCount))
15224 return b
''.join(packet)
15231 self.
TotalCount = uabin.Primitives.UInt32.unpack(data)
15232 self.
ErrorCount = uabin.Primitives.UInt32.unpack(data)
15235 return 'ServiceCounterDataType(' +
'TotalCount:' + str(self.
TotalCount) +
', ' + \
15244 :vartype StatusCode: StatusCode 15245 :ivar DiagnosticInfo: 15246 :vartype DiagnosticInfo: DiagnosticInfo 15250 'StatusCode':
'StatusCode',
15251 'DiagnosticInfo':
'DiagnosticInfo',
15255 if binary
is not None:
15265 packet.append(self.StatusCode.to_binary())
15266 packet.append(self.DiagnosticInfo.to_binary())
15267 return b
''.join(packet)
15274 self.
StatusCode = StatusCode.from_binary(data)
15278 return 'StatusResult(' +
'StatusCode:' + str(self.
StatusCode) +
', ' + \
15287 :vartype SessionId: NodeId 15288 :ivar SubscriptionId: 15289 :vartype SubscriptionId: UInt32 15291 :vartype Priority: Byte 15292 :ivar PublishingInterval: 15293 :vartype PublishingInterval: Double 15294 :ivar MaxKeepAliveCount: 15295 :vartype MaxKeepAliveCount: UInt32 15296 :ivar MaxLifetimeCount: 15297 :vartype MaxLifetimeCount: UInt32 15298 :ivar MaxNotificationsPerPublish: 15299 :vartype MaxNotificationsPerPublish: UInt32 15300 :ivar PublishingEnabled: 15301 :vartype PublishingEnabled: Boolean 15303 :vartype ModifyCount: UInt32 15305 :vartype EnableCount: UInt32 15306 :ivar DisableCount: 15307 :vartype DisableCount: UInt32 15308 :ivar RepublishRequestCount: 15309 :vartype RepublishRequestCount: UInt32 15310 :ivar RepublishMessageRequestCount: 15311 :vartype RepublishMessageRequestCount: UInt32 15312 :ivar RepublishMessageCount: 15313 :vartype RepublishMessageCount: UInt32 15314 :ivar TransferRequestCount: 15315 :vartype TransferRequestCount: UInt32 15316 :ivar TransferredToAltClientCount: 15317 :vartype TransferredToAltClientCount: UInt32 15318 :ivar TransferredToSameClientCount: 15319 :vartype TransferredToSameClientCount: UInt32 15320 :ivar PublishRequestCount: 15321 :vartype PublishRequestCount: UInt32 15322 :ivar DataChangeNotificationsCount: 15323 :vartype DataChangeNotificationsCount: UInt32 15324 :ivar EventNotificationsCount: 15325 :vartype EventNotificationsCount: UInt32 15326 :ivar NotificationsCount: 15327 :vartype NotificationsCount: UInt32 15328 :ivar LatePublishRequestCount: 15329 :vartype LatePublishRequestCount: UInt32 15330 :ivar CurrentKeepAliveCount: 15331 :vartype CurrentKeepAliveCount: UInt32 15332 :ivar CurrentLifetimeCount: 15333 :vartype CurrentLifetimeCount: UInt32 15334 :ivar UnacknowledgedMessageCount: 15335 :vartype UnacknowledgedMessageCount: UInt32 15336 :ivar DiscardedMessageCount: 15337 :vartype DiscardedMessageCount: UInt32 15338 :ivar MonitoredItemCount: 15339 :vartype MonitoredItemCount: UInt32 15340 :ivar DisabledMonitoredItemCount: 15341 :vartype DisabledMonitoredItemCount: UInt32 15342 :ivar MonitoringQueueOverflowCount: 15343 :vartype MonitoringQueueOverflowCount: UInt32 15344 :ivar NextSequenceNumber: 15345 :vartype NextSequenceNumber: UInt32 15346 :ivar EventQueueOverFlowCount: 15347 :vartype EventQueueOverFlowCount: UInt32 15351 'SessionId':
'NodeId',
15352 'SubscriptionId':
'UInt32',
15353 'Priority':
'Byte',
15354 'PublishingInterval':
'Double',
15355 'MaxKeepAliveCount':
'UInt32',
15356 'MaxLifetimeCount':
'UInt32',
15357 'MaxNotificationsPerPublish':
'UInt32',
15358 'PublishingEnabled':
'Boolean',
15359 'ModifyCount':
'UInt32',
15360 'EnableCount':
'UInt32',
15361 'DisableCount':
'UInt32',
15362 'RepublishRequestCount':
'UInt32',
15363 'RepublishMessageRequestCount':
'UInt32',
15364 'RepublishMessageCount':
'UInt32',
15365 'TransferRequestCount':
'UInt32',
15366 'TransferredToAltClientCount':
'UInt32',
15367 'TransferredToSameClientCount':
'UInt32',
15368 'PublishRequestCount':
'UInt32',
15369 'DataChangeNotificationsCount':
'UInt32',
15370 'EventNotificationsCount':
'UInt32',
15371 'NotificationsCount':
'UInt32',
15372 'LatePublishRequestCount':
'UInt32',
15373 'CurrentKeepAliveCount':
'UInt32',
15374 'CurrentLifetimeCount':
'UInt32',
15375 'UnacknowledgedMessageCount':
'UInt32',
15376 'DiscardedMessageCount':
'UInt32',
15377 'MonitoredItemCount':
'UInt32',
15378 'DisabledMonitoredItemCount':
'UInt32',
15379 'MonitoringQueueOverflowCount':
'UInt32',
15380 'NextSequenceNumber':
'UInt32',
15381 'EventQueueOverFlowCount':
'UInt32',
15385 if binary
is not None:
15424 packet.append(self.SessionId.to_binary())
15425 packet.append(uabin.Primitives.UInt32.pack(self.
SubscriptionId))
15426 packet.append(uabin.Primitives.Byte.pack(self.
Priority))
15432 packet.append(uabin.Primitives.UInt32.pack(self.
ModifyCount))
15433 packet.append(uabin.Primitives.UInt32.pack(self.
EnableCount))
15434 packet.append(uabin.Primitives.UInt32.pack(self.
DisableCount))
15455 return b
''.join(packet)
15462 self.
SessionId = NodeId.from_binary(data)
15464 self.
Priority = uabin.Primitives.Byte.unpack(data)
15470 self.
ModifyCount = uabin.Primitives.UInt32.unpack(data)
15471 self.
EnableCount = uabin.Primitives.UInt32.unpack(data)
15472 self.
DisableCount = uabin.Primitives.UInt32.unpack(data)
15495 return 'SubscriptionDiagnosticsDataType(' +
'SessionId:' + str(self.
SessionId) +
', ' + \
15497 'Priority:' + str(self.
Priority) +
', ' + \
15503 'ModifyCount:' + str(self.
ModifyCount) +
', ' + \
15504 'EnableCount:' + str(self.
EnableCount) +
', ' + \
15533 :vartype Affected: NodeId 15534 :ivar AffectedType: 15535 :vartype AffectedType: NodeId 15537 :vartype Verb: Byte 15541 'Affected':
'NodeId',
15542 'AffectedType':
'NodeId',
15547 if binary
is not None:
15558 packet.append(self.Affected.to_binary())
15559 packet.append(self.AffectedType.to_binary())
15560 packet.append(uabin.Primitives.Byte.pack(self.
Verb))
15561 return b
''.join(packet)
15568 self.
Affected = NodeId.from_binary(data)
15570 self.
Verb = uabin.Primitives.Byte.unpack(data)
15573 return 'ModelChangeStructureDataType(' +
'Affected:' + str(self.
Affected) +
', ' + \
15575 'Verb:' + str(self.
Verb) +
')' 15583 :vartype Affected: NodeId 15584 :ivar AffectedType: 15585 :vartype AffectedType: NodeId 15589 'Affected':
'NodeId',
15590 'AffectedType':
'NodeId',
15594 if binary
is not None:
15604 packet.append(self.Affected.to_binary())
15605 packet.append(self.AffectedType.to_binary())
15606 return b
''.join(packet)
15613 self.
Affected = NodeId.from_binary(data)
15617 return 'SemanticChangeStructureDataType(' +
'Affected:' + str(self.
Affected) +
', ' + \
15626 :vartype Low: Double 15628 :vartype High: Double 15637 if binary
is not None:
15647 packet.append(uabin.Primitives.Double.pack(self.
Low))
15648 packet.append(uabin.Primitives.Double.pack(self.
High))
15649 return b
''.join(packet)
15656 self.
Low = uabin.Primitives.Double.unpack(data)
15657 self.
High = uabin.Primitives.Double.unpack(data)
15660 return 'Range(' +
'Low:' + str(self.
Low) +
', ' + \
15661 'High:' + str(self.
High) +
')' 15668 :ivar NamespaceUri: 15669 :vartype NamespaceUri: String 15671 :vartype UnitId: Int32 15673 :vartype DisplayName: LocalizedText 15675 :vartype Description: LocalizedText 15679 'NamespaceUri':
'String',
15681 'DisplayName':
'LocalizedText',
15682 'Description':
'LocalizedText',
15686 if binary
is not None:
15698 packet.append(uabin.Primitives.String.pack(self.
NamespaceUri))
15699 packet.append(uabin.Primitives.Int32.pack(self.
UnitId))
15700 packet.append(self.DisplayName.to_binary())
15701 packet.append(self.Description.to_binary())
15702 return b
''.join(packet)
15709 self.
NamespaceUri = uabin.Primitives.String.unpack(data)
15710 self.
UnitId = uabin.Primitives.Int32.unpack(data)
15711 self.
DisplayName = LocalizedText.from_binary(data)
15712 self.
Description = LocalizedText.from_binary(data)
15715 return 'EUInformation(' +
'NamespaceUri:' + str(self.
NamespaceUri) +
', ' + \
15716 'UnitId:' + str(self.
UnitId) +
', ' + \
15717 'DisplayName:' + str(self.
DisplayName) +
', ' + \
15726 :vartype Real: Float 15728 :vartype Imaginary: Float 15733 'Imaginary':
'Float',
15737 if binary
is not None:
15747 packet.append(uabin.Primitives.Float.pack(self.
Real))
15748 packet.append(uabin.Primitives.Float.pack(self.
Imaginary))
15749 return b
''.join(packet)
15756 self.
Real = uabin.Primitives.Float.unpack(data)
15757 self.
Imaginary = uabin.Primitives.Float.unpack(data)
15760 return 'ComplexNumberType(' +
'Real:' + str(self.
Real) +
', ' + \
15761 'Imaginary:' + str(self.
Imaginary) +
')' 15769 :vartype Real: Double 15771 :vartype Imaginary: Double 15776 'Imaginary':
'Double',
15780 if binary
is not None:
15790 packet.append(uabin.Primitives.Double.pack(self.
Real))
15791 packet.append(uabin.Primitives.Double.pack(self.
Imaginary))
15792 return b
''.join(packet)
15799 self.
Real = uabin.Primitives.Double.unpack(data)
15800 self.
Imaginary = uabin.Primitives.Double.unpack(data)
15803 return 'DoubleComplexNumberType(' +
'Real:' + str(self.
Real) +
', ' + \
15804 'Imaginary:' + str(self.
Imaginary) +
')' 15811 :ivar EngineeringUnits: 15812 :vartype EngineeringUnits: EUInformation 15814 :vartype EURange: Range 15816 :vartype Title: LocalizedText 15817 :ivar AxisScaleType: 15818 :vartype AxisScaleType: AxisScaleEnumeration 15820 :vartype AxisSteps: Double 15824 'EngineeringUnits':
'EUInformation',
15825 'EURange':
'Range',
15826 'Title':
'LocalizedText',
15827 'AxisScaleType':
'AxisScaleEnumeration',
15828 'AxisSteps':
'Double',
15832 if binary
is not None:
15845 packet.append(self.EngineeringUnits.to_binary())
15846 packet.append(self.EURange.to_binary())
15847 packet.append(self.Title.to_binary())
15848 packet.append(uabin.Primitives.UInt32.pack(self.AxisScaleType.value))
15849 packet.append(uabin.Primitives.Int32.pack(len(self.
AxisSteps)))
15851 packet.append(uabin.Primitives.Double.pack(fieldname))
15852 return b
''.join(packet)
15860 self.
EURange = Range.from_binary(data)
15861 self.
Title = LocalizedText.from_binary(data)
15863 self.
AxisSteps = uabin.Primitives.Double.unpack_array(data)
15866 return 'AxisInformation(' +
'EngineeringUnits:' + str(self.
EngineeringUnits) +
', ' + \
15867 'EURange:' + str(self.
EURange) +
', ' + \
15868 'Title:' + str(self.
Title) +
', ' + \
15870 'AxisSteps:' + str(self.
AxisSteps) +
')' 15880 :vartype Value: Float 15889 if binary
is not None:
15899 packet.append(uabin.Primitives.Double.pack(self.
X))
15900 packet.append(uabin.Primitives.Float.pack(self.
Value))
15901 return b
''.join(packet)
15908 self.
X = uabin.Primitives.Double.unpack(data)
15909 self.
Value = uabin.Primitives.Float.unpack(data)
15912 return 'XVType(' +
'X:' + str(self.
X) +
', ' + \
15913 'Value:' + str(self.
Value) +
')' 15920 :ivar CreateSessionId: 15921 :vartype CreateSessionId: NodeId 15922 :ivar CreateClientName: 15923 :vartype CreateClientName: String 15924 :ivar InvocationCreationTime: 15925 :vartype InvocationCreationTime: DateTime 15926 :ivar LastTransitionTime: 15927 :vartype LastTransitionTime: DateTime 15928 :ivar LastMethodCall: 15929 :vartype LastMethodCall: String 15930 :ivar LastMethodSessionId: 15931 :vartype LastMethodSessionId: NodeId 15932 :ivar LastMethodInputArguments: 15933 :vartype LastMethodInputArguments: Argument 15934 :ivar LastMethodOutputArguments: 15935 :vartype LastMethodOutputArguments: Argument 15936 :ivar LastMethodCallTime: 15937 :vartype LastMethodCallTime: DateTime 15938 :ivar LastMethodReturnStatus: 15939 :vartype LastMethodReturnStatus: StatusResult 15943 'CreateSessionId':
'NodeId',
15944 'CreateClientName':
'String',
15945 'InvocationCreationTime':
'DateTime',
15946 'LastTransitionTime':
'DateTime',
15947 'LastMethodCall':
'String',
15948 'LastMethodSessionId':
'NodeId',
15949 'LastMethodInputArguments':
'Argument',
15950 'LastMethodOutputArguments':
'Argument',
15951 'LastMethodCallTime':
'DateTime',
15952 'LastMethodReturnStatus':
'StatusResult',
15956 if binary
is not None:
15974 packet.append(self.CreateSessionId.to_binary())
15978 packet.append(uabin.Primitives.String.pack(self.
LastMethodCall))
15979 packet.append(self.LastMethodSessionId.to_binary())
15982 packet.append(fieldname.to_binary())
15985 packet.append(fieldname.to_binary())
15987 packet.append(self.LastMethodReturnStatus.to_binary())
15988 return b
''.join(packet)
16001 length = uabin.Primitives.Int32.unpack(data)
16004 for _
in range(0, length):
16005 array.append(Argument.from_binary(data))
16007 length = uabin.Primitives.Int32.unpack(data)
16010 for _
in range(0, length):
16011 array.append(Argument.from_binary(data))
16017 return 'ProgramDiagnosticDataType(' +
'CreateSessionId:' + str(self.
CreateSessionId) +
', ' + \
16034 :vartype Message: String 16036 :vartype UserName: String 16037 :ivar AnnotationTime: 16038 :vartype AnnotationTime: DateTime 16042 'Message':
'String',
16043 'UserName':
'String',
16044 'AnnotationTime':
'DateTime',
16048 if binary
is not None:
16059 packet.append(uabin.Primitives.String.pack(self.
Message))
16060 packet.append(uabin.Primitives.String.pack(self.
UserName))
16061 packet.append(uabin.Primitives.DateTime.pack(self.
AnnotationTime))
16062 return b
''.join(packet)
16069 self.
Message = uabin.Primitives.String.unpack(data)
16070 self.
UserName = uabin.Primitives.String.unpack(data)
16074 return 'Annotation(' +
'Message:' + str(self.
Message) +
', ' + \
16075 'UserName:' + str(self.
UserName) +
', ' + \
16081 ExtensionClasses = {
16082 ObjectIds.TrustListDataType_Encoding_DefaultBinary: TrustListDataType,
16083 ObjectIds.Argument_Encoding_DefaultBinary: Argument,
16084 ObjectIds.EnumValueType_Encoding_DefaultBinary: EnumValueType,
16085 ObjectIds.OptionSet_Encoding_DefaultBinary: OptionSet,
16086 ObjectIds.Union_Encoding_DefaultBinary: Union,
16087 ObjectIds.TimeZoneDataType_Encoding_DefaultBinary: TimeZoneDataType,
16088 ObjectIds.ApplicationDescription_Encoding_DefaultBinary: ApplicationDescription,
16089 ObjectIds.RequestHeader_Encoding_DefaultBinary: RequestHeader,
16090 ObjectIds.ResponseHeader_Encoding_DefaultBinary: ResponseHeader,
16091 ObjectIds.ServiceFault_Encoding_DefaultBinary: ServiceFault,
16092 ObjectIds.FindServersRequest_Encoding_DefaultBinary: FindServersRequest,
16093 ObjectIds.FindServersResponse_Encoding_DefaultBinary: FindServersResponse,
16094 ObjectIds.ServerOnNetwork_Encoding_DefaultBinary: ServerOnNetwork,
16095 ObjectIds.FindServersOnNetworkRequest_Encoding_DefaultBinary: FindServersOnNetworkRequest,
16096 ObjectIds.FindServersOnNetworkResponse_Encoding_DefaultBinary: FindServersOnNetworkResponse,
16097 ObjectIds.UserTokenPolicy_Encoding_DefaultBinary: UserTokenPolicy,
16098 ObjectIds.EndpointDescription_Encoding_DefaultBinary: EndpointDescription,
16099 ObjectIds.GetEndpointsRequest_Encoding_DefaultBinary: GetEndpointsRequest,
16100 ObjectIds.GetEndpointsResponse_Encoding_DefaultBinary: GetEndpointsResponse,
16101 ObjectIds.RegisteredServer_Encoding_DefaultBinary: RegisteredServer,
16102 ObjectIds.RegisterServerRequest_Encoding_DefaultBinary: RegisterServerRequest,
16103 ObjectIds.RegisterServerResponse_Encoding_DefaultBinary: RegisterServerResponse,
16104 ObjectIds.DiscoveryConfiguration_Encoding_DefaultBinary: DiscoveryConfiguration,
16105 ObjectIds.MdnsDiscoveryConfiguration_Encoding_DefaultBinary: MdnsDiscoveryConfiguration,
16106 ObjectIds.RegisterServer2Request_Encoding_DefaultBinary: RegisterServer2Request,
16107 ObjectIds.RegisterServer2Response_Encoding_DefaultBinary: RegisterServer2Response,
16108 ObjectIds.ChannelSecurityToken_Encoding_DefaultBinary: ChannelSecurityToken,
16109 ObjectIds.OpenSecureChannelRequest_Encoding_DefaultBinary: OpenSecureChannelRequest,
16110 ObjectIds.OpenSecureChannelResponse_Encoding_DefaultBinary: OpenSecureChannelResponse,
16111 ObjectIds.CloseSecureChannelRequest_Encoding_DefaultBinary: CloseSecureChannelRequest,
16112 ObjectIds.CloseSecureChannelResponse_Encoding_DefaultBinary: CloseSecureChannelResponse,
16113 ObjectIds.SignedSoftwareCertificate_Encoding_DefaultBinary: SignedSoftwareCertificate,
16114 ObjectIds.SignatureData_Encoding_DefaultBinary: SignatureData,
16115 ObjectIds.CreateSessionRequest_Encoding_DefaultBinary: CreateSessionRequest,
16116 ObjectIds.CreateSessionResponse_Encoding_DefaultBinary: CreateSessionResponse,
16117 ObjectIds.UserIdentityToken_Encoding_DefaultBinary: UserIdentityToken,
16118 ObjectIds.AnonymousIdentityToken_Encoding_DefaultBinary: AnonymousIdentityToken,
16119 ObjectIds.UserNameIdentityToken_Encoding_DefaultBinary: UserNameIdentityToken,
16120 ObjectIds.X509IdentityToken_Encoding_DefaultBinary: X509IdentityToken,
16121 ObjectIds.KerberosIdentityToken_Encoding_DefaultBinary: KerberosIdentityToken,
16122 ObjectIds.IssuedIdentityToken_Encoding_DefaultBinary: IssuedIdentityToken,
16123 ObjectIds.ActivateSessionRequest_Encoding_DefaultBinary: ActivateSessionRequest,
16124 ObjectIds.ActivateSessionResponse_Encoding_DefaultBinary: ActivateSessionResponse,
16125 ObjectIds.CloseSessionRequest_Encoding_DefaultBinary: CloseSessionRequest,
16126 ObjectIds.CloseSessionResponse_Encoding_DefaultBinary: CloseSessionResponse,
16127 ObjectIds.CancelRequest_Encoding_DefaultBinary: CancelRequest,
16128 ObjectIds.CancelResponse_Encoding_DefaultBinary: CancelResponse,
16129 ObjectIds.NodeAttributes_Encoding_DefaultBinary: NodeAttributes,
16130 ObjectIds.ObjectAttributes_Encoding_DefaultBinary: ObjectAttributes,
16131 ObjectIds.VariableAttributes_Encoding_DefaultBinary: VariableAttributes,
16132 ObjectIds.MethodAttributes_Encoding_DefaultBinary: MethodAttributes,
16133 ObjectIds.ObjectTypeAttributes_Encoding_DefaultBinary: ObjectTypeAttributes,
16134 ObjectIds.VariableTypeAttributes_Encoding_DefaultBinary: VariableTypeAttributes,
16135 ObjectIds.ReferenceTypeAttributes_Encoding_DefaultBinary: ReferenceTypeAttributes,
16136 ObjectIds.DataTypeAttributes_Encoding_DefaultBinary: DataTypeAttributes,
16137 ObjectIds.ViewAttributes_Encoding_DefaultBinary: ViewAttributes,
16138 ObjectIds.AddNodesItem_Encoding_DefaultBinary: AddNodesItem,
16139 ObjectIds.AddNodesResult_Encoding_DefaultBinary: AddNodesResult,
16140 ObjectIds.AddNodesRequest_Encoding_DefaultBinary: AddNodesRequest,
16141 ObjectIds.AddNodesResponse_Encoding_DefaultBinary: AddNodesResponse,
16142 ObjectIds.AddReferencesItem_Encoding_DefaultBinary: AddReferencesItem,
16143 ObjectIds.AddReferencesRequest_Encoding_DefaultBinary: AddReferencesRequest,
16144 ObjectIds.AddReferencesResponse_Encoding_DefaultBinary: AddReferencesResponse,
16145 ObjectIds.DeleteNodesItem_Encoding_DefaultBinary: DeleteNodesItem,
16146 ObjectIds.DeleteNodesRequest_Encoding_DefaultBinary: DeleteNodesRequest,
16147 ObjectIds.DeleteNodesResponse_Encoding_DefaultBinary: DeleteNodesResponse,
16148 ObjectIds.DeleteReferencesItem_Encoding_DefaultBinary: DeleteReferencesItem,
16149 ObjectIds.DeleteReferencesRequest_Encoding_DefaultBinary: DeleteReferencesRequest,
16150 ObjectIds.DeleteReferencesResponse_Encoding_DefaultBinary: DeleteReferencesResponse,
16151 ObjectIds.ViewDescription_Encoding_DefaultBinary: ViewDescription,
16152 ObjectIds.BrowseDescription_Encoding_DefaultBinary: BrowseDescription,
16153 ObjectIds.ReferenceDescription_Encoding_DefaultBinary: ReferenceDescription,
16154 ObjectIds.BrowseResult_Encoding_DefaultBinary: BrowseResult,
16155 ObjectIds.BrowseRequest_Encoding_DefaultBinary: BrowseRequest,
16156 ObjectIds.BrowseResponse_Encoding_DefaultBinary: BrowseResponse,
16157 ObjectIds.BrowseNextRequest_Encoding_DefaultBinary: BrowseNextRequest,
16158 ObjectIds.BrowseNextResponse_Encoding_DefaultBinary: BrowseNextResponse,
16159 ObjectIds.RelativePathElement_Encoding_DefaultBinary: RelativePathElement,
16160 ObjectIds.RelativePath_Encoding_DefaultBinary: RelativePath,
16161 ObjectIds.BrowsePath_Encoding_DefaultBinary: BrowsePath,
16162 ObjectIds.BrowsePathTarget_Encoding_DefaultBinary: BrowsePathTarget,
16163 ObjectIds.BrowsePathResult_Encoding_DefaultBinary: BrowsePathResult,
16164 ObjectIds.TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultBinary: TranslateBrowsePathsToNodeIdsRequest,
16165 ObjectIds.TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultBinary: TranslateBrowsePathsToNodeIdsResponse,
16166 ObjectIds.RegisterNodesRequest_Encoding_DefaultBinary: RegisterNodesRequest,
16167 ObjectIds.RegisterNodesResponse_Encoding_DefaultBinary: RegisterNodesResponse,
16168 ObjectIds.UnregisterNodesRequest_Encoding_DefaultBinary: UnregisterNodesRequest,
16169 ObjectIds.UnregisterNodesResponse_Encoding_DefaultBinary: UnregisterNodesResponse,
16170 ObjectIds.EndpointConfiguration_Encoding_DefaultBinary: EndpointConfiguration,
16171 ObjectIds.SupportedProfile_Encoding_DefaultBinary: SupportedProfile,
16172 ObjectIds.SoftwareCertificate_Encoding_DefaultBinary: SoftwareCertificate,
16173 ObjectIds.QueryDataDescription_Encoding_DefaultBinary: QueryDataDescription,
16174 ObjectIds.NodeTypeDescription_Encoding_DefaultBinary: NodeTypeDescription,
16175 ObjectIds.QueryDataSet_Encoding_DefaultBinary: QueryDataSet,
16176 ObjectIds.NodeReference_Encoding_DefaultBinary: NodeReference,
16177 ObjectIds.ContentFilterElement_Encoding_DefaultBinary: ContentFilterElement,
16178 ObjectIds.ContentFilter_Encoding_DefaultBinary: ContentFilter,
16179 ObjectIds.ElementOperand_Encoding_DefaultBinary: ElementOperand,
16180 ObjectIds.LiteralOperand_Encoding_DefaultBinary: LiteralOperand,
16181 ObjectIds.AttributeOperand_Encoding_DefaultBinary: AttributeOperand,
16182 ObjectIds.SimpleAttributeOperand_Encoding_DefaultBinary: SimpleAttributeOperand,
16183 ObjectIds.ContentFilterElementResult_Encoding_DefaultBinary: ContentFilterElementResult,
16184 ObjectIds.ContentFilterResult_Encoding_DefaultBinary: ContentFilterResult,
16185 ObjectIds.ParsingResult_Encoding_DefaultBinary: ParsingResult,
16186 ObjectIds.QueryFirstRequest_Encoding_DefaultBinary: QueryFirstRequest,
16187 ObjectIds.QueryFirstResponse_Encoding_DefaultBinary: QueryFirstResponse,
16188 ObjectIds.QueryNextRequest_Encoding_DefaultBinary: QueryNextRequest,
16189 ObjectIds.QueryNextResponse_Encoding_DefaultBinary: QueryNextResponse,
16190 ObjectIds.ReadValueId_Encoding_DefaultBinary: ReadValueId,
16191 ObjectIds.ReadRequest_Encoding_DefaultBinary: ReadRequest,
16192 ObjectIds.ReadResponse_Encoding_DefaultBinary: ReadResponse,
16193 ObjectIds.HistoryReadValueId_Encoding_DefaultBinary: HistoryReadValueId,
16194 ObjectIds.HistoryReadResult_Encoding_DefaultBinary: HistoryReadResult,
16195 ObjectIds.HistoryReadDetails_Encoding_DefaultBinary: HistoryReadDetails,
16196 ObjectIds.ReadEventDetails_Encoding_DefaultBinary: ReadEventDetails,
16197 ObjectIds.ReadRawModifiedDetails_Encoding_DefaultBinary: ReadRawModifiedDetails,
16198 ObjectIds.ReadProcessedDetails_Encoding_DefaultBinary: ReadProcessedDetails,
16199 ObjectIds.ReadAtTimeDetails_Encoding_DefaultBinary: ReadAtTimeDetails,
16200 ObjectIds.HistoryData_Encoding_DefaultBinary: HistoryData,
16201 ObjectIds.ModificationInfo_Encoding_DefaultBinary: ModificationInfo,
16202 ObjectIds.HistoryModifiedData_Encoding_DefaultBinary: HistoryModifiedData,
16203 ObjectIds.HistoryEvent_Encoding_DefaultBinary: HistoryEvent,
16204 ObjectIds.HistoryReadRequest_Encoding_DefaultBinary: HistoryReadRequest,
16205 ObjectIds.HistoryReadResponse_Encoding_DefaultBinary: HistoryReadResponse,
16206 ObjectIds.WriteValue_Encoding_DefaultBinary: WriteValue,
16207 ObjectIds.WriteRequest_Encoding_DefaultBinary: WriteRequest,
16208 ObjectIds.WriteResponse_Encoding_DefaultBinary: WriteResponse,
16209 ObjectIds.HistoryUpdateDetails_Encoding_DefaultBinary: HistoryUpdateDetails,
16210 ObjectIds.UpdateDataDetails_Encoding_DefaultBinary: UpdateDataDetails,
16211 ObjectIds.UpdateStructureDataDetails_Encoding_DefaultBinary: UpdateStructureDataDetails,
16212 ObjectIds.UpdateEventDetails_Encoding_DefaultBinary: UpdateEventDetails,
16213 ObjectIds.DeleteRawModifiedDetails_Encoding_DefaultBinary: DeleteRawModifiedDetails,
16214 ObjectIds.DeleteAtTimeDetails_Encoding_DefaultBinary: DeleteAtTimeDetails,
16215 ObjectIds.DeleteEventDetails_Encoding_DefaultBinary: DeleteEventDetails,
16216 ObjectIds.HistoryUpdateResult_Encoding_DefaultBinary: HistoryUpdateResult,
16217 ObjectIds.HistoryUpdateRequest_Encoding_DefaultBinary: HistoryUpdateRequest,
16218 ObjectIds.HistoryUpdateResponse_Encoding_DefaultBinary: HistoryUpdateResponse,
16219 ObjectIds.CallMethodRequest_Encoding_DefaultBinary: CallMethodRequest,
16220 ObjectIds.CallMethodResult_Encoding_DefaultBinary: CallMethodResult,
16221 ObjectIds.CallRequest_Encoding_DefaultBinary: CallRequest,
16222 ObjectIds.CallResponse_Encoding_DefaultBinary: CallResponse,
16223 ObjectIds.MonitoringFilter_Encoding_DefaultBinary: MonitoringFilter,
16224 ObjectIds.DataChangeFilter_Encoding_DefaultBinary: DataChangeFilter,
16225 ObjectIds.EventFilter_Encoding_DefaultBinary: EventFilter,
16226 ObjectIds.AggregateConfiguration_Encoding_DefaultBinary: AggregateConfiguration,
16227 ObjectIds.AggregateFilter_Encoding_DefaultBinary: AggregateFilter,
16228 ObjectIds.MonitoringFilterResult_Encoding_DefaultBinary: MonitoringFilterResult,
16229 ObjectIds.EventFilterResult_Encoding_DefaultBinary: EventFilterResult,
16230 ObjectIds.AggregateFilterResult_Encoding_DefaultBinary: AggregateFilterResult,
16231 ObjectIds.MonitoringParameters_Encoding_DefaultBinary: MonitoringParameters,
16232 ObjectIds.MonitoredItemCreateRequest_Encoding_DefaultBinary: MonitoredItemCreateRequest,
16233 ObjectIds.MonitoredItemCreateResult_Encoding_DefaultBinary: MonitoredItemCreateResult,
16234 ObjectIds.CreateMonitoredItemsRequest_Encoding_DefaultBinary: CreateMonitoredItemsRequest,
16235 ObjectIds.CreateMonitoredItemsResponse_Encoding_DefaultBinary: CreateMonitoredItemsResponse,
16236 ObjectIds.MonitoredItemModifyRequest_Encoding_DefaultBinary: MonitoredItemModifyRequest,
16237 ObjectIds.MonitoredItemModifyResult_Encoding_DefaultBinary: MonitoredItemModifyResult,
16238 ObjectIds.ModifyMonitoredItemsRequest_Encoding_DefaultBinary: ModifyMonitoredItemsRequest,
16239 ObjectIds.ModifyMonitoredItemsResponse_Encoding_DefaultBinary: ModifyMonitoredItemsResponse,
16240 ObjectIds.SetMonitoringModeRequest_Encoding_DefaultBinary: SetMonitoringModeRequest,
16241 ObjectIds.SetMonitoringModeResponse_Encoding_DefaultBinary: SetMonitoringModeResponse,
16242 ObjectIds.SetTriggeringRequest_Encoding_DefaultBinary: SetTriggeringRequest,
16243 ObjectIds.SetTriggeringResponse_Encoding_DefaultBinary: SetTriggeringResponse,
16244 ObjectIds.DeleteMonitoredItemsRequest_Encoding_DefaultBinary: DeleteMonitoredItemsRequest,
16245 ObjectIds.DeleteMonitoredItemsResponse_Encoding_DefaultBinary: DeleteMonitoredItemsResponse,
16246 ObjectIds.CreateSubscriptionRequest_Encoding_DefaultBinary: CreateSubscriptionRequest,
16247 ObjectIds.CreateSubscriptionResponse_Encoding_DefaultBinary: CreateSubscriptionResponse,
16248 ObjectIds.ModifySubscriptionRequest_Encoding_DefaultBinary: ModifySubscriptionRequest,
16249 ObjectIds.ModifySubscriptionResponse_Encoding_DefaultBinary: ModifySubscriptionResponse,
16250 ObjectIds.SetPublishingModeRequest_Encoding_DefaultBinary: SetPublishingModeRequest,
16251 ObjectIds.SetPublishingModeResponse_Encoding_DefaultBinary: SetPublishingModeResponse,
16252 ObjectIds.NotificationMessage_Encoding_DefaultBinary: NotificationMessage,
16253 ObjectIds.NotificationData_Encoding_DefaultBinary: NotificationData,
16254 ObjectIds.DataChangeNotification_Encoding_DefaultBinary: DataChangeNotification,
16255 ObjectIds.MonitoredItemNotification_Encoding_DefaultBinary: MonitoredItemNotification,
16256 ObjectIds.EventNotificationList_Encoding_DefaultBinary: EventNotificationList,
16257 ObjectIds.EventFieldList_Encoding_DefaultBinary: EventFieldList,
16258 ObjectIds.HistoryEventFieldList_Encoding_DefaultBinary: HistoryEventFieldList,
16259 ObjectIds.StatusChangeNotification_Encoding_DefaultBinary: StatusChangeNotification,
16260 ObjectIds.SubscriptionAcknowledgement_Encoding_DefaultBinary: SubscriptionAcknowledgement,
16261 ObjectIds.PublishRequest_Encoding_DefaultBinary: PublishRequest,
16262 ObjectIds.PublishResponse_Encoding_DefaultBinary: PublishResponse,
16263 ObjectIds.RepublishRequest_Encoding_DefaultBinary: RepublishRequest,
16264 ObjectIds.RepublishResponse_Encoding_DefaultBinary: RepublishResponse,
16265 ObjectIds.TransferResult_Encoding_DefaultBinary: TransferResult,
16266 ObjectIds.TransferSubscriptionsRequest_Encoding_DefaultBinary: TransferSubscriptionsRequest,
16267 ObjectIds.TransferSubscriptionsResponse_Encoding_DefaultBinary: TransferSubscriptionsResponse,
16268 ObjectIds.DeleteSubscriptionsRequest_Encoding_DefaultBinary: DeleteSubscriptionsRequest,
16269 ObjectIds.DeleteSubscriptionsResponse_Encoding_DefaultBinary: DeleteSubscriptionsResponse,
16270 ObjectIds.BuildInfo_Encoding_DefaultBinary: BuildInfo,
16271 ObjectIds.RedundantServerDataType_Encoding_DefaultBinary: RedundantServerDataType,
16272 ObjectIds.EndpointUrlListDataType_Encoding_DefaultBinary: EndpointUrlListDataType,
16273 ObjectIds.NetworkGroupDataType_Encoding_DefaultBinary: NetworkGroupDataType,
16274 ObjectIds.SamplingIntervalDiagnosticsDataType_Encoding_DefaultBinary: SamplingIntervalDiagnosticsDataType,
16275 ObjectIds.ServerDiagnosticsSummaryDataType_Encoding_DefaultBinary: ServerDiagnosticsSummaryDataType,
16276 ObjectIds.ServerStatusDataType_Encoding_DefaultBinary: ServerStatusDataType,
16277 ObjectIds.SessionDiagnosticsDataType_Encoding_DefaultBinary: SessionDiagnosticsDataType,
16278 ObjectIds.SessionSecurityDiagnosticsDataType_Encoding_DefaultBinary: SessionSecurityDiagnosticsDataType,
16279 ObjectIds.ServiceCounterDataType_Encoding_DefaultBinary: ServiceCounterDataType,
16280 ObjectIds.StatusResult_Encoding_DefaultBinary: StatusResult,
16281 ObjectIds.SubscriptionDiagnosticsDataType_Encoding_DefaultBinary: SubscriptionDiagnosticsDataType,
16282 ObjectIds.ModelChangeStructureDataType_Encoding_DefaultBinary: ModelChangeStructureDataType,
16283 ObjectIds.SemanticChangeStructureDataType_Encoding_DefaultBinary: SemanticChangeStructureDataType,
16284 ObjectIds.Range_Encoding_DefaultBinary: Range,
16285 ObjectIds.EUInformation_Encoding_DefaultBinary: EUInformation,
16286 ObjectIds.ComplexNumberType_Encoding_DefaultBinary: ComplexNumberType,
16287 ObjectIds.DoubleComplexNumberType_Encoding_DefaultBinary: DoubleComplexNumberType,
16288 ObjectIds.AxisInformation_Encoding_DefaultBinary: AxisInformation,
16289 ObjectIds.XVType_Encoding_DefaultBinary: XVType,
16290 ObjectIds.ProgramDiagnosticDataType_Encoding_DefaultBinary: ProgramDiagnosticDataType,
16291 ObjectIds.Annotation_Encoding_DefaultBinary: Annotation,
16297 Convert binary-coded ExtensionObject to a Python object. 16298 Returns an object, or None if TypeId is zero 16300 TypeId = NodeId.from_binary(data)
16301 Encoding = ord(data.read(1))
16303 if Encoding & (1 << 0):
16304 length = uabin.Primitives.Int32.unpack(data)
16308 body = data.copy(length)
16310 if TypeId.Identifier == 0:
16312 elif TypeId.Identifier
not in ExtensionClasses:
16315 e.Encoding = Encoding
16316 if body
is not None:
16317 e.Body = body.read(len(body))
16319 klass = ExtensionClasses[TypeId.Identifier]
16321 raise UaError(
"parsing ExtensionObject {0} without data".format(klass.__name__))
16322 return klass.from_binary(body)
16327 Convert Python object to binary-coded ExtensionObject. 16328 If obj is None, convert to empty ExtensionObject (TypeId = 0, no Body). 16329 Returns a binary string 16331 if isinstance(obj, ExtensionObject):
16332 return obj.to_binary()
16336 if obj
is not None:
16337 TypeId =
FourByteNodeId(getattr(ObjectIds,
"{0}_Encoding_DefaultBinary".format(obj.__class__.__name__)))
16338 Encoding |= (1 << 0)
16339 Body = obj.to_binary()
16341 packet.append(TypeId.to_binary())
16342 packet.append(uabin.Primitives.UInt8.pack(Encoding))
16344 packet.append(uabin.Primitives.Bytes.pack(Body))
16345 return b
''.join(packet)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
DataChangeNotificationsCount
DeleteMonitoredItemsCount
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
CurrentSubscriptionsCount
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
CurrentMonitoredItemsCount
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
RevisedPublishingInterval
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
RequestedMaxKeepAliveCount
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
TransferredToSameClientCount
def __init__(self, binary=None)
def __init__(self, binary=None)
MonitoringQueueOverflowCount
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
ServerSoftwareCertificates
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
RepublishMessageRequestCount
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
RevisedProcessingInterval
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
DisabledMonitoredItemCount
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
CreateMonitoredItemsCount
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
RevisedPublishingInterval
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
SelectClauseDiagnosticInfos
UnacknowledgedMessageCount
LastMethodOutputArguments
def __init__(self, binary=None)
def _binary_init(self, data)
ReleaseContinuationPoints
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
TranslateBrowsePathsToNodeIdsCount
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
ReleaseContinuationPoints
def _binary_init(self, data)
def __init__(self, binary=None)
RequestedMaxKeepAliveCount
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
MaxNotificationsPerPublish
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def extensionobject_from_binary(data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
ModifyMonitoredItemsCount
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
RequestedPublishingInterval
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
DisabledMonitoredItemCount
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
MaxNotificationsPerPublish
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
RevisedAggregateConfiguration
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
CumulatedSubscriptionCount
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
InputArgumentDiagnosticInfos
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
UseServerCapabilitiesDefaults
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
SubscriptionAcknowledgements
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
SecurityRejectedSessionCount
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
SecurityRejectedRequestsCount
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
RequestedPublishingInterval
TransferSubscriptionsCount
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def extensionobject_to_binary(obj)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
ClientSoftwareCertificates
def _binary_init(self, data)
RequestedMaxReferencesPerNode
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
TransferredToAltClientCount
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
CurrentPublishRequestsInQueue
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
MaxNotificationsPerPublish
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def _binary_init(self, data)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)
def __init__(self, binary=None)
def _binary_init(self, data)