|
@@ 11854-11888 (lines=35) @@
|
| 11851 |
|
__repr__ = __str__ |
| 11852 |
|
|
| 11853 |
|
|
| 11854 |
|
class SubscriptionAcknowledgement(FrozenClass): |
| 11855 |
|
''' |
| 11856 |
|
:ivar SubscriptionId: |
| 11857 |
|
:vartype SubscriptionId: UInt32 |
| 11858 |
|
:ivar SequenceNumber: |
| 11859 |
|
:vartype SequenceNumber: UInt32 |
| 11860 |
|
''' |
| 11861 |
|
def __init__(self, binary=None): |
| 11862 |
|
if binary is not None: |
| 11863 |
|
self._binary_init(binary) |
| 11864 |
|
self._freeze = True |
| 11865 |
|
return |
| 11866 |
|
self.SubscriptionId = 0 |
| 11867 |
|
self.SequenceNumber = 0 |
| 11868 |
|
self._freeze = True |
| 11869 |
|
|
| 11870 |
|
def to_binary(self): |
| 11871 |
|
packet = [] |
| 11872 |
|
packet.append(uatype_UInt32.pack(self.SubscriptionId)) |
| 11873 |
|
packet.append(uatype_UInt32.pack(self.SequenceNumber)) |
| 11874 |
|
return b''.join(packet) |
| 11875 |
|
|
| 11876 |
|
@staticmethod |
| 11877 |
|
def from_binary(data): |
| 11878 |
|
return SubscriptionAcknowledgement(data) |
| 11879 |
|
|
| 11880 |
|
def _binary_init(self, data): |
| 11881 |
|
self.SubscriptionId = uatype_UInt32.unpack(data.read(4))[0] |
| 11882 |
|
self.SequenceNumber = uatype_UInt32.unpack(data.read(4))[0] |
| 11883 |
|
|
| 11884 |
|
def __str__(self): |
| 11885 |
|
return 'SubscriptionAcknowledgement(' + 'SubscriptionId:' + str(self.SubscriptionId) + ', ' + \ |
| 11886 |
|
'SequenceNumber:' + str(self.SequenceNumber) + ')' |
| 11887 |
|
|
| 11888 |
|
__repr__ = __str__ |
| 11889 |
|
|
| 11890 |
|
|
| 11891 |
|
class PublishParameters(FrozenClass): |
|
@@ 13905-13939 (lines=35) @@
|
| 13902 |
|
__repr__ = __str__ |
| 13903 |
|
|
| 13904 |
|
|
| 13905 |
|
class XVType(FrozenClass): |
| 13906 |
|
''' |
| 13907 |
|
:ivar X: |
| 13908 |
|
:vartype X: Double |
| 13909 |
|
:ivar Value: |
| 13910 |
|
:vartype Value: Float |
| 13911 |
|
''' |
| 13912 |
|
def __init__(self, binary=None): |
| 13913 |
|
if binary is not None: |
| 13914 |
|
self._binary_init(binary) |
| 13915 |
|
self._freeze = True |
| 13916 |
|
return |
| 13917 |
|
self.X = 0 |
| 13918 |
|
self.Value = 0 |
| 13919 |
|
self._freeze = True |
| 13920 |
|
|
| 13921 |
|
def to_binary(self): |
| 13922 |
|
packet = [] |
| 13923 |
|
packet.append(uatype_Double.pack(self.X)) |
| 13924 |
|
packet.append(uatype_Float.pack(self.Value)) |
| 13925 |
|
return b''.join(packet) |
| 13926 |
|
|
| 13927 |
|
@staticmethod |
| 13928 |
|
def from_binary(data): |
| 13929 |
|
return XVType(data) |
| 13930 |
|
|
| 13931 |
|
def _binary_init(self, data): |
| 13932 |
|
self.X = uatype_Double.unpack(data.read(8))[0] |
| 13933 |
|
self.Value = uatype_Float.unpack(data.read(4))[0] |
| 13934 |
|
|
| 13935 |
|
def __str__(self): |
| 13936 |
|
return 'XVType(' + 'X:' + str(self.X) + ', ' + \ |
| 13937 |
|
'Value:' + str(self.Value) + ')' |
| 13938 |
|
|
| 13939 |
|
__repr__ = __str__ |
| 13940 |
|
|
| 13941 |
|
|
| 13942 |
|
class ProgramDiagnosticDataType(FrozenClass): |
|
@@ 13811-13845 (lines=35) @@
|
| 13808 |
|
__repr__ = __str__ |
| 13809 |
|
|
| 13810 |
|
|
| 13811 |
|
class DoubleComplexNumberType(FrozenClass): |
| 13812 |
|
''' |
| 13813 |
|
:ivar Real: |
| 13814 |
|
:vartype Real: Double |
| 13815 |
|
:ivar Imaginary: |
| 13816 |
|
:vartype Imaginary: Double |
| 13817 |
|
''' |
| 13818 |
|
def __init__(self, binary=None): |
| 13819 |
|
if binary is not None: |
| 13820 |
|
self._binary_init(binary) |
| 13821 |
|
self._freeze = True |
| 13822 |
|
return |
| 13823 |
|
self.Real = 0 |
| 13824 |
|
self.Imaginary = 0 |
| 13825 |
|
self._freeze = True |
| 13826 |
|
|
| 13827 |
|
def to_binary(self): |
| 13828 |
|
packet = [] |
| 13829 |
|
packet.append(uatype_Double.pack(self.Real)) |
| 13830 |
|
packet.append(uatype_Double.pack(self.Imaginary)) |
| 13831 |
|
return b''.join(packet) |
| 13832 |
|
|
| 13833 |
|
@staticmethod |
| 13834 |
|
def from_binary(data): |
| 13835 |
|
return DoubleComplexNumberType(data) |
| 13836 |
|
|
| 13837 |
|
def _binary_init(self, data): |
| 13838 |
|
self.Real = uatype_Double.unpack(data.read(8))[0] |
| 13839 |
|
self.Imaginary = uatype_Double.unpack(data.read(8))[0] |
| 13840 |
|
|
| 13841 |
|
def __str__(self): |
| 13842 |
|
return 'DoubleComplexNumberType(' + 'Real:' + str(self.Real) + ', ' + \ |
| 13843 |
|
'Imaginary:' + str(self.Imaginary) + ')' |
| 13844 |
|
|
| 13845 |
|
__repr__ = __str__ |
| 13846 |
|
|
| 13847 |
|
|
| 13848 |
|
class AxisInformation(FrozenClass): |
|
@@ 13774-13808 (lines=35) @@
|
| 13771 |
|
__repr__ = __str__ |
| 13772 |
|
|
| 13773 |
|
|
| 13774 |
|
class ComplexNumberType(FrozenClass): |
| 13775 |
|
''' |
| 13776 |
|
:ivar Real: |
| 13777 |
|
:vartype Real: Float |
| 13778 |
|
:ivar Imaginary: |
| 13779 |
|
:vartype Imaginary: Float |
| 13780 |
|
''' |
| 13781 |
|
def __init__(self, binary=None): |
| 13782 |
|
if binary is not None: |
| 13783 |
|
self._binary_init(binary) |
| 13784 |
|
self._freeze = True |
| 13785 |
|
return |
| 13786 |
|
self.Real = 0 |
| 13787 |
|
self.Imaginary = 0 |
| 13788 |
|
self._freeze = True |
| 13789 |
|
|
| 13790 |
|
def to_binary(self): |
| 13791 |
|
packet = [] |
| 13792 |
|
packet.append(uatype_Float.pack(self.Real)) |
| 13793 |
|
packet.append(uatype_Float.pack(self.Imaginary)) |
| 13794 |
|
return b''.join(packet) |
| 13795 |
|
|
| 13796 |
|
@staticmethod |
| 13797 |
|
def from_binary(data): |
| 13798 |
|
return ComplexNumberType(data) |
| 13799 |
|
|
| 13800 |
|
def _binary_init(self, data): |
| 13801 |
|
self.Real = uatype_Float.unpack(data.read(4))[0] |
| 13802 |
|
self.Imaginary = uatype_Float.unpack(data.read(4))[0] |
| 13803 |
|
|
| 13804 |
|
def __str__(self): |
| 13805 |
|
return 'ComplexNumberType(' + 'Real:' + str(self.Real) + ', ' + \ |
| 13806 |
|
'Imaginary:' + str(self.Imaginary) + ')' |
| 13807 |
|
|
| 13808 |
|
__repr__ = __str__ |
| 13809 |
|
|
| 13810 |
|
|
| 13811 |
|
class DoubleComplexNumberType(FrozenClass): |
|
@@ 13688-13722 (lines=35) @@
|
| 13685 |
|
__repr__ = __str__ |
| 13686 |
|
|
| 13687 |
|
|
| 13688 |
|
class Range(FrozenClass): |
| 13689 |
|
''' |
| 13690 |
|
:ivar Low: |
| 13691 |
|
:vartype Low: Double |
| 13692 |
|
:ivar High: |
| 13693 |
|
:vartype High: Double |
| 13694 |
|
''' |
| 13695 |
|
def __init__(self, binary=None): |
| 13696 |
|
if binary is not None: |
| 13697 |
|
self._binary_init(binary) |
| 13698 |
|
self._freeze = True |
| 13699 |
|
return |
| 13700 |
|
self.Low = 0 |
| 13701 |
|
self.High = 0 |
| 13702 |
|
self._freeze = True |
| 13703 |
|
|
| 13704 |
|
def to_binary(self): |
| 13705 |
|
packet = [] |
| 13706 |
|
packet.append(uatype_Double.pack(self.Low)) |
| 13707 |
|
packet.append(uatype_Double.pack(self.High)) |
| 13708 |
|
return b''.join(packet) |
| 13709 |
|
|
| 13710 |
|
@staticmethod |
| 13711 |
|
def from_binary(data): |
| 13712 |
|
return Range(data) |
| 13713 |
|
|
| 13714 |
|
def _binary_init(self, data): |
| 13715 |
|
self.Low = uatype_Double.unpack(data.read(8))[0] |
| 13716 |
|
self.High = uatype_Double.unpack(data.read(8))[0] |
| 13717 |
|
|
| 13718 |
|
def __str__(self): |
| 13719 |
|
return 'Range(' + 'Low:' + str(self.Low) + ', ' + \ |
| 13720 |
|
'High:' + str(self.High) + ')' |
| 13721 |
|
|
| 13722 |
|
__repr__ = __str__ |
| 13723 |
|
|
| 13724 |
|
|
| 13725 |
|
class EUInformation(FrozenClass): |
|
@@ 13323-13357 (lines=35) @@
|
| 13320 |
|
__repr__ = __str__ |
| 13321 |
|
|
| 13322 |
|
|
| 13323 |
|
class ServiceCounterDataType(FrozenClass): |
| 13324 |
|
''' |
| 13325 |
|
:ivar TotalCount: |
| 13326 |
|
:vartype TotalCount: UInt32 |
| 13327 |
|
:ivar ErrorCount: |
| 13328 |
|
:vartype ErrorCount: UInt32 |
| 13329 |
|
''' |
| 13330 |
|
def __init__(self, binary=None): |
| 13331 |
|
if binary is not None: |
| 13332 |
|
self._binary_init(binary) |
| 13333 |
|
self._freeze = True |
| 13334 |
|
return |
| 13335 |
|
self.TotalCount = 0 |
| 13336 |
|
self.ErrorCount = 0 |
| 13337 |
|
self._freeze = True |
| 13338 |
|
|
| 13339 |
|
def to_binary(self): |
| 13340 |
|
packet = [] |
| 13341 |
|
packet.append(uatype_UInt32.pack(self.TotalCount)) |
| 13342 |
|
packet.append(uatype_UInt32.pack(self.ErrorCount)) |
| 13343 |
|
return b''.join(packet) |
| 13344 |
|
|
| 13345 |
|
@staticmethod |
| 13346 |
|
def from_binary(data): |
| 13347 |
|
return ServiceCounterDataType(data) |
| 13348 |
|
|
| 13349 |
|
def _binary_init(self, data): |
| 13350 |
|
self.TotalCount = uatype_UInt32.unpack(data.read(4))[0] |
| 13351 |
|
self.ErrorCount = uatype_UInt32.unpack(data.read(4))[0] |
| 13352 |
|
|
| 13353 |
|
def __str__(self): |
| 13354 |
|
return 'ServiceCounterDataType(' + 'TotalCount:' + str(self.TotalCount) + ', ' + \ |
| 13355 |
|
'ErrorCount:' + str(self.ErrorCount) + ')' |
| 13356 |
|
|
| 13357 |
|
__repr__ = __str__ |
| 13358 |
|
|
| 13359 |
|
|
| 13360 |
|
class StatusResult(FrozenClass): |
|
@@ 12092-12126 (lines=35) @@
|
| 12089 |
|
__repr__ = __str__ |
| 12090 |
|
|
| 12091 |
|
|
| 12092 |
|
class RepublishParameters(FrozenClass): |
| 12093 |
|
''' |
| 12094 |
|
:ivar SubscriptionId: |
| 12095 |
|
:vartype SubscriptionId: UInt32 |
| 12096 |
|
:ivar RetransmitSequenceNumber: |
| 12097 |
|
:vartype RetransmitSequenceNumber: UInt32 |
| 12098 |
|
''' |
| 12099 |
|
def __init__(self, binary=None): |
| 12100 |
|
if binary is not None: |
| 12101 |
|
self._binary_init(binary) |
| 12102 |
|
self._freeze = True |
| 12103 |
|
return |
| 12104 |
|
self.SubscriptionId = 0 |
| 12105 |
|
self.RetransmitSequenceNumber = 0 |
| 12106 |
|
self._freeze = True |
| 12107 |
|
|
| 12108 |
|
def to_binary(self): |
| 12109 |
|
packet = [] |
| 12110 |
|
packet.append(uatype_UInt32.pack(self.SubscriptionId)) |
| 12111 |
|
packet.append(uatype_UInt32.pack(self.RetransmitSequenceNumber)) |
| 12112 |
|
return b''.join(packet) |
| 12113 |
|
|
| 12114 |
|
@staticmethod |
| 12115 |
|
def from_binary(data): |
| 12116 |
|
return RepublishParameters(data) |
| 12117 |
|
|
| 12118 |
|
def _binary_init(self, data): |
| 12119 |
|
self.SubscriptionId = uatype_UInt32.unpack(data.read(4))[0] |
| 12120 |
|
self.RetransmitSequenceNumber = uatype_UInt32.unpack(data.read(4))[0] |
| 12121 |
|
|
| 12122 |
|
def __str__(self): |
| 12123 |
|
return 'RepublishParameters(' + 'SubscriptionId:' + str(self.SubscriptionId) + ', ' + \ |
| 12124 |
|
'RetransmitSequenceNumber:' + str(self.RetransmitSequenceNumber) + ')' |
| 12125 |
|
|
| 12126 |
|
__repr__ = __str__ |
| 12127 |
|
|
| 12128 |
|
|
| 12129 |
|
class RepublishRequest(FrozenClass): |
|
@@ 1062-1096 (lines=35) @@
|
| 1059 |
|
__repr__ = __str__ |
| 1060 |
|
|
| 1061 |
|
|
| 1062 |
|
class TimeZoneDataType(FrozenClass): |
| 1063 |
|
''' |
| 1064 |
|
:ivar Offset: |
| 1065 |
|
:vartype Offset: Int16 |
| 1066 |
|
:ivar DaylightSavingInOffset: |
| 1067 |
|
:vartype DaylightSavingInOffset: Boolean |
| 1068 |
|
''' |
| 1069 |
|
def __init__(self, binary=None): |
| 1070 |
|
if binary is not None: |
| 1071 |
|
self._binary_init(binary) |
| 1072 |
|
self._freeze = True |
| 1073 |
|
return |
| 1074 |
|
self.Offset = 0 |
| 1075 |
|
self.DaylightSavingInOffset = True |
| 1076 |
|
self._freeze = True |
| 1077 |
|
|
| 1078 |
|
def to_binary(self): |
| 1079 |
|
packet = [] |
| 1080 |
|
packet.append(uatype_Int16.pack(self.Offset)) |
| 1081 |
|
packet.append(uatype_Boolean.pack(self.DaylightSavingInOffset)) |
| 1082 |
|
return b''.join(packet) |
| 1083 |
|
|
| 1084 |
|
@staticmethod |
| 1085 |
|
def from_binary(data): |
| 1086 |
|
return TimeZoneDataType(data) |
| 1087 |
|
|
| 1088 |
|
def _binary_init(self, data): |
| 1089 |
|
self.Offset = uatype_Int16.unpack(data.read(2))[0] |
| 1090 |
|
self.DaylightSavingInOffset = uatype_Boolean.unpack(data.read(1))[0] |
| 1091 |
|
|
| 1092 |
|
def __str__(self): |
| 1093 |
|
return 'TimeZoneDataType(' + 'Offset:' + str(self.Offset) + ', ' + \ |
| 1094 |
|
'DaylightSavingInOffset:' + str(self.DaylightSavingInOffset) + ')' |
| 1095 |
|
|
| 1096 |
|
__repr__ = __str__ |
| 1097 |
|
|
| 1098 |
|
|
| 1099 |
|
class ApplicationDescription(FrozenClass): |
|
@@ 12254-12290 (lines=37) @@
|
| 12251 |
|
__repr__ = __str__ |
| 12252 |
|
|
| 12253 |
|
|
| 12254 |
|
class TransferSubscriptionsParameters(FrozenClass): |
| 12255 |
|
''' |
| 12256 |
|
:ivar SubscriptionIds: |
| 12257 |
|
:vartype SubscriptionIds: UInt32 |
| 12258 |
|
:ivar SendInitialValues: |
| 12259 |
|
:vartype SendInitialValues: Boolean |
| 12260 |
|
''' |
| 12261 |
|
def __init__(self, binary=None): |
| 12262 |
|
if binary is not None: |
| 12263 |
|
self._binary_init(binary) |
| 12264 |
|
self._freeze = True |
| 12265 |
|
return |
| 12266 |
|
self.SubscriptionIds = [] |
| 12267 |
|
self.SendInitialValues = True |
| 12268 |
|
self._freeze = True |
| 12269 |
|
|
| 12270 |
|
def to_binary(self): |
| 12271 |
|
packet = [] |
| 12272 |
|
packet.append(uatype_Int32.pack(len(self.SubscriptionIds))) |
| 12273 |
|
for fieldname in self.SubscriptionIds: |
| 12274 |
|
packet.append(uatype_UInt32.pack(fieldname)) |
| 12275 |
|
packet.append(uatype_Boolean.pack(self.SendInitialValues)) |
| 12276 |
|
return b''.join(packet) |
| 12277 |
|
|
| 12278 |
|
@staticmethod |
| 12279 |
|
def from_binary(data): |
| 12280 |
|
return TransferSubscriptionsParameters(data) |
| 12281 |
|
|
| 12282 |
|
def _binary_init(self, data): |
| 12283 |
|
self.SubscriptionIds = unpack_uatype_array('UInt32', data) |
| 12284 |
|
self.SendInitialValues = uatype_Boolean.unpack(data.read(1))[0] |
| 12285 |
|
|
| 12286 |
|
def __str__(self): |
| 12287 |
|
return 'TransferSubscriptionsParameters(' + 'SubscriptionIds:' + str(self.SubscriptionIds) + ', ' + \ |
| 12288 |
|
'SendInitialValues:' + str(self.SendInitialValues) + ')' |
| 12289 |
|
|
| 12290 |
|
__repr__ = __str__ |
| 12291 |
|
|
| 12292 |
|
|
| 12293 |
|
class TransferSubscriptionsRequest(FrozenClass): |
|
@@ 11356-11392 (lines=37) @@
|
| 11353 |
|
__repr__ = __str__ |
| 11354 |
|
|
| 11355 |
|
|
| 11356 |
|
class SetPublishingModeParameters(FrozenClass): |
| 11357 |
|
''' |
| 11358 |
|
:ivar PublishingEnabled: |
| 11359 |
|
:vartype PublishingEnabled: Boolean |
| 11360 |
|
:ivar SubscriptionIds: |
| 11361 |
|
:vartype SubscriptionIds: UInt32 |
| 11362 |
|
''' |
| 11363 |
|
def __init__(self, binary=None): |
| 11364 |
|
if binary is not None: |
| 11365 |
|
self._binary_init(binary) |
| 11366 |
|
self._freeze = True |
| 11367 |
|
return |
| 11368 |
|
self.PublishingEnabled = True |
| 11369 |
|
self.SubscriptionIds = [] |
| 11370 |
|
self._freeze = True |
| 11371 |
|
|
| 11372 |
|
def to_binary(self): |
| 11373 |
|
packet = [] |
| 11374 |
|
packet.append(uatype_Boolean.pack(self.PublishingEnabled)) |
| 11375 |
|
packet.append(uatype_Int32.pack(len(self.SubscriptionIds))) |
| 11376 |
|
for fieldname in self.SubscriptionIds: |
| 11377 |
|
packet.append(uatype_UInt32.pack(fieldname)) |
| 11378 |
|
return b''.join(packet) |
| 11379 |
|
|
| 11380 |
|
@staticmethod |
| 11381 |
|
def from_binary(data): |
| 11382 |
|
return SetPublishingModeParameters(data) |
| 11383 |
|
|
| 11384 |
|
def _binary_init(self, data): |
| 11385 |
|
self.PublishingEnabled = uatype_Boolean.unpack(data.read(1))[0] |
| 11386 |
|
self.SubscriptionIds = unpack_uatype_array('UInt32', data) |
| 11387 |
|
|
| 11388 |
|
def __str__(self): |
| 11389 |
|
return 'SetPublishingModeParameters(' + 'PublishingEnabled:' + str(self.PublishingEnabled) + ', ' + \ |
| 11390 |
|
'SubscriptionIds:' + str(self.SubscriptionIds) + ')' |
| 11391 |
|
|
| 11392 |
|
__repr__ = __str__ |
| 11393 |
|
|
| 11394 |
|
|
| 11395 |
|
class SetPublishingModeRequest(FrozenClass): |
|
@@ 10825-10861 (lines=37) @@
|
| 10822 |
|
__repr__ = __str__ |
| 10823 |
|
|
| 10824 |
|
|
| 10825 |
|
class DeleteMonitoredItemsParameters(FrozenClass): |
| 10826 |
|
''' |
| 10827 |
|
:ivar SubscriptionId: |
| 10828 |
|
:vartype SubscriptionId: UInt32 |
| 10829 |
|
:ivar MonitoredItemIds: |
| 10830 |
|
:vartype MonitoredItemIds: UInt32 |
| 10831 |
|
''' |
| 10832 |
|
def __init__(self, binary=None): |
| 10833 |
|
if binary is not None: |
| 10834 |
|
self._binary_init(binary) |
| 10835 |
|
self._freeze = True |
| 10836 |
|
return |
| 10837 |
|
self.SubscriptionId = 0 |
| 10838 |
|
self.MonitoredItemIds = [] |
| 10839 |
|
self._freeze = True |
| 10840 |
|
|
| 10841 |
|
def to_binary(self): |
| 10842 |
|
packet = [] |
| 10843 |
|
packet.append(uatype_UInt32.pack(self.SubscriptionId)) |
| 10844 |
|
packet.append(uatype_Int32.pack(len(self.MonitoredItemIds))) |
| 10845 |
|
for fieldname in self.MonitoredItemIds: |
| 10846 |
|
packet.append(uatype_UInt32.pack(fieldname)) |
| 10847 |
|
return b''.join(packet) |
| 10848 |
|
|
| 10849 |
|
@staticmethod |
| 10850 |
|
def from_binary(data): |
| 10851 |
|
return DeleteMonitoredItemsParameters(data) |
| 10852 |
|
|
| 10853 |
|
def _binary_init(self, data): |
| 10854 |
|
self.SubscriptionId = uatype_UInt32.unpack(data.read(4))[0] |
| 10855 |
|
self.MonitoredItemIds = unpack_uatype_array('UInt32', data) |
| 10856 |
|
|
| 10857 |
|
def __str__(self): |
| 10858 |
|
return 'DeleteMonitoredItemsParameters(' + 'SubscriptionId:' + str(self.SubscriptionId) + ', ' + \ |
| 10859 |
|
'MonitoredItemIds:' + str(self.MonitoredItemIds) + ')' |
| 10860 |
|
|
| 10861 |
|
__repr__ = __str__ |
| 10862 |
|
|
| 10863 |
|
|
| 10864 |
|
class DeleteMonitoredItemsRequest(FrozenClass): |
|
@@ 8188-8224 (lines=37) @@
|
| 8185 |
|
__repr__ = __str__ |
| 8186 |
|
|
| 8187 |
|
|
| 8188 |
|
class ReadAtTimeDetails(FrozenClass): |
| 8189 |
|
''' |
| 8190 |
|
:ivar ReqTimes: |
| 8191 |
|
:vartype ReqTimes: DateTime |
| 8192 |
|
:ivar UseSimpleBounds: |
| 8193 |
|
:vartype UseSimpleBounds: Boolean |
| 8194 |
|
''' |
| 8195 |
|
def __init__(self, binary=None): |
| 8196 |
|
if binary is not None: |
| 8197 |
|
self._binary_init(binary) |
| 8198 |
|
self._freeze = True |
| 8199 |
|
return |
| 8200 |
|
self.ReqTimes = [] |
| 8201 |
|
self.UseSimpleBounds = True |
| 8202 |
|
self._freeze = True |
| 8203 |
|
|
| 8204 |
|
def to_binary(self): |
| 8205 |
|
packet = [] |
| 8206 |
|
packet.append(uatype_Int32.pack(len(self.ReqTimes))) |
| 8207 |
|
for fieldname in self.ReqTimes: |
| 8208 |
|
packet.append(pack_datetime(fieldname)) |
| 8209 |
|
packet.append(uatype_Boolean.pack(self.UseSimpleBounds)) |
| 8210 |
|
return b''.join(packet) |
| 8211 |
|
|
| 8212 |
|
@staticmethod |
| 8213 |
|
def from_binary(data): |
| 8214 |
|
return ReadAtTimeDetails(data) |
| 8215 |
|
|
| 8216 |
|
def _binary_init(self, data): |
| 8217 |
|
self.ReqTimes = unpack_uatype_array('DateTime', data) |
| 8218 |
|
self.UseSimpleBounds = uatype_Boolean.unpack(data.read(1))[0] |
| 8219 |
|
|
| 8220 |
|
def __str__(self): |
| 8221 |
|
return 'ReadAtTimeDetails(' + 'ReqTimes:' + str(self.ReqTimes) + ', ' + \ |
| 8222 |
|
'UseSimpleBounds:' + str(self.UseSimpleBounds) + ')' |
| 8223 |
|
|
| 8224 |
|
__repr__ = __str__ |
| 8225 |
|
|
| 8226 |
|
|
| 8227 |
|
class HistoryData(FrozenClass): |
|
@@ 5623-5659 (lines=37) @@
|
| 5620 |
|
__repr__ = __str__ |
| 5621 |
|
|
| 5622 |
|
|
| 5623 |
|
class BrowseNextParameters(FrozenClass): |
| 5624 |
|
''' |
| 5625 |
|
:ivar ReleaseContinuationPoints: |
| 5626 |
|
:vartype ReleaseContinuationPoints: Boolean |
| 5627 |
|
:ivar ContinuationPoints: |
| 5628 |
|
:vartype ContinuationPoints: ByteString |
| 5629 |
|
''' |
| 5630 |
|
def __init__(self, binary=None): |
| 5631 |
|
if binary is not None: |
| 5632 |
|
self._binary_init(binary) |
| 5633 |
|
self._freeze = True |
| 5634 |
|
return |
| 5635 |
|
self.ReleaseContinuationPoints = True |
| 5636 |
|
self.ContinuationPoints = [] |
| 5637 |
|
self._freeze = True |
| 5638 |
|
|
| 5639 |
|
def to_binary(self): |
| 5640 |
|
packet = [] |
| 5641 |
|
packet.append(uatype_Boolean.pack(self.ReleaseContinuationPoints)) |
| 5642 |
|
packet.append(uatype_Int32.pack(len(self.ContinuationPoints))) |
| 5643 |
|
for fieldname in self.ContinuationPoints: |
| 5644 |
|
packet.append(pack_bytes(fieldname)) |
| 5645 |
|
return b''.join(packet) |
| 5646 |
|
|
| 5647 |
|
@staticmethod |
| 5648 |
|
def from_binary(data): |
| 5649 |
|
return BrowseNextParameters(data) |
| 5650 |
|
|
| 5651 |
|
def _binary_init(self, data): |
| 5652 |
|
self.ReleaseContinuationPoints = uatype_Boolean.unpack(data.read(1))[0] |
| 5653 |
|
self.ContinuationPoints = unpack_uatype_array('ByteString', data) |
| 5654 |
|
|
| 5655 |
|
def __str__(self): |
| 5656 |
|
return 'BrowseNextParameters(' + 'ReleaseContinuationPoints:' + str(self.ReleaseContinuationPoints) + ', ' + \ |
| 5657 |
|
'ContinuationPoints:' + str(self.ContinuationPoints) + ')' |
| 5658 |
|
|
| 5659 |
|
__repr__ = __str__ |
| 5660 |
|
|
| 5661 |
|
|
| 5662 |
|
class BrowseNextRequest(FrozenClass): |
|
@@ 5854-5891 (lines=38) @@
|
| 5851 |
|
__repr__ = __str__ |
| 5852 |
|
|
| 5853 |
|
|
| 5854 |
|
class RelativePath(FrozenClass): |
| 5855 |
|
''' |
| 5856 |
|
A relative path constructed from reference types and browse names. |
| 5857 |
|
|
| 5858 |
|
:ivar Elements: |
| 5859 |
|
:vartype Elements: RelativePathElement |
| 5860 |
|
''' |
| 5861 |
|
def __init__(self, binary=None): |
| 5862 |
|
if binary is not None: |
| 5863 |
|
self._binary_init(binary) |
| 5864 |
|
self._freeze = True |
| 5865 |
|
return |
| 5866 |
|
self.Elements = [] |
| 5867 |
|
self._freeze = True |
| 5868 |
|
|
| 5869 |
|
def to_binary(self): |
| 5870 |
|
packet = [] |
| 5871 |
|
packet.append(uatype_Int32.pack(len(self.Elements))) |
| 5872 |
|
for fieldname in self.Elements: |
| 5873 |
|
packet.append(fieldname.to_binary()) |
| 5874 |
|
return b''.join(packet) |
| 5875 |
|
|
| 5876 |
|
@staticmethod |
| 5877 |
|
def from_binary(data): |
| 5878 |
|
return RelativePath(data) |
| 5879 |
|
|
| 5880 |
|
def _binary_init(self, data): |
| 5881 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 5882 |
|
array = [] |
| 5883 |
|
if length != -1: |
| 5884 |
|
for _ in range(0, length): |
| 5885 |
|
array.append(RelativePathElement.from_binary(data)) |
| 5886 |
|
self.Elements = array |
| 5887 |
|
|
| 5888 |
|
def __str__(self): |
| 5889 |
|
return 'RelativePath(' + 'Elements:' + str(self.Elements) + ')' |
| 5890 |
|
|
| 5891 |
|
__repr__ = __str__ |
| 5892 |
|
|
| 5893 |
|
|
| 5894 |
|
class BrowsePath(FrozenClass): |
|
@@ 11891-11926 (lines=36) @@
|
| 11888 |
|
__repr__ = __str__ |
| 11889 |
|
|
| 11890 |
|
|
| 11891 |
|
class PublishParameters(FrozenClass): |
| 11892 |
|
''' |
| 11893 |
|
:ivar SubscriptionAcknowledgements: |
| 11894 |
|
:vartype SubscriptionAcknowledgements: SubscriptionAcknowledgement |
| 11895 |
|
''' |
| 11896 |
|
def __init__(self, binary=None): |
| 11897 |
|
if binary is not None: |
| 11898 |
|
self._binary_init(binary) |
| 11899 |
|
self._freeze = True |
| 11900 |
|
return |
| 11901 |
|
self.SubscriptionAcknowledgements = [] |
| 11902 |
|
self._freeze = True |
| 11903 |
|
|
| 11904 |
|
def to_binary(self): |
| 11905 |
|
packet = [] |
| 11906 |
|
packet.append(uatype_Int32.pack(len(self.SubscriptionAcknowledgements))) |
| 11907 |
|
for fieldname in self.SubscriptionAcknowledgements: |
| 11908 |
|
packet.append(fieldname.to_binary()) |
| 11909 |
|
return b''.join(packet) |
| 11910 |
|
|
| 11911 |
|
@staticmethod |
| 11912 |
|
def from_binary(data): |
| 11913 |
|
return PublishParameters(data) |
| 11914 |
|
|
| 11915 |
|
def _binary_init(self, data): |
| 11916 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 11917 |
|
array = [] |
| 11918 |
|
if length != -1: |
| 11919 |
|
for _ in range(0, length): |
| 11920 |
|
array.append(SubscriptionAcknowledgement.from_binary(data)) |
| 11921 |
|
self.SubscriptionAcknowledgements = array |
| 11922 |
|
|
| 11923 |
|
def __str__(self): |
| 11924 |
|
return 'PublishParameters(' + 'SubscriptionAcknowledgements:' + str(self.SubscriptionAcknowledgements) + ')' |
| 11925 |
|
|
| 11926 |
|
__repr__ = __str__ |
| 11927 |
|
|
| 11928 |
|
|
| 11929 |
|
class PublishRequest(FrozenClass): |
|
@@ 11779-11814 (lines=36) @@
|
| 11776 |
|
__repr__ = __str__ |
| 11777 |
|
|
| 11778 |
|
|
| 11779 |
|
class HistoryEventFieldList(FrozenClass): |
| 11780 |
|
''' |
| 11781 |
|
:ivar EventFields: |
| 11782 |
|
:vartype EventFields: Variant |
| 11783 |
|
''' |
| 11784 |
|
def __init__(self, binary=None): |
| 11785 |
|
if binary is not None: |
| 11786 |
|
self._binary_init(binary) |
| 11787 |
|
self._freeze = True |
| 11788 |
|
return |
| 11789 |
|
self.EventFields = [] |
| 11790 |
|
self._freeze = True |
| 11791 |
|
|
| 11792 |
|
def to_binary(self): |
| 11793 |
|
packet = [] |
| 11794 |
|
packet.append(uatype_Int32.pack(len(self.EventFields))) |
| 11795 |
|
for fieldname in self.EventFields: |
| 11796 |
|
packet.append(fieldname.to_binary()) |
| 11797 |
|
return b''.join(packet) |
| 11798 |
|
|
| 11799 |
|
@staticmethod |
| 11800 |
|
def from_binary(data): |
| 11801 |
|
return HistoryEventFieldList(data) |
| 11802 |
|
|
| 11803 |
|
def _binary_init(self, data): |
| 11804 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 11805 |
|
array = [] |
| 11806 |
|
if length != -1: |
| 11807 |
|
for _ in range(0, length): |
| 11808 |
|
array.append(Variant.from_binary(data)) |
| 11809 |
|
self.EventFields = array |
| 11810 |
|
|
| 11811 |
|
def __str__(self): |
| 11812 |
|
return 'HistoryEventFieldList(' + 'EventFields:' + str(self.EventFields) + ')' |
| 11813 |
|
|
| 11814 |
|
__repr__ = __str__ |
| 11815 |
|
|
| 11816 |
|
|
| 11817 |
|
class StatusChangeNotification(FrozenClass): |
|
@@ 11697-11732 (lines=36) @@
|
| 11694 |
|
__repr__ = __str__ |
| 11695 |
|
|
| 11696 |
|
|
| 11697 |
|
class EventNotificationList(FrozenClass): |
| 11698 |
|
''' |
| 11699 |
|
:ivar Events: |
| 11700 |
|
:vartype Events: EventFieldList |
| 11701 |
|
''' |
| 11702 |
|
def __init__(self, binary=None): |
| 11703 |
|
if binary is not None: |
| 11704 |
|
self._binary_init(binary) |
| 11705 |
|
self._freeze = True |
| 11706 |
|
return |
| 11707 |
|
self.Events = [] |
| 11708 |
|
self._freeze = True |
| 11709 |
|
|
| 11710 |
|
def to_binary(self): |
| 11711 |
|
packet = [] |
| 11712 |
|
packet.append(uatype_Int32.pack(len(self.Events))) |
| 11713 |
|
for fieldname in self.Events: |
| 11714 |
|
packet.append(fieldname.to_binary()) |
| 11715 |
|
return b''.join(packet) |
| 11716 |
|
|
| 11717 |
|
@staticmethod |
| 11718 |
|
def from_binary(data): |
| 11719 |
|
return EventNotificationList(data) |
| 11720 |
|
|
| 11721 |
|
def _binary_init(self, data): |
| 11722 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 11723 |
|
array = [] |
| 11724 |
|
if length != -1: |
| 11725 |
|
for _ in range(0, length): |
| 11726 |
|
array.append(EventFieldList.from_binary(data)) |
| 11727 |
|
self.Events = array |
| 11728 |
|
|
| 11729 |
|
def __str__(self): |
| 11730 |
|
return 'EventNotificationList(' + 'Events:' + str(self.Events) + ')' |
| 11731 |
|
|
| 11732 |
|
__repr__ = __str__ |
| 11733 |
|
|
| 11734 |
|
|
| 11735 |
|
class EventFieldList(FrozenClass): |
|
@@ 9387-9422 (lines=36) @@
|
| 9384 |
|
__repr__ = __str__ |
| 9385 |
|
|
| 9386 |
|
|
| 9387 |
|
class CallParameters(FrozenClass): |
| 9388 |
|
''' |
| 9389 |
|
:ivar MethodsToCall: |
| 9390 |
|
:vartype MethodsToCall: CallMethodRequest |
| 9391 |
|
''' |
| 9392 |
|
def __init__(self, binary=None): |
| 9393 |
|
if binary is not None: |
| 9394 |
|
self._binary_init(binary) |
| 9395 |
|
self._freeze = True |
| 9396 |
|
return |
| 9397 |
|
self.MethodsToCall = [] |
| 9398 |
|
self._freeze = True |
| 9399 |
|
|
| 9400 |
|
def to_binary(self): |
| 9401 |
|
packet = [] |
| 9402 |
|
packet.append(uatype_Int32.pack(len(self.MethodsToCall))) |
| 9403 |
|
for fieldname in self.MethodsToCall: |
| 9404 |
|
packet.append(fieldname.to_binary()) |
| 9405 |
|
return b''.join(packet) |
| 9406 |
|
|
| 9407 |
|
@staticmethod |
| 9408 |
|
def from_binary(data): |
| 9409 |
|
return CallParameters(data) |
| 9410 |
|
|
| 9411 |
|
def _binary_init(self, data): |
| 9412 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 9413 |
|
array = [] |
| 9414 |
|
if length != -1: |
| 9415 |
|
for _ in range(0, length): |
| 9416 |
|
array.append(CallMethodRequest.from_binary(data)) |
| 9417 |
|
self.MethodsToCall = array |
| 9418 |
|
|
| 9419 |
|
def __str__(self): |
| 9420 |
|
return 'CallParameters(' + 'MethodsToCall:' + str(self.MethodsToCall) + ')' |
| 9421 |
|
|
| 9422 |
|
__repr__ = __str__ |
| 9423 |
|
|
| 9424 |
|
|
| 9425 |
|
class CallRequest(FrozenClass): |
|
@@ 9123-9158 (lines=36) @@
|
| 9120 |
|
__repr__ = __str__ |
| 9121 |
|
|
| 9122 |
|
|
| 9123 |
|
class HistoryUpdateParameters(FrozenClass): |
| 9124 |
|
''' |
| 9125 |
|
:ivar HistoryUpdateDetails: |
| 9126 |
|
:vartype HistoryUpdateDetails: ExtensionObject |
| 9127 |
|
''' |
| 9128 |
|
def __init__(self, binary=None): |
| 9129 |
|
if binary is not None: |
| 9130 |
|
self._binary_init(binary) |
| 9131 |
|
self._freeze = True |
| 9132 |
|
return |
| 9133 |
|
self.HistoryUpdateDetails = [] |
| 9134 |
|
self._freeze = True |
| 9135 |
|
|
| 9136 |
|
def to_binary(self): |
| 9137 |
|
packet = [] |
| 9138 |
|
packet.append(uatype_Int32.pack(len(self.HistoryUpdateDetails))) |
| 9139 |
|
for fieldname in self.HistoryUpdateDetails: |
| 9140 |
|
packet.append(extensionobject_to_binary(fieldname)) |
| 9141 |
|
return b''.join(packet) |
| 9142 |
|
|
| 9143 |
|
@staticmethod |
| 9144 |
|
def from_binary(data): |
| 9145 |
|
return HistoryUpdateParameters(data) |
| 9146 |
|
|
| 9147 |
|
def _binary_init(self, data): |
| 9148 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 9149 |
|
array = [] |
| 9150 |
|
if length != -1: |
| 9151 |
|
for _ in range(0, length): |
| 9152 |
|
array.append(extensionobject_from_binary(data)) |
| 9153 |
|
self.HistoryUpdateDetails = array |
| 9154 |
|
|
| 9155 |
|
def __str__(self): |
| 9156 |
|
return 'HistoryUpdateParameters(' + 'HistoryUpdateDetails:' + str(self.HistoryUpdateDetails) + ')' |
| 9157 |
|
|
| 9158 |
|
__repr__ = __str__ |
| 9159 |
|
|
| 9160 |
|
|
| 9161 |
|
class HistoryUpdateRequest(FrozenClass): |
|
@@ 8608-8643 (lines=36) @@
|
| 8605 |
|
__repr__ = __str__ |
| 8606 |
|
|
| 8607 |
|
|
| 8608 |
|
class WriteParameters(FrozenClass): |
| 8609 |
|
''' |
| 8610 |
|
:ivar NodesToWrite: |
| 8611 |
|
:vartype NodesToWrite: WriteValue |
| 8612 |
|
''' |
| 8613 |
|
def __init__(self, binary=None): |
| 8614 |
|
if binary is not None: |
| 8615 |
|
self._binary_init(binary) |
| 8616 |
|
self._freeze = True |
| 8617 |
|
return |
| 8618 |
|
self.NodesToWrite = [] |
| 8619 |
|
self._freeze = True |
| 8620 |
|
|
| 8621 |
|
def to_binary(self): |
| 8622 |
|
packet = [] |
| 8623 |
|
packet.append(uatype_Int32.pack(len(self.NodesToWrite))) |
| 8624 |
|
for fieldname in self.NodesToWrite: |
| 8625 |
|
packet.append(fieldname.to_binary()) |
| 8626 |
|
return b''.join(packet) |
| 8627 |
|
|
| 8628 |
|
@staticmethod |
| 8629 |
|
def from_binary(data): |
| 8630 |
|
return WriteParameters(data) |
| 8631 |
|
|
| 8632 |
|
def _binary_init(self, data): |
| 8633 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 8634 |
|
array = [] |
| 8635 |
|
if length != -1: |
| 8636 |
|
for _ in range(0, length): |
| 8637 |
|
array.append(WriteValue.from_binary(data)) |
| 8638 |
|
self.NodesToWrite = array |
| 8639 |
|
|
| 8640 |
|
def __str__(self): |
| 8641 |
|
return 'WriteParameters(' + 'NodesToWrite:' + str(self.NodesToWrite) + ')' |
| 8642 |
|
|
| 8643 |
|
__repr__ = __str__ |
| 8644 |
|
|
| 8645 |
|
|
| 8646 |
|
class WriteRequest(FrozenClass): |
|
@@ 8359-8394 (lines=36) @@
|
| 8356 |
|
__repr__ = __str__ |
| 8357 |
|
|
| 8358 |
|
|
| 8359 |
|
class HistoryEvent(FrozenClass): |
| 8360 |
|
''' |
| 8361 |
|
:ivar Events: |
| 8362 |
|
:vartype Events: HistoryEventFieldList |
| 8363 |
|
''' |
| 8364 |
|
def __init__(self, binary=None): |
| 8365 |
|
if binary is not None: |
| 8366 |
|
self._binary_init(binary) |
| 8367 |
|
self._freeze = True |
| 8368 |
|
return |
| 8369 |
|
self.Events = [] |
| 8370 |
|
self._freeze = True |
| 8371 |
|
|
| 8372 |
|
def to_binary(self): |
| 8373 |
|
packet = [] |
| 8374 |
|
packet.append(uatype_Int32.pack(len(self.Events))) |
| 8375 |
|
for fieldname in self.Events: |
| 8376 |
|
packet.append(fieldname.to_binary()) |
| 8377 |
|
return b''.join(packet) |
| 8378 |
|
|
| 8379 |
|
@staticmethod |
| 8380 |
|
def from_binary(data): |
| 8381 |
|
return HistoryEvent(data) |
| 8382 |
|
|
| 8383 |
|
def _binary_init(self, data): |
| 8384 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 8385 |
|
array = [] |
| 8386 |
|
if length != -1: |
| 8387 |
|
for _ in range(0, length): |
| 8388 |
|
array.append(HistoryEventFieldList.from_binary(data)) |
| 8389 |
|
self.Events = array |
| 8390 |
|
|
| 8391 |
|
def __str__(self): |
| 8392 |
|
return 'HistoryEvent(' + 'Events:' + str(self.Events) + ')' |
| 8393 |
|
|
| 8394 |
|
__repr__ = __str__ |
| 8395 |
|
|
| 8396 |
|
|
| 8397 |
|
class HistoryReadParameters(FrozenClass): |
|
@@ 8227-8262 (lines=36) @@
|
| 8224 |
|
__repr__ = __str__ |
| 8225 |
|
|
| 8226 |
|
|
| 8227 |
|
class HistoryData(FrozenClass): |
| 8228 |
|
''' |
| 8229 |
|
:ivar DataValues: |
| 8230 |
|
:vartype DataValues: DataValue |
| 8231 |
|
''' |
| 8232 |
|
def __init__(self, binary=None): |
| 8233 |
|
if binary is not None: |
| 8234 |
|
self._binary_init(binary) |
| 8235 |
|
self._freeze = True |
| 8236 |
|
return |
| 8237 |
|
self.DataValues = [] |
| 8238 |
|
self._freeze = True |
| 8239 |
|
|
| 8240 |
|
def to_binary(self): |
| 8241 |
|
packet = [] |
| 8242 |
|
packet.append(uatype_Int32.pack(len(self.DataValues))) |
| 8243 |
|
for fieldname in self.DataValues: |
| 8244 |
|
packet.append(fieldname.to_binary()) |
| 8245 |
|
return b''.join(packet) |
| 8246 |
|
|
| 8247 |
|
@staticmethod |
| 8248 |
|
def from_binary(data): |
| 8249 |
|
return HistoryData(data) |
| 8250 |
|
|
| 8251 |
|
def _binary_init(self, data): |
| 8252 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 8253 |
|
array = [] |
| 8254 |
|
if length != -1: |
| 8255 |
|
for _ in range(0, length): |
| 8256 |
|
array.append(DataValue.from_binary(data)) |
| 8257 |
|
self.DataValues = array |
| 8258 |
|
|
| 8259 |
|
def __str__(self): |
| 8260 |
|
return 'HistoryData(' + 'DataValues:' + str(self.DataValues) + ')' |
| 8261 |
|
|
| 8262 |
|
__repr__ = __str__ |
| 8263 |
|
|
| 8264 |
|
|
| 8265 |
|
class ModificationInfo(FrozenClass): |
|
@@ 6931-6966 (lines=36) @@
|
| 6928 |
|
__repr__ = __str__ |
| 6929 |
|
|
| 6930 |
|
|
| 6931 |
|
class ContentFilter(FrozenClass): |
| 6932 |
|
''' |
| 6933 |
|
:ivar Elements: |
| 6934 |
|
:vartype Elements: ContentFilterElement |
| 6935 |
|
''' |
| 6936 |
|
def __init__(self, binary=None): |
| 6937 |
|
if binary is not None: |
| 6938 |
|
self._binary_init(binary) |
| 6939 |
|
self._freeze = True |
| 6940 |
|
return |
| 6941 |
|
self.Elements = [] |
| 6942 |
|
self._freeze = True |
| 6943 |
|
|
| 6944 |
|
def to_binary(self): |
| 6945 |
|
packet = [] |
| 6946 |
|
packet.append(uatype_Int32.pack(len(self.Elements))) |
| 6947 |
|
for fieldname in self.Elements: |
| 6948 |
|
packet.append(fieldname.to_binary()) |
| 6949 |
|
return b''.join(packet) |
| 6950 |
|
|
| 6951 |
|
@staticmethod |
| 6952 |
|
def from_binary(data): |
| 6953 |
|
return ContentFilter(data) |
| 6954 |
|
|
| 6955 |
|
def _binary_init(self, data): |
| 6956 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 6957 |
|
array = [] |
| 6958 |
|
if length != -1: |
| 6959 |
|
for _ in range(0, length): |
| 6960 |
|
array.append(ContentFilterElement.from_binary(data)) |
| 6961 |
|
self.Elements = array |
| 6962 |
|
|
| 6963 |
|
def __str__(self): |
| 6964 |
|
return 'ContentFilter(' + 'Elements:' + str(self.Elements) + ')' |
| 6965 |
|
|
| 6966 |
|
__repr__ = __str__ |
| 6967 |
|
|
| 6968 |
|
|
| 6969 |
|
class ElementOperand(FrozenClass): |
|
@@ 6332-6367 (lines=36) @@
|
| 6329 |
|
__repr__ = __str__ |
| 6330 |
|
|
| 6331 |
|
|
| 6332 |
|
class UnregisterNodesParameters(FrozenClass): |
| 6333 |
|
''' |
| 6334 |
|
:ivar NodesToUnregister: |
| 6335 |
|
:vartype NodesToUnregister: NodeId |
| 6336 |
|
''' |
| 6337 |
|
def __init__(self, binary=None): |
| 6338 |
|
if binary is not None: |
| 6339 |
|
self._binary_init(binary) |
| 6340 |
|
self._freeze = True |
| 6341 |
|
return |
| 6342 |
|
self.NodesToUnregister = [] |
| 6343 |
|
self._freeze = True |
| 6344 |
|
|
| 6345 |
|
def to_binary(self): |
| 6346 |
|
packet = [] |
| 6347 |
|
packet.append(uatype_Int32.pack(len(self.NodesToUnregister))) |
| 6348 |
|
for fieldname in self.NodesToUnregister: |
| 6349 |
|
packet.append(fieldname.to_binary()) |
| 6350 |
|
return b''.join(packet) |
| 6351 |
|
|
| 6352 |
|
@staticmethod |
| 6353 |
|
def from_binary(data): |
| 6354 |
|
return UnregisterNodesParameters(data) |
| 6355 |
|
|
| 6356 |
|
def _binary_init(self, data): |
| 6357 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 6358 |
|
array = [] |
| 6359 |
|
if length != -1: |
| 6360 |
|
for _ in range(0, length): |
| 6361 |
|
array.append(NodeId.from_binary(data)) |
| 6362 |
|
self.NodesToUnregister = array |
| 6363 |
|
|
| 6364 |
|
def __str__(self): |
| 6365 |
|
return 'UnregisterNodesParameters(' + 'NodesToUnregister:' + str(self.NodesToUnregister) + ')' |
| 6366 |
|
|
| 6367 |
|
__repr__ = __str__ |
| 6368 |
|
|
| 6369 |
|
|
| 6370 |
|
class UnregisterNodesRequest(FrozenClass): |
|
@@ 6249-6284 (lines=36) @@
|
| 6246 |
|
__repr__ = __str__ |
| 6247 |
|
|
| 6248 |
|
|
| 6249 |
|
class RegisterNodesResult(FrozenClass): |
| 6250 |
|
''' |
| 6251 |
|
:ivar RegisteredNodeIds: |
| 6252 |
|
:vartype RegisteredNodeIds: NodeId |
| 6253 |
|
''' |
| 6254 |
|
def __init__(self, binary=None): |
| 6255 |
|
if binary is not None: |
| 6256 |
|
self._binary_init(binary) |
| 6257 |
|
self._freeze = True |
| 6258 |
|
return |
| 6259 |
|
self.RegisteredNodeIds = [] |
| 6260 |
|
self._freeze = True |
| 6261 |
|
|
| 6262 |
|
def to_binary(self): |
| 6263 |
|
packet = [] |
| 6264 |
|
packet.append(uatype_Int32.pack(len(self.RegisteredNodeIds))) |
| 6265 |
|
for fieldname in self.RegisteredNodeIds: |
| 6266 |
|
packet.append(fieldname.to_binary()) |
| 6267 |
|
return b''.join(packet) |
| 6268 |
|
|
| 6269 |
|
@staticmethod |
| 6270 |
|
def from_binary(data): |
| 6271 |
|
return RegisterNodesResult(data) |
| 6272 |
|
|
| 6273 |
|
def _binary_init(self, data): |
| 6274 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 6275 |
|
array = [] |
| 6276 |
|
if length != -1: |
| 6277 |
|
for _ in range(0, length): |
| 6278 |
|
array.append(NodeId.from_binary(data)) |
| 6279 |
|
self.RegisteredNodeIds = array |
| 6280 |
|
|
| 6281 |
|
def __str__(self): |
| 6282 |
|
return 'RegisterNodesResult(' + 'RegisteredNodeIds:' + str(self.RegisteredNodeIds) + ')' |
| 6283 |
|
|
| 6284 |
|
__repr__ = __str__ |
| 6285 |
|
|
| 6286 |
|
|
| 6287 |
|
class RegisterNodesResponse(FrozenClass): |
|
@@ 6166-6201 (lines=36) @@
|
| 6163 |
|
__repr__ = __str__ |
| 6164 |
|
|
| 6165 |
|
|
| 6166 |
|
class RegisterNodesParameters(FrozenClass): |
| 6167 |
|
''' |
| 6168 |
|
:ivar NodesToRegister: |
| 6169 |
|
:vartype NodesToRegister: NodeId |
| 6170 |
|
''' |
| 6171 |
|
def __init__(self, binary=None): |
| 6172 |
|
if binary is not None: |
| 6173 |
|
self._binary_init(binary) |
| 6174 |
|
self._freeze = True |
| 6175 |
|
return |
| 6176 |
|
self.NodesToRegister = [] |
| 6177 |
|
self._freeze = True |
| 6178 |
|
|
| 6179 |
|
def to_binary(self): |
| 6180 |
|
packet = [] |
| 6181 |
|
packet.append(uatype_Int32.pack(len(self.NodesToRegister))) |
| 6182 |
|
for fieldname in self.NodesToRegister: |
| 6183 |
|
packet.append(fieldname.to_binary()) |
| 6184 |
|
return b''.join(packet) |
| 6185 |
|
|
| 6186 |
|
@staticmethod |
| 6187 |
|
def from_binary(data): |
| 6188 |
|
return RegisterNodesParameters(data) |
| 6189 |
|
|
| 6190 |
|
def _binary_init(self, data): |
| 6191 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 6192 |
|
array = [] |
| 6193 |
|
if length != -1: |
| 6194 |
|
for _ in range(0, length): |
| 6195 |
|
array.append(NodeId.from_binary(data)) |
| 6196 |
|
self.NodesToRegister = array |
| 6197 |
|
|
| 6198 |
|
def __str__(self): |
| 6199 |
|
return 'RegisterNodesParameters(' + 'NodesToRegister:' + str(self.NodesToRegister) + ')' |
| 6200 |
|
|
| 6201 |
|
__repr__ = __str__ |
| 6202 |
|
|
| 6203 |
|
|
| 6204 |
|
class RegisterNodesRequest(FrozenClass): |
|
@@ 6018-6053 (lines=36) @@
|
| 6015 |
|
__repr__ = __str__ |
| 6016 |
|
|
| 6017 |
|
|
| 6018 |
|
class TranslateBrowsePathsToNodeIdsParameters(FrozenClass): |
| 6019 |
|
''' |
| 6020 |
|
:ivar BrowsePaths: |
| 6021 |
|
:vartype BrowsePaths: BrowsePath |
| 6022 |
|
''' |
| 6023 |
|
def __init__(self, binary=None): |
| 6024 |
|
if binary is not None: |
| 6025 |
|
self._binary_init(binary) |
| 6026 |
|
self._freeze = True |
| 6027 |
|
return |
| 6028 |
|
self.BrowsePaths = [] |
| 6029 |
|
self._freeze = True |
| 6030 |
|
|
| 6031 |
|
def to_binary(self): |
| 6032 |
|
packet = [] |
| 6033 |
|
packet.append(uatype_Int32.pack(len(self.BrowsePaths))) |
| 6034 |
|
for fieldname in self.BrowsePaths: |
| 6035 |
|
packet.append(fieldname.to_binary()) |
| 6036 |
|
return b''.join(packet) |
| 6037 |
|
|
| 6038 |
|
@staticmethod |
| 6039 |
|
def from_binary(data): |
| 6040 |
|
return TranslateBrowsePathsToNodeIdsParameters(data) |
| 6041 |
|
|
| 6042 |
|
def _binary_init(self, data): |
| 6043 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 6044 |
|
array = [] |
| 6045 |
|
if length != -1: |
| 6046 |
|
for _ in range(0, length): |
| 6047 |
|
array.append(BrowsePath.from_binary(data)) |
| 6048 |
|
self.BrowsePaths = array |
| 6049 |
|
|
| 6050 |
|
def __str__(self): |
| 6051 |
|
return 'TranslateBrowsePathsToNodeIdsParameters(' + 'BrowsePaths:' + str(self.BrowsePaths) + ')' |
| 6052 |
|
|
| 6053 |
|
__repr__ = __str__ |
| 6054 |
|
|
| 6055 |
|
|
| 6056 |
|
class TranslateBrowsePathsToNodeIdsRequest(FrozenClass): |
|
@@ 5055-5090 (lines=36) @@
|
| 5052 |
|
__repr__ = __str__ |
| 5053 |
|
|
| 5054 |
|
|
| 5055 |
|
class DeleteReferencesParameters(FrozenClass): |
| 5056 |
|
''' |
| 5057 |
|
:ivar ReferencesToDelete: |
| 5058 |
|
:vartype ReferencesToDelete: DeleteReferencesItem |
| 5059 |
|
''' |
| 5060 |
|
def __init__(self, binary=None): |
| 5061 |
|
if binary is not None: |
| 5062 |
|
self._binary_init(binary) |
| 5063 |
|
self._freeze = True |
| 5064 |
|
return |
| 5065 |
|
self.ReferencesToDelete = [] |
| 5066 |
|
self._freeze = True |
| 5067 |
|
|
| 5068 |
|
def to_binary(self): |
| 5069 |
|
packet = [] |
| 5070 |
|
packet.append(uatype_Int32.pack(len(self.ReferencesToDelete))) |
| 5071 |
|
for fieldname in self.ReferencesToDelete: |
| 5072 |
|
packet.append(fieldname.to_binary()) |
| 5073 |
|
return b''.join(packet) |
| 5074 |
|
|
| 5075 |
|
@staticmethod |
| 5076 |
|
def from_binary(data): |
| 5077 |
|
return DeleteReferencesParameters(data) |
| 5078 |
|
|
| 5079 |
|
def _binary_init(self, data): |
| 5080 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 5081 |
|
array = [] |
| 5082 |
|
if length != -1: |
| 5083 |
|
for _ in range(0, length): |
| 5084 |
|
array.append(DeleteReferencesItem.from_binary(data)) |
| 5085 |
|
self.ReferencesToDelete = array |
| 5086 |
|
|
| 5087 |
|
def __str__(self): |
| 5088 |
|
return 'DeleteReferencesParameters(' + 'ReferencesToDelete:' + str(self.ReferencesToDelete) + ')' |
| 5089 |
|
|
| 5090 |
|
__repr__ = __str__ |
| 5091 |
|
|
| 5092 |
|
|
| 5093 |
|
class DeleteReferencesRequest(FrozenClass): |
|
@@ 4850-4885 (lines=36) @@
|
| 4847 |
|
__repr__ = __str__ |
| 4848 |
|
|
| 4849 |
|
|
| 4850 |
|
class DeleteNodesParameters(FrozenClass): |
| 4851 |
|
''' |
| 4852 |
|
:ivar NodesToDelete: |
| 4853 |
|
:vartype NodesToDelete: DeleteNodesItem |
| 4854 |
|
''' |
| 4855 |
|
def __init__(self, binary=None): |
| 4856 |
|
if binary is not None: |
| 4857 |
|
self._binary_init(binary) |
| 4858 |
|
self._freeze = True |
| 4859 |
|
return |
| 4860 |
|
self.NodesToDelete = [] |
| 4861 |
|
self._freeze = True |
| 4862 |
|
|
| 4863 |
|
def to_binary(self): |
| 4864 |
|
packet = [] |
| 4865 |
|
packet.append(uatype_Int32.pack(len(self.NodesToDelete))) |
| 4866 |
|
for fieldname in self.NodesToDelete: |
| 4867 |
|
packet.append(fieldname.to_binary()) |
| 4868 |
|
return b''.join(packet) |
| 4869 |
|
|
| 4870 |
|
@staticmethod |
| 4871 |
|
def from_binary(data): |
| 4872 |
|
return DeleteNodesParameters(data) |
| 4873 |
|
|
| 4874 |
|
def _binary_init(self, data): |
| 4875 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 4876 |
|
array = [] |
| 4877 |
|
if length != -1: |
| 4878 |
|
for _ in range(0, length): |
| 4879 |
|
array.append(DeleteNodesItem.from_binary(data)) |
| 4880 |
|
self.NodesToDelete = array |
| 4881 |
|
|
| 4882 |
|
def __str__(self): |
| 4883 |
|
return 'DeleteNodesParameters(' + 'NodesToDelete:' + str(self.NodesToDelete) + ')' |
| 4884 |
|
|
| 4885 |
|
__repr__ = __str__ |
| 4886 |
|
|
| 4887 |
|
|
| 4888 |
|
class DeleteNodesRequest(FrozenClass): |
|
@@ 4483-4518 (lines=36) @@
|
| 4480 |
|
__repr__ = __str__ |
| 4481 |
|
|
| 4482 |
|
|
| 4483 |
|
class AddNodesParameters(FrozenClass): |
| 4484 |
|
''' |
| 4485 |
|
:ivar NodesToAdd: |
| 4486 |
|
:vartype NodesToAdd: AddNodesItem |
| 4487 |
|
''' |
| 4488 |
|
def __init__(self, binary=None): |
| 4489 |
|
if binary is not None: |
| 4490 |
|
self._binary_init(binary) |
| 4491 |
|
self._freeze = True |
| 4492 |
|
return |
| 4493 |
|
self.NodesToAdd = [] |
| 4494 |
|
self._freeze = True |
| 4495 |
|
|
| 4496 |
|
def to_binary(self): |
| 4497 |
|
packet = [] |
| 4498 |
|
packet.append(uatype_Int32.pack(len(self.NodesToAdd))) |
| 4499 |
|
for fieldname in self.NodesToAdd: |
| 4500 |
|
packet.append(fieldname.to_binary()) |
| 4501 |
|
return b''.join(packet) |
| 4502 |
|
|
| 4503 |
|
@staticmethod |
| 4504 |
|
def from_binary(data): |
| 4505 |
|
return AddNodesParameters(data) |
| 4506 |
|
|
| 4507 |
|
def _binary_init(self, data): |
| 4508 |
|
length = uatype_Int32.unpack(data.read(4))[0] |
| 4509 |
|
array = [] |
| 4510 |
|
if length != -1: |
| 4511 |
|
for _ in range(0, length): |
| 4512 |
|
array.append(AddNodesItem.from_binary(data)) |
| 4513 |
|
self.NodesToAdd = array |
| 4514 |
|
|
| 4515 |
|
def __str__(self): |
| 4516 |
|
return 'AddNodesParameters(' + 'NodesToAdd:' + str(self.NodesToAdd) + ')' |
| 4517 |
|
|
| 4518 |
|
__repr__ = __str__ |
| 4519 |
|
|
| 4520 |
|
|
| 4521 |
|
class AddNodesRequest(FrozenClass): |