| @@ 2377-2407 (lines=31) @@ | ||
| 2374 | __repr__ = __str__ |
|
| 2375 | ||
| 2376 | ||
| 2377 | class DiscoveryConfiguration(FrozenClass): |
|
| 2378 | ''' |
|
| 2379 | A base type for discovery configuration information. |
|
| 2380 | ||
| 2381 | ''' |
|
| 2382 | ||
| 2383 | ua_types = { |
|
| 2384 | } |
|
| 2385 | ||
| 2386 | def __init__(self, binary=None): |
|
| 2387 | if binary is not None: |
|
| 2388 | self._binary_init(binary) |
|
| 2389 | self._freeze = True |
|
| 2390 | return |
|
| 2391 | self._freeze = True |
|
| 2392 | ||
| 2393 | def to_binary(self): |
|
| 2394 | packet = [] |
|
| 2395 | return b''.join(packet) |
|
| 2396 | ||
| 2397 | @staticmethod |
|
| 2398 | def from_binary(data): |
|
| 2399 | return DiscoveryConfiguration(data) |
|
| 2400 | ||
| 2401 | def _binary_init(self, data): |
|
| 2402 | pass |
|
| 2403 | ||
| 2404 | def __str__(self): |
|
| 2405 | return 'DiscoveryConfiguration(' + + ')' |
|
| 2406 | ||
| 2407 | __repr__ = __str__ |
|
| 2408 | ||
| 2409 | ||
| 2410 | class MdnsDiscoveryConfiguration(FrozenClass): |
|
| @@ 1075-1105 (lines=31) @@ | ||
| 1072 | __repr__ = __str__ |
|
| 1073 | ||
| 1074 | ||
| 1075 | class Union(FrozenClass): |
|
| 1076 | ''' |
|
| 1077 | This abstract DataType is the base DataType for all union DataTypes. |
|
| 1078 | ||
| 1079 | ''' |
|
| 1080 | ||
| 1081 | ua_types = { |
|
| 1082 | } |
|
| 1083 | ||
| 1084 | def __init__(self, binary=None): |
|
| 1085 | if binary is not None: |
|
| 1086 | self._binary_init(binary) |
|
| 1087 | self._freeze = True |
|
| 1088 | return |
|
| 1089 | self._freeze = True |
|
| 1090 | ||
| 1091 | def to_binary(self): |
|
| 1092 | packet = [] |
|
| 1093 | return b''.join(packet) |
|
| 1094 | ||
| 1095 | @staticmethod |
|
| 1096 | def from_binary(data): |
|
| 1097 | return Union(data) |
|
| 1098 | ||
| 1099 | def _binary_init(self, data): |
|
| 1100 | pass |
|
| 1101 | ||
| 1102 | def __str__(self): |
|
| 1103 | return 'Union(' + + ')' |
|
| 1104 | ||
| 1105 | __repr__ = __str__ |
|
| 1106 | ||
| 1107 | ||
| 1108 | class TimeZoneDataType(FrozenClass): |
|
| @@ 13224-13252 (lines=29) @@ | ||
| 13221 | __repr__ = __str__ |
|
| 13222 | ||
| 13223 | ||
| 13224 | class NotificationData(FrozenClass): |
|
| 13225 | ''' |
|
| 13226 | ''' |
|
| 13227 | ||
| 13228 | ua_types = { |
|
| 13229 | } |
|
| 13230 | ||
| 13231 | def __init__(self, binary=None): |
|
| 13232 | if binary is not None: |
|
| 13233 | self._binary_init(binary) |
|
| 13234 | self._freeze = True |
|
| 13235 | return |
|
| 13236 | self._freeze = True |
|
| 13237 | ||
| 13238 | def to_binary(self): |
|
| 13239 | packet = [] |
|
| 13240 | return b''.join(packet) |
|
| 13241 | ||
| 13242 | @staticmethod |
|
| 13243 | def from_binary(data): |
|
| 13244 | return NotificationData(data) |
|
| 13245 | ||
| 13246 | def _binary_init(self, data): |
|
| 13247 | pass |
|
| 13248 | ||
| 13249 | def __str__(self): |
|
| 13250 | return 'NotificationData(' + + ')' |
|
| 13251 | ||
| 13252 | __repr__ = __str__ |
|
| 13253 | ||
| 13254 | ||
| 13255 | class DataChangeNotification(FrozenClass): |
|
| @@ 11116-11144 (lines=29) @@ | ||
| 11113 | __repr__ = __str__ |
|
| 11114 | ||
| 11115 | ||
| 11116 | class MonitoringFilterResult(FrozenClass): |
|
| 11117 | ''' |
|
| 11118 | ''' |
|
| 11119 | ||
| 11120 | ua_types = { |
|
| 11121 | } |
|
| 11122 | ||
| 11123 | def __init__(self, binary=None): |
|
| 11124 | if binary is not None: |
|
| 11125 | self._binary_init(binary) |
|
| 11126 | self._freeze = True |
|
| 11127 | return |
|
| 11128 | self._freeze = True |
|
| 11129 | ||
| 11130 | def to_binary(self): |
|
| 11131 | packet = [] |
|
| 11132 | return b''.join(packet) |
|
| 11133 | ||
| 11134 | @staticmethod |
|
| 11135 | def from_binary(data): |
|
| 11136 | return MonitoringFilterResult(data) |
|
| 11137 | ||
| 11138 | def _binary_init(self, data): |
|
| 11139 | pass |
|
| 11140 | ||
| 11141 | def __str__(self): |
|
| 11142 | return 'MonitoringFilterResult(' + + ')' |
|
| 11143 | ||
| 11144 | __repr__ = __str__ |
|
| 11145 | ||
| 11146 | ||
| 11147 | class EventFilterResult(FrozenClass): |
|
| @@ 10864-10892 (lines=29) @@ | ||
| 10861 | __repr__ = __str__ |
|
| 10862 | ||
| 10863 | ||
| 10864 | class MonitoringFilter(FrozenClass): |
|
| 10865 | ''' |
|
| 10866 | ''' |
|
| 10867 | ||
| 10868 | ua_types = { |
|
| 10869 | } |
|
| 10870 | ||
| 10871 | def __init__(self, binary=None): |
|
| 10872 | if binary is not None: |
|
| 10873 | self._binary_init(binary) |
|
| 10874 | self._freeze = True |
|
| 10875 | return |
|
| 10876 | self._freeze = True |
|
| 10877 | ||
| 10878 | def to_binary(self): |
|
| 10879 | packet = [] |
|
| 10880 | return b''.join(packet) |
|
| 10881 | ||
| 10882 | @staticmethod |
|
| 10883 | def from_binary(data): |
|
| 10884 | return MonitoringFilter(data) |
|
| 10885 | ||
| 10886 | def _binary_init(self, data): |
|
| 10887 | pass |
|
| 10888 | ||
| 10889 | def __str__(self): |
|
| 10890 | return 'MonitoringFilter(' + + ')' |
|
| 10891 | ||
| 10892 | __repr__ = __str__ |
|
| 10893 | ||
| 10894 | ||
| 10895 | class DataChangeFilter(FrozenClass): |
|
| @@ 9109-9137 (lines=29) @@ | ||
| 9106 | __repr__ = __str__ |
|
| 9107 | ||
| 9108 | ||
| 9109 | class HistoryReadDetails(FrozenClass): |
|
| 9110 | ''' |
|
| 9111 | ''' |
|
| 9112 | ||
| 9113 | ua_types = { |
|
| 9114 | } |
|
| 9115 | ||
| 9116 | def __init__(self, binary=None): |
|
| 9117 | if binary is not None: |
|
| 9118 | self._binary_init(binary) |
|
| 9119 | self._freeze = True |
|
| 9120 | return |
|
| 9121 | self._freeze = True |
|
| 9122 | ||
| 9123 | def to_binary(self): |
|
| 9124 | packet = [] |
|
| 9125 | return b''.join(packet) |
|
| 9126 | ||
| 9127 | @staticmethod |
|
| 9128 | def from_binary(data): |
|
| 9129 | return HistoryReadDetails(data) |
|
| 9130 | ||
| 9131 | def _binary_init(self, data): |
|
| 9132 | pass |
|
| 9133 | ||
| 9134 | def __str__(self): |
|
| 9135 | return 'HistoryReadDetails(' + + ')' |
|
| 9136 | ||
| 9137 | __repr__ = __str__ |
|
| 9138 | ||
| 9139 | ||
| 9140 | class ReadEventDetails(FrozenClass): |
|