|
@@ 6482-6520 (lines=39) @@
|
| 6479 |
|
__repr__ = __str__ |
| 6480 |
|
|
| 6481 |
|
|
| 6482 |
|
class RelativePath(FrozenClass): |
| 6483 |
|
''' |
| 6484 |
|
A relative path constructed from reference types and browse names. |
| 6485 |
|
|
| 6486 |
|
:ivar Elements: |
| 6487 |
|
:vartype Elements: RelativePathElement |
| 6488 |
|
''' |
| 6489 |
|
|
| 6490 |
|
ua_types = [ |
| 6491 |
|
|
| 6492 |
|
('Elements', 'ListOfRelativePathElement'), |
| 6493 |
|
] |
| 6494 |
|
|
| 6495 |
|
def __init__(self): |
| 6496 |
|
self.Elements = [] |
| 6497 |
|
self._freeze = True |
| 6498 |
|
|
| 6499 |
|
def to_binary(self): |
| 6500 |
|
packet = [] |
| 6501 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.Elements))) |
| 6502 |
|
for fieldname in self.Elements: |
| 6503 |
|
packet.append(fieldname.to_binary()) |
| 6504 |
|
return b''.join(packet) |
| 6505 |
|
|
| 6506 |
|
@staticmethod |
| 6507 |
|
def from_binary(data): |
| 6508 |
|
obj = RelativePath() |
| 6509 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 6510 |
|
array = [] |
| 6511 |
|
if length != -1: |
| 6512 |
|
for _ in range(0, length): |
| 6513 |
|
array.append(RelativePathElement.from_binary(data)) |
| 6514 |
|
obj.Elements = array |
| 6515 |
|
return obj |
| 6516 |
|
|
| 6517 |
|
def __str__(self): |
| 6518 |
|
return 'RelativePath(' + 'Elements:' + str(self.Elements) + ')' |
| 6519 |
|
|
| 6520 |
|
__repr__ = __str__ |
| 6521 |
|
|
| 6522 |
|
|
| 6523 |
|
class BrowsePath(FrozenClass): |
|
@@ 12891-12927 (lines=37) @@
|
| 12888 |
|
__repr__ = __str__ |
| 12889 |
|
|
| 12890 |
|
|
| 12891 |
|
class PublishParameters(FrozenClass): |
| 12892 |
|
''' |
| 12893 |
|
:ivar SubscriptionAcknowledgements: |
| 12894 |
|
:vartype SubscriptionAcknowledgements: SubscriptionAcknowledgement |
| 12895 |
|
''' |
| 12896 |
|
|
| 12897 |
|
ua_types = [ |
| 12898 |
|
|
| 12899 |
|
('SubscriptionAcknowledgements', 'ListOfSubscriptionAcknowledgement'), |
| 12900 |
|
] |
| 12901 |
|
|
| 12902 |
|
def __init__(self): |
| 12903 |
|
self.SubscriptionAcknowledgements = [] |
| 12904 |
|
self._freeze = True |
| 12905 |
|
|
| 12906 |
|
def to_binary(self): |
| 12907 |
|
packet = [] |
| 12908 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.SubscriptionAcknowledgements))) |
| 12909 |
|
for fieldname in self.SubscriptionAcknowledgements: |
| 12910 |
|
packet.append(fieldname.to_binary()) |
| 12911 |
|
return b''.join(packet) |
| 12912 |
|
|
| 12913 |
|
@staticmethod |
| 12914 |
|
def from_binary(data): |
| 12915 |
|
obj = PublishParameters() |
| 12916 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 12917 |
|
array = [] |
| 12918 |
|
if length != -1: |
| 12919 |
|
for _ in range(0, length): |
| 12920 |
|
array.append(SubscriptionAcknowledgement.from_binary(data)) |
| 12921 |
|
obj.SubscriptionAcknowledgements = array |
| 12922 |
|
return obj |
| 12923 |
|
|
| 12924 |
|
def __str__(self): |
| 12925 |
|
return 'PublishParameters(' + 'SubscriptionAcknowledgements:' + str(self.SubscriptionAcknowledgements) + ')' |
| 12926 |
|
|
| 12927 |
|
__repr__ = __str__ |
| 12928 |
|
|
| 12929 |
|
|
| 12930 |
|
class PublishRequest(FrozenClass): |
|
@@ 12774-12810 (lines=37) @@
|
| 12771 |
|
__repr__ = __str__ |
| 12772 |
|
|
| 12773 |
|
|
| 12774 |
|
class HistoryEventFieldList(FrozenClass): |
| 12775 |
|
''' |
| 12776 |
|
:ivar EventFields: |
| 12777 |
|
:vartype EventFields: Variant |
| 12778 |
|
''' |
| 12779 |
|
|
| 12780 |
|
ua_types = [ |
| 12781 |
|
|
| 12782 |
|
('EventFields', 'ListOfVariant'), |
| 12783 |
|
] |
| 12784 |
|
|
| 12785 |
|
def __init__(self): |
| 12786 |
|
self.EventFields = [] |
| 12787 |
|
self._freeze = True |
| 12788 |
|
|
| 12789 |
|
def to_binary(self): |
| 12790 |
|
packet = [] |
| 12791 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.EventFields))) |
| 12792 |
|
for fieldname in self.EventFields: |
| 12793 |
|
packet.append(fieldname.to_binary()) |
| 12794 |
|
return b''.join(packet) |
| 12795 |
|
|
| 12796 |
|
@staticmethod |
| 12797 |
|
def from_binary(data): |
| 12798 |
|
obj = HistoryEventFieldList() |
| 12799 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 12800 |
|
array = [] |
| 12801 |
|
if length != -1: |
| 12802 |
|
for _ in range(0, length): |
| 12803 |
|
array.append(Variant.from_binary(data)) |
| 12804 |
|
obj.EventFields = array |
| 12805 |
|
return obj |
| 12806 |
|
|
| 12807 |
|
def __str__(self): |
| 12808 |
|
return 'HistoryEventFieldList(' + 'EventFields:' + str(self.EventFields) + ')' |
| 12809 |
|
|
| 12810 |
|
__repr__ = __str__ |
| 12811 |
|
|
| 12812 |
|
|
| 12813 |
|
class StatusChangeNotification(FrozenClass): |
|
@@ 12689-12725 (lines=37) @@
|
| 12686 |
|
__repr__ = __str__ |
| 12687 |
|
|
| 12688 |
|
|
| 12689 |
|
class EventNotificationList(FrozenClass): |
| 12690 |
|
''' |
| 12691 |
|
:ivar Events: |
| 12692 |
|
:vartype Events: EventFieldList |
| 12693 |
|
''' |
| 12694 |
|
|
| 12695 |
|
ua_types = [ |
| 12696 |
|
|
| 12697 |
|
('Events', 'ListOfEventFieldList'), |
| 12698 |
|
] |
| 12699 |
|
|
| 12700 |
|
def __init__(self): |
| 12701 |
|
self.Events = [] |
| 12702 |
|
self._freeze = True |
| 12703 |
|
|
| 12704 |
|
def to_binary(self): |
| 12705 |
|
packet = [] |
| 12706 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.Events))) |
| 12707 |
|
for fieldname in self.Events: |
| 12708 |
|
packet.append(fieldname.to_binary()) |
| 12709 |
|
return b''.join(packet) |
| 12710 |
|
|
| 12711 |
|
@staticmethod |
| 12712 |
|
def from_binary(data): |
| 12713 |
|
obj = EventNotificationList() |
| 12714 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 12715 |
|
array = [] |
| 12716 |
|
if length != -1: |
| 12717 |
|
for _ in range(0, length): |
| 12718 |
|
array.append(EventFieldList.from_binary(data)) |
| 12719 |
|
obj.Events = array |
| 12720 |
|
return obj |
| 12721 |
|
|
| 12722 |
|
def __str__(self): |
| 12723 |
|
return 'EventNotificationList(' + 'Events:' + str(self.Events) + ')' |
| 12724 |
|
|
| 12725 |
|
__repr__ = __str__ |
| 12726 |
|
|
| 12727 |
|
|
| 12728 |
|
class EventFieldList(FrozenClass): |
|
@@ 10233-10269 (lines=37) @@
|
| 10230 |
|
__repr__ = __str__ |
| 10231 |
|
|
| 10232 |
|
|
| 10233 |
|
class CallParameters(FrozenClass): |
| 10234 |
|
''' |
| 10235 |
|
:ivar MethodsToCall: |
| 10236 |
|
:vartype MethodsToCall: CallMethodRequest |
| 10237 |
|
''' |
| 10238 |
|
|
| 10239 |
|
ua_types = [ |
| 10240 |
|
|
| 10241 |
|
('MethodsToCall', 'ListOfCallMethodRequest'), |
| 10242 |
|
] |
| 10243 |
|
|
| 10244 |
|
def __init__(self): |
| 10245 |
|
self.MethodsToCall = [] |
| 10246 |
|
self._freeze = True |
| 10247 |
|
|
| 10248 |
|
def to_binary(self): |
| 10249 |
|
packet = [] |
| 10250 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.MethodsToCall))) |
| 10251 |
|
for fieldname in self.MethodsToCall: |
| 10252 |
|
packet.append(fieldname.to_binary()) |
| 10253 |
|
return b''.join(packet) |
| 10254 |
|
|
| 10255 |
|
@staticmethod |
| 10256 |
|
def from_binary(data): |
| 10257 |
|
obj = CallParameters() |
| 10258 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 10259 |
|
array = [] |
| 10260 |
|
if length != -1: |
| 10261 |
|
for _ in range(0, length): |
| 10262 |
|
array.append(CallMethodRequest.from_binary(data)) |
| 10263 |
|
obj.MethodsToCall = array |
| 10264 |
|
return obj |
| 10265 |
|
|
| 10266 |
|
def __str__(self): |
| 10267 |
|
return 'CallParameters(' + 'MethodsToCall:' + str(self.MethodsToCall) + ')' |
| 10268 |
|
|
| 10269 |
|
__repr__ = __str__ |
| 10270 |
|
|
| 10271 |
|
|
| 10272 |
|
class CallRequest(FrozenClass): |
|
@@ 9409-9445 (lines=37) @@
|
| 9406 |
|
__repr__ = __str__ |
| 9407 |
|
|
| 9408 |
|
|
| 9409 |
|
class WriteParameters(FrozenClass): |
| 9410 |
|
''' |
| 9411 |
|
:ivar NodesToWrite: |
| 9412 |
|
:vartype NodesToWrite: WriteValue |
| 9413 |
|
''' |
| 9414 |
|
|
| 9415 |
|
ua_types = [ |
| 9416 |
|
|
| 9417 |
|
('NodesToWrite', 'ListOfWriteValue'), |
| 9418 |
|
] |
| 9419 |
|
|
| 9420 |
|
def __init__(self): |
| 9421 |
|
self.NodesToWrite = [] |
| 9422 |
|
self._freeze = True |
| 9423 |
|
|
| 9424 |
|
def to_binary(self): |
| 9425 |
|
packet = [] |
| 9426 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.NodesToWrite))) |
| 9427 |
|
for fieldname in self.NodesToWrite: |
| 9428 |
|
packet.append(fieldname.to_binary()) |
| 9429 |
|
return b''.join(packet) |
| 9430 |
|
|
| 9431 |
|
@staticmethod |
| 9432 |
|
def from_binary(data): |
| 9433 |
|
obj = WriteParameters() |
| 9434 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 9435 |
|
array = [] |
| 9436 |
|
if length != -1: |
| 9437 |
|
for _ in range(0, length): |
| 9438 |
|
array.append(WriteValue.from_binary(data)) |
| 9439 |
|
obj.NodesToWrite = array |
| 9440 |
|
return obj |
| 9441 |
|
|
| 9442 |
|
def __str__(self): |
| 9443 |
|
return 'WriteParameters(' + 'NodesToWrite:' + str(self.NodesToWrite) + ')' |
| 9444 |
|
|
| 9445 |
|
__repr__ = __str__ |
| 9446 |
|
|
| 9447 |
|
|
| 9448 |
|
class WriteRequest(FrozenClass): |
|
@@ 9144-9180 (lines=37) @@
|
| 9141 |
|
__repr__ = __str__ |
| 9142 |
|
|
| 9143 |
|
|
| 9144 |
|
class HistoryEvent(FrozenClass): |
| 9145 |
|
''' |
| 9146 |
|
:ivar Events: |
| 9147 |
|
:vartype Events: HistoryEventFieldList |
| 9148 |
|
''' |
| 9149 |
|
|
| 9150 |
|
ua_types = [ |
| 9151 |
|
|
| 9152 |
|
('Events', 'ListOfHistoryEventFieldList'), |
| 9153 |
|
] |
| 9154 |
|
|
| 9155 |
|
def __init__(self): |
| 9156 |
|
self.Events = [] |
| 9157 |
|
self._freeze = True |
| 9158 |
|
|
| 9159 |
|
def to_binary(self): |
| 9160 |
|
packet = [] |
| 9161 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.Events))) |
| 9162 |
|
for fieldname in self.Events: |
| 9163 |
|
packet.append(fieldname.to_binary()) |
| 9164 |
|
return b''.join(packet) |
| 9165 |
|
|
| 9166 |
|
@staticmethod |
| 9167 |
|
def from_binary(data): |
| 9168 |
|
obj = HistoryEvent() |
| 9169 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 9170 |
|
array = [] |
| 9171 |
|
if length != -1: |
| 9172 |
|
for _ in range(0, length): |
| 9173 |
|
array.append(HistoryEventFieldList.from_binary(data)) |
| 9174 |
|
obj.Events = array |
| 9175 |
|
return obj |
| 9176 |
|
|
| 9177 |
|
def __str__(self): |
| 9178 |
|
return 'HistoryEvent(' + 'Events:' + str(self.Events) + ')' |
| 9179 |
|
|
| 9180 |
|
__repr__ = __str__ |
| 9181 |
|
|
| 9182 |
|
|
| 9183 |
|
class HistoryReadParameters(FrozenClass): |
|
@@ 9006-9042 (lines=37) @@
|
| 9003 |
|
__repr__ = __str__ |
| 9004 |
|
|
| 9005 |
|
|
| 9006 |
|
class HistoryData(FrozenClass): |
| 9007 |
|
''' |
| 9008 |
|
:ivar DataValues: |
| 9009 |
|
:vartype DataValues: DataValue |
| 9010 |
|
''' |
| 9011 |
|
|
| 9012 |
|
ua_types = [ |
| 9013 |
|
|
| 9014 |
|
('DataValues', 'ListOfDataValue'), |
| 9015 |
|
] |
| 9016 |
|
|
| 9017 |
|
def __init__(self): |
| 9018 |
|
self.DataValues = [] |
| 9019 |
|
self._freeze = True |
| 9020 |
|
|
| 9021 |
|
def to_binary(self): |
| 9022 |
|
packet = [] |
| 9023 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.DataValues))) |
| 9024 |
|
for fieldname in self.DataValues: |
| 9025 |
|
packet.append(fieldname.to_binary()) |
| 9026 |
|
return b''.join(packet) |
| 9027 |
|
|
| 9028 |
|
@staticmethod |
| 9029 |
|
def from_binary(data): |
| 9030 |
|
obj = HistoryData() |
| 9031 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 9032 |
|
array = [] |
| 9033 |
|
if length != -1: |
| 9034 |
|
for _ in range(0, length): |
| 9035 |
|
array.append(DataValue.from_binary(data)) |
| 9036 |
|
obj.DataValues = array |
| 9037 |
|
return obj |
| 9038 |
|
|
| 9039 |
|
def __str__(self): |
| 9040 |
|
return 'HistoryData(' + 'DataValues:' + str(self.DataValues) + ')' |
| 9041 |
|
|
| 9042 |
|
__repr__ = __str__ |
| 9043 |
|
|
| 9044 |
|
|
| 9045 |
|
class ModificationInfo(FrozenClass): |
|
@@ 7628-7664 (lines=37) @@
|
| 7625 |
|
__repr__ = __str__ |
| 7626 |
|
|
| 7627 |
|
|
| 7628 |
|
class ContentFilter(FrozenClass): |
| 7629 |
|
''' |
| 7630 |
|
:ivar Elements: |
| 7631 |
|
:vartype Elements: ContentFilterElement |
| 7632 |
|
''' |
| 7633 |
|
|
| 7634 |
|
ua_types = [ |
| 7635 |
|
|
| 7636 |
|
('Elements', 'ListOfContentFilterElement'), |
| 7637 |
|
] |
| 7638 |
|
|
| 7639 |
|
def __init__(self): |
| 7640 |
|
self.Elements = [] |
| 7641 |
|
self._freeze = True |
| 7642 |
|
|
| 7643 |
|
def to_binary(self): |
| 7644 |
|
packet = [] |
| 7645 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.Elements))) |
| 7646 |
|
for fieldname in self.Elements: |
| 7647 |
|
packet.append(fieldname.to_binary()) |
| 7648 |
|
return b''.join(packet) |
| 7649 |
|
|
| 7650 |
|
@staticmethod |
| 7651 |
|
def from_binary(data): |
| 7652 |
|
obj = ContentFilter() |
| 7653 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 7654 |
|
array = [] |
| 7655 |
|
if length != -1: |
| 7656 |
|
for _ in range(0, length): |
| 7657 |
|
array.append(ContentFilterElement.from_binary(data)) |
| 7658 |
|
obj.Elements = array |
| 7659 |
|
return obj |
| 7660 |
|
|
| 7661 |
|
def __str__(self): |
| 7662 |
|
return 'ContentFilter(' + 'Elements:' + str(self.Elements) + ')' |
| 7663 |
|
|
| 7664 |
|
__repr__ = __str__ |
| 7665 |
|
|
| 7666 |
|
|
| 7667 |
|
class ElementOperand(FrozenClass): |
|
@@ 6983-7019 (lines=37) @@
|
| 6980 |
|
__repr__ = __str__ |
| 6981 |
|
|
| 6982 |
|
|
| 6983 |
|
class UnregisterNodesParameters(FrozenClass): |
| 6984 |
|
''' |
| 6985 |
|
:ivar NodesToUnregister: |
| 6986 |
|
:vartype NodesToUnregister: NodeId |
| 6987 |
|
''' |
| 6988 |
|
|
| 6989 |
|
ua_types = [ |
| 6990 |
|
|
| 6991 |
|
('NodesToUnregister', 'ListOfNodeId'), |
| 6992 |
|
] |
| 6993 |
|
|
| 6994 |
|
def __init__(self): |
| 6995 |
|
self.NodesToUnregister = [] |
| 6996 |
|
self._freeze = True |
| 6997 |
|
|
| 6998 |
|
def to_binary(self): |
| 6999 |
|
packet = [] |
| 7000 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.NodesToUnregister))) |
| 7001 |
|
for fieldname in self.NodesToUnregister: |
| 7002 |
|
packet.append(fieldname.to_binary()) |
| 7003 |
|
return b''.join(packet) |
| 7004 |
|
|
| 7005 |
|
@staticmethod |
| 7006 |
|
def from_binary(data): |
| 7007 |
|
obj = UnregisterNodesParameters() |
| 7008 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 7009 |
|
array = [] |
| 7010 |
|
if length != -1: |
| 7011 |
|
for _ in range(0, length): |
| 7012 |
|
array.append(NodeId.from_binary(data)) |
| 7013 |
|
obj.NodesToUnregister = array |
| 7014 |
|
return obj |
| 7015 |
|
|
| 7016 |
|
def __str__(self): |
| 7017 |
|
return 'UnregisterNodesParameters(' + 'NodesToUnregister:' + str(self.NodesToUnregister) + ')' |
| 7018 |
|
|
| 7019 |
|
__repr__ = __str__ |
| 7020 |
|
|
| 7021 |
|
|
| 7022 |
|
class UnregisterNodesRequest(FrozenClass): |
|
@@ 6896-6932 (lines=37) @@
|
| 6893 |
|
__repr__ = __str__ |
| 6894 |
|
|
| 6895 |
|
|
| 6896 |
|
class RegisterNodesResult(FrozenClass): |
| 6897 |
|
''' |
| 6898 |
|
:ivar RegisteredNodeIds: |
| 6899 |
|
:vartype RegisteredNodeIds: NodeId |
| 6900 |
|
''' |
| 6901 |
|
|
| 6902 |
|
ua_types = [ |
| 6903 |
|
|
| 6904 |
|
('RegisteredNodeIds', 'ListOfNodeId'), |
| 6905 |
|
] |
| 6906 |
|
|
| 6907 |
|
def __init__(self): |
| 6908 |
|
self.RegisteredNodeIds = [] |
| 6909 |
|
self._freeze = True |
| 6910 |
|
|
| 6911 |
|
def to_binary(self): |
| 6912 |
|
packet = [] |
| 6913 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RegisteredNodeIds))) |
| 6914 |
|
for fieldname in self.RegisteredNodeIds: |
| 6915 |
|
packet.append(fieldname.to_binary()) |
| 6916 |
|
return b''.join(packet) |
| 6917 |
|
|
| 6918 |
|
@staticmethod |
| 6919 |
|
def from_binary(data): |
| 6920 |
|
obj = RegisterNodesResult() |
| 6921 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 6922 |
|
array = [] |
| 6923 |
|
if length != -1: |
| 6924 |
|
for _ in range(0, length): |
| 6925 |
|
array.append(NodeId.from_binary(data)) |
| 6926 |
|
obj.RegisteredNodeIds = array |
| 6927 |
|
return obj |
| 6928 |
|
|
| 6929 |
|
def __str__(self): |
| 6930 |
|
return 'RegisterNodesResult(' + 'RegisteredNodeIds:' + str(self.RegisteredNodeIds) + ')' |
| 6931 |
|
|
| 6932 |
|
__repr__ = __str__ |
| 6933 |
|
|
| 6934 |
|
|
| 6935 |
|
class RegisterNodesResponse(FrozenClass): |
|
@@ 6809-6845 (lines=37) @@
|
| 6806 |
|
__repr__ = __str__ |
| 6807 |
|
|
| 6808 |
|
|
| 6809 |
|
class RegisterNodesParameters(FrozenClass): |
| 6810 |
|
''' |
| 6811 |
|
:ivar NodesToRegister: |
| 6812 |
|
:vartype NodesToRegister: NodeId |
| 6813 |
|
''' |
| 6814 |
|
|
| 6815 |
|
ua_types = [ |
| 6816 |
|
|
| 6817 |
|
('NodesToRegister', 'ListOfNodeId'), |
| 6818 |
|
] |
| 6819 |
|
|
| 6820 |
|
def __init__(self): |
| 6821 |
|
self.NodesToRegister = [] |
| 6822 |
|
self._freeze = True |
| 6823 |
|
|
| 6824 |
|
def to_binary(self): |
| 6825 |
|
packet = [] |
| 6826 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.NodesToRegister))) |
| 6827 |
|
for fieldname in self.NodesToRegister: |
| 6828 |
|
packet.append(fieldname.to_binary()) |
| 6829 |
|
return b''.join(packet) |
| 6830 |
|
|
| 6831 |
|
@staticmethod |
| 6832 |
|
def from_binary(data): |
| 6833 |
|
obj = RegisterNodesParameters() |
| 6834 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 6835 |
|
array = [] |
| 6836 |
|
if length != -1: |
| 6837 |
|
for _ in range(0, length): |
| 6838 |
|
array.append(NodeId.from_binary(data)) |
| 6839 |
|
obj.NodesToRegister = array |
| 6840 |
|
return obj |
| 6841 |
|
|
| 6842 |
|
def __str__(self): |
| 6843 |
|
return 'RegisterNodesParameters(' + 'NodesToRegister:' + str(self.NodesToRegister) + ')' |
| 6844 |
|
|
| 6845 |
|
__repr__ = __str__ |
| 6846 |
|
|
| 6847 |
|
|
| 6848 |
|
class RegisterNodesRequest(FrozenClass): |
|
@@ 6653-6689 (lines=37) @@
|
| 6650 |
|
__repr__ = __str__ |
| 6651 |
|
|
| 6652 |
|
|
| 6653 |
|
class TranslateBrowsePathsToNodeIdsParameters(FrozenClass): |
| 6654 |
|
''' |
| 6655 |
|
:ivar BrowsePaths: |
| 6656 |
|
:vartype BrowsePaths: BrowsePath |
| 6657 |
|
''' |
| 6658 |
|
|
| 6659 |
|
ua_types = [ |
| 6660 |
|
|
| 6661 |
|
('BrowsePaths', 'ListOfBrowsePath'), |
| 6662 |
|
] |
| 6663 |
|
|
| 6664 |
|
def __init__(self): |
| 6665 |
|
self.BrowsePaths = [] |
| 6666 |
|
self._freeze = True |
| 6667 |
|
|
| 6668 |
|
def to_binary(self): |
| 6669 |
|
packet = [] |
| 6670 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.BrowsePaths))) |
| 6671 |
|
for fieldname in self.BrowsePaths: |
| 6672 |
|
packet.append(fieldname.to_binary()) |
| 6673 |
|
return b''.join(packet) |
| 6674 |
|
|
| 6675 |
|
@staticmethod |
| 6676 |
|
def from_binary(data): |
| 6677 |
|
obj = TranslateBrowsePathsToNodeIdsParameters() |
| 6678 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 6679 |
|
array = [] |
| 6680 |
|
if length != -1: |
| 6681 |
|
for _ in range(0, length): |
| 6682 |
|
array.append(BrowsePath.from_binary(data)) |
| 6683 |
|
obj.BrowsePaths = array |
| 6684 |
|
return obj |
| 6685 |
|
|
| 6686 |
|
def __str__(self): |
| 6687 |
|
return 'TranslateBrowsePathsToNodeIdsParameters(' + 'BrowsePaths:' + str(self.BrowsePaths) + ')' |
| 6688 |
|
|
| 6689 |
|
__repr__ = __str__ |
| 6690 |
|
|
| 6691 |
|
|
| 6692 |
|
class TranslateBrowsePathsToNodeIdsRequest(FrozenClass): |
|
@@ 5631-5667 (lines=37) @@
|
| 5628 |
|
__repr__ = __str__ |
| 5629 |
|
|
| 5630 |
|
|
| 5631 |
|
class DeleteReferencesParameters(FrozenClass): |
| 5632 |
|
''' |
| 5633 |
|
:ivar ReferencesToDelete: |
| 5634 |
|
:vartype ReferencesToDelete: DeleteReferencesItem |
| 5635 |
|
''' |
| 5636 |
|
|
| 5637 |
|
ua_types = [ |
| 5638 |
|
|
| 5639 |
|
('ReferencesToDelete', 'ListOfDeleteReferencesItem'), |
| 5640 |
|
] |
| 5641 |
|
|
| 5642 |
|
def __init__(self): |
| 5643 |
|
self.ReferencesToDelete = [] |
| 5644 |
|
self._freeze = True |
| 5645 |
|
|
| 5646 |
|
def to_binary(self): |
| 5647 |
|
packet = [] |
| 5648 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.ReferencesToDelete))) |
| 5649 |
|
for fieldname in self.ReferencesToDelete: |
| 5650 |
|
packet.append(fieldname.to_binary()) |
| 5651 |
|
return b''.join(packet) |
| 5652 |
|
|
| 5653 |
|
@staticmethod |
| 5654 |
|
def from_binary(data): |
| 5655 |
|
obj = DeleteReferencesParameters() |
| 5656 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 5657 |
|
array = [] |
| 5658 |
|
if length != -1: |
| 5659 |
|
for _ in range(0, length): |
| 5660 |
|
array.append(DeleteReferencesItem.from_binary(data)) |
| 5661 |
|
obj.ReferencesToDelete = array |
| 5662 |
|
return obj |
| 5663 |
|
|
| 5664 |
|
def __str__(self): |
| 5665 |
|
return 'DeleteReferencesParameters(' + 'ReferencesToDelete:' + str(self.ReferencesToDelete) + ')' |
| 5666 |
|
|
| 5667 |
|
__repr__ = __str__ |
| 5668 |
|
|
| 5669 |
|
|
| 5670 |
|
class DeleteReferencesRequest(FrozenClass): |
|
@@ 5413-5449 (lines=37) @@
|
| 5410 |
|
__repr__ = __str__ |
| 5411 |
|
|
| 5412 |
|
|
| 5413 |
|
class DeleteNodesParameters(FrozenClass): |
| 5414 |
|
''' |
| 5415 |
|
:ivar NodesToDelete: |
| 5416 |
|
:vartype NodesToDelete: DeleteNodesItem |
| 5417 |
|
''' |
| 5418 |
|
|
| 5419 |
|
ua_types = [ |
| 5420 |
|
|
| 5421 |
|
('NodesToDelete', 'ListOfDeleteNodesItem'), |
| 5422 |
|
] |
| 5423 |
|
|
| 5424 |
|
def __init__(self): |
| 5425 |
|
self.NodesToDelete = [] |
| 5426 |
|
self._freeze = True |
| 5427 |
|
|
| 5428 |
|
def to_binary(self): |
| 5429 |
|
packet = [] |
| 5430 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.NodesToDelete))) |
| 5431 |
|
for fieldname in self.NodesToDelete: |
| 5432 |
|
packet.append(fieldname.to_binary()) |
| 5433 |
|
return b''.join(packet) |
| 5434 |
|
|
| 5435 |
|
@staticmethod |
| 5436 |
|
def from_binary(data): |
| 5437 |
|
obj = DeleteNodesParameters() |
| 5438 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 5439 |
|
array = [] |
| 5440 |
|
if length != -1: |
| 5441 |
|
for _ in range(0, length): |
| 5442 |
|
array.append(DeleteNodesItem.from_binary(data)) |
| 5443 |
|
obj.NodesToDelete = array |
| 5444 |
|
return obj |
| 5445 |
|
|
| 5446 |
|
def __str__(self): |
| 5447 |
|
return 'DeleteNodesParameters(' + 'NodesToDelete:' + str(self.NodesToDelete) + ')' |
| 5448 |
|
|
| 5449 |
|
__repr__ = __str__ |
| 5450 |
|
|
| 5451 |
|
|
| 5452 |
|
class DeleteNodesRequest(FrozenClass): |
|
@@ 5216-5252 (lines=37) @@
|
| 5213 |
|
__repr__ = __str__ |
| 5214 |
|
|
| 5215 |
|
|
| 5216 |
|
class AddReferencesParameters(FrozenClass): |
| 5217 |
|
''' |
| 5218 |
|
:ivar ReferencesToAdd: |
| 5219 |
|
:vartype ReferencesToAdd: AddReferencesItem |
| 5220 |
|
''' |
| 5221 |
|
|
| 5222 |
|
ua_types = [ |
| 5223 |
|
|
| 5224 |
|
('ReferencesToAdd', 'ListOfAddReferencesItem'), |
| 5225 |
|
] |
| 5226 |
|
|
| 5227 |
|
def __init__(self): |
| 5228 |
|
self.ReferencesToAdd = [] |
| 5229 |
|
self._freeze = True |
| 5230 |
|
|
| 5231 |
|
def to_binary(self): |
| 5232 |
|
packet = [] |
| 5233 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.ReferencesToAdd))) |
| 5234 |
|
for fieldname in self.ReferencesToAdd: |
| 5235 |
|
packet.append(fieldname.to_binary()) |
| 5236 |
|
return b''.join(packet) |
| 5237 |
|
|
| 5238 |
|
@staticmethod |
| 5239 |
|
def from_binary(data): |
| 5240 |
|
obj = AddReferencesParameters() |
| 5241 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 5242 |
|
array = [] |
| 5243 |
|
if length != -1: |
| 5244 |
|
for _ in range(0, length): |
| 5245 |
|
array.append(AddReferencesItem.from_binary(data)) |
| 5246 |
|
obj.ReferencesToAdd = array |
| 5247 |
|
return obj |
| 5248 |
|
|
| 5249 |
|
def __str__(self): |
| 5250 |
|
return 'AddReferencesParameters(' + 'ReferencesToAdd:' + str(self.ReferencesToAdd) + ')' |
| 5251 |
|
|
| 5252 |
|
__repr__ = __str__ |
| 5253 |
|
|
| 5254 |
|
|
| 5255 |
|
class AddReferencesRequest(FrozenClass): |
|
@@ 4991-5027 (lines=37) @@
|
| 4988 |
|
__repr__ = __str__ |
| 4989 |
|
|
| 4990 |
|
|
| 4991 |
|
class AddNodesParameters(FrozenClass): |
| 4992 |
|
''' |
| 4993 |
|
:ivar NodesToAdd: |
| 4994 |
|
:vartype NodesToAdd: AddNodesItem |
| 4995 |
|
''' |
| 4996 |
|
|
| 4997 |
|
ua_types = [ |
| 4998 |
|
|
| 4999 |
|
('NodesToAdd', 'ListOfAddNodesItem'), |
| 5000 |
|
] |
| 5001 |
|
|
| 5002 |
|
def __init__(self): |
| 5003 |
|
self.NodesToAdd = [] |
| 5004 |
|
self._freeze = True |
| 5005 |
|
|
| 5006 |
|
def to_binary(self): |
| 5007 |
|
packet = [] |
| 5008 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.NodesToAdd))) |
| 5009 |
|
for fieldname in self.NodesToAdd: |
| 5010 |
|
packet.append(fieldname.to_binary()) |
| 5011 |
|
return b''.join(packet) |
| 5012 |
|
|
| 5013 |
|
@staticmethod |
| 5014 |
|
def from_binary(data): |
| 5015 |
|
obj = AddNodesParameters() |
| 5016 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 5017 |
|
array = [] |
| 5018 |
|
if length != -1: |
| 5019 |
|
for _ in range(0, length): |
| 5020 |
|
array.append(AddNodesItem.from_binary(data)) |
| 5021 |
|
obj.NodesToAdd = array |
| 5022 |
|
return obj |
| 5023 |
|
|
| 5024 |
|
def __str__(self): |
| 5025 |
|
return 'AddNodesParameters(' + 'NodesToAdd:' + str(self.NodesToAdd) + ')' |
| 5026 |
|
|
| 5027 |
|
__repr__ = __str__ |
| 5028 |
|
|
| 5029 |
|
|
| 5030 |
|
class AddNodesRequest(FrozenClass): |
|
@@ 9954-9990 (lines=37) @@
|
| 9951 |
|
__repr__ = __str__ |
| 9952 |
|
|
| 9953 |
|
|
| 9954 |
|
class HistoryUpdateParameters(FrozenClass): |
| 9955 |
|
''' |
| 9956 |
|
:ivar HistoryUpdateDetails: |
| 9957 |
|
:vartype HistoryUpdateDetails: ExtensionObject |
| 9958 |
|
''' |
| 9959 |
|
|
| 9960 |
|
ua_types = [ |
| 9961 |
|
|
| 9962 |
|
('HistoryUpdateDetails', 'ListOfExtensionObject'), |
| 9963 |
|
] |
| 9964 |
|
|
| 9965 |
|
def __init__(self): |
| 9966 |
|
self.HistoryUpdateDetails = [] |
| 9967 |
|
self._freeze = True |
| 9968 |
|
|
| 9969 |
|
def to_binary(self): |
| 9970 |
|
packet = [] |
| 9971 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.HistoryUpdateDetails))) |
| 9972 |
|
for fieldname in self.HistoryUpdateDetails: |
| 9973 |
|
packet.append(uabin.extensionobject_to_binary(fieldname)) |
| 9974 |
|
return b''.join(packet) |
| 9975 |
|
|
| 9976 |
|
@staticmethod |
| 9977 |
|
def from_binary(data): |
| 9978 |
|
obj = HistoryUpdateParameters() |
| 9979 |
|
length = uabin.Primitives.Int32.unpack(data) |
| 9980 |
|
array = [] |
| 9981 |
|
if length != -1: |
| 9982 |
|
for _ in range(0, length): |
| 9983 |
|
array.append(uabin.extensionobject_from_binary(data)) |
| 9984 |
|
obj.HistoryUpdateDetails = array |
| 9985 |
|
return obj |
| 9986 |
|
|
| 9987 |
|
def __str__(self): |
| 9988 |
|
return 'HistoryUpdateParameters(' + 'HistoryUpdateDetails:' + str(self.HistoryUpdateDetails) + ')' |
| 9989 |
|
|
| 9990 |
|
__repr__ = __str__ |
| 9991 |
|
|
| 9992 |
|
|
| 9993 |
|
class HistoryUpdateRequest(FrozenClass): |