@@ 12265-12289 (lines=25) @@ | ||
12262 | ''' |
|
12263 | :ivar TypeId: |
|
12264 | :vartype TypeId: NodeId |
|
12265 | :ivar ResponseHeader: |
|
12266 | :vartype ResponseHeader: ResponseHeader |
|
12267 | :ivar Results: |
|
12268 | :vartype Results: MonitoredItemModifyResult |
|
12269 | :ivar DiagnosticInfos: |
|
12270 | :vartype DiagnosticInfos: DiagnosticInfo |
|
12271 | ''' |
|
12272 | ||
12273 | ua_types = ( |
|
12274 | ||
12275 | ('TypeId', 'NodeId'), |
|
12276 | ('ResponseHeader', 'ResponseHeader'), |
|
12277 | ('Results', 'ListOfMonitoredItemModifyResult'), |
|
12278 | ('DiagnosticInfos', 'ListOfDiagnosticInfo'), |
|
12279 | ) |
|
12280 | ||
12281 | def __init__(self, binary=None): |
|
12282 | if binary is not None: |
|
12283 | self._binary_init(binary) |
|
12284 | self._freeze = True |
|
12285 | return |
|
12286 | self.TypeId = FourByteNodeId(ObjectIds.ModifyMonitoredItemsResponse_Encoding_DefaultBinary) |
|
12287 | self.ResponseHeader = ResponseHeader() |
|
12288 | self.Results = [] |
|
12289 | self.DiagnosticInfos = [] |
|
12290 | self._freeze = True |
|
12291 | ||
12292 | def to_binary(self): |
|
@@ 8492-8512 (lines=21) @@ | ||
8489 | array.append(QualifiedName.from_binary(data)) |
|
8490 | self.BrowsePath = array |
|
8491 | self.AttributeId = uabin.Primitives.UInt32.unpack(data) |
|
8492 | self.IndexRange = uabin.Primitives.String.unpack(data) |
|
8493 | ||
8494 | def __str__(self): |
|
8495 | return 'SimpleAttributeOperand(' + 'TypeDefinitionId:' + str(self.TypeDefinitionId) + ', ' + \ |
|
8496 | 'BrowsePath:' + str(self.BrowsePath) + ', ' + \ |
|
8497 | 'AttributeId:' + str(self.AttributeId) + ', ' + \ |
|
8498 | 'IndexRange:' + str(self.IndexRange) + ')' |
|
8499 | ||
8500 | __repr__ = __str__ |
|
8501 | ||
8502 | ||
8503 | class ContentFilterElementResult(FrozenClass): |
|
8504 | ''' |
|
8505 | :ivar StatusCode: |
|
8506 | :vartype StatusCode: StatusCode |
|
8507 | :ivar OperandStatusCodes: |
|
8508 | :vartype OperandStatusCodes: StatusCode |
|
8509 | :ivar OperandDiagnosticInfos: |
|
8510 | :vartype OperandDiagnosticInfos: DiagnosticInfo |
|
8511 | ''' |
|
8512 | ||
8513 | ua_types = ( |
|
8514 | ||
8515 | ('StatusCode', 'StatusCode'), |