|
@@ 2751-2790 (lines=40) @@
|
| 2748 |
|
__repr__ = __str__ |
| 2749 |
|
|
| 2750 |
|
|
| 2751 |
|
class NodeAttributes(FrozenClass): |
| 2752 |
|
''' |
| 2753 |
|
The base attributes for all nodes. |
| 2754 |
|
|
| 2755 |
|
:ivar SpecifiedAttributes: |
| 2756 |
|
:vartype SpecifiedAttributes: UInt32 |
| 2757 |
|
:ivar DisplayName: |
| 2758 |
|
:vartype DisplayName: LocalizedText |
| 2759 |
|
:ivar Description: |
| 2760 |
|
:vartype Description: LocalizedText |
| 2761 |
|
:ivar WriteMask: |
| 2762 |
|
:vartype WriteMask: UInt32 |
| 2763 |
|
:ivar UserWriteMask: |
| 2764 |
|
:vartype UserWriteMask: UInt32 |
| 2765 |
|
''' |
| 2766 |
|
|
| 2767 |
|
ua_types = [ |
| 2768 |
|
('SpecifiedAttributes', 'UInt32'), |
| 2769 |
|
('DisplayName', 'LocalizedText'), |
| 2770 |
|
('Description', 'LocalizedText'), |
| 2771 |
|
('WriteMask', 'UInt32'), |
| 2772 |
|
('UserWriteMask', 'UInt32'), |
| 2773 |
|
] |
| 2774 |
|
|
| 2775 |
|
def __init__(self): |
| 2776 |
|
self.SpecifiedAttributes = 0 |
| 2777 |
|
self.DisplayName = LocalizedText() |
| 2778 |
|
self.Description = LocalizedText() |
| 2779 |
|
self.WriteMask = 0 |
| 2780 |
|
self.UserWriteMask = 0 |
| 2781 |
|
self._freeze = True |
| 2782 |
|
|
| 2783 |
|
def __str__(self): |
| 2784 |
|
return 'NodeAttributes(' + 'SpecifiedAttributes:' + str(self.SpecifiedAttributes) + ', ' + \ |
| 2785 |
|
'DisplayName:' + str(self.DisplayName) + ', ' + \ |
| 2786 |
|
'Description:' + str(self.Description) + ', ' + \ |
| 2787 |
|
'WriteMask:' + str(self.WriteMask) + ', ' + \ |
| 2788 |
|
'UserWriteMask:' + str(self.UserWriteMask) + ')' |
| 2789 |
|
|
| 2790 |
|
__repr__ = __str__ |
| 2791 |
|
|
| 2792 |
|
|
| 2793 |
|
class ObjectAttributes(FrozenClass): |
|
@@ 9332-9364 (lines=33) @@
|
| 9329 |
|
__repr__ = __str__ |
| 9330 |
|
|
| 9331 |
|
|
| 9332 |
|
class EUInformation(FrozenClass): |
| 9333 |
|
''' |
| 9334 |
|
:ivar NamespaceUri: |
| 9335 |
|
:vartype NamespaceUri: String |
| 9336 |
|
:ivar UnitId: |
| 9337 |
|
:vartype UnitId: Int32 |
| 9338 |
|
:ivar DisplayName: |
| 9339 |
|
:vartype DisplayName: LocalizedText |
| 9340 |
|
:ivar Description: |
| 9341 |
|
:vartype Description: LocalizedText |
| 9342 |
|
''' |
| 9343 |
|
|
| 9344 |
|
ua_types = [ |
| 9345 |
|
('NamespaceUri', 'String'), |
| 9346 |
|
('UnitId', 'Int32'), |
| 9347 |
|
('DisplayName', 'LocalizedText'), |
| 9348 |
|
('Description', 'LocalizedText'), |
| 9349 |
|
] |
| 9350 |
|
|
| 9351 |
|
def __init__(self): |
| 9352 |
|
self.NamespaceUri = None |
| 9353 |
|
self.UnitId = 0 |
| 9354 |
|
self.DisplayName = LocalizedText() |
| 9355 |
|
self.Description = LocalizedText() |
| 9356 |
|
self._freeze = True |
| 9357 |
|
|
| 9358 |
|
def __str__(self): |
| 9359 |
|
return 'EUInformation(' + 'NamespaceUri:' + str(self.NamespaceUri) + ', ' + \ |
| 9360 |
|
'UnitId:' + str(self.UnitId) + ', ' + \ |
| 9361 |
|
'DisplayName:' + str(self.DisplayName) + ', ' + \ |
| 9362 |
|
'Description:' + str(self.Description) + ')' |
| 9363 |
|
|
| 9364 |
|
__repr__ = __str__ |
| 9365 |
|
|
| 9366 |
|
|
| 9367 |
|
class ComplexNumberType(FrozenClass): |