t2iapi 4.2.0.dev496__py3-none-any.whl → 4.2.0.dev503__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- t2iapi/device/service_pb2.py +2 -2
- t2iapi/device/service_pb2_grpc.py +58 -0
- {t2iapi-4.2.0.dev496.dist-info → t2iapi-4.2.0.dev503.dist-info}/METADATA +1 -1
- {t2iapi-4.2.0.dev496.dist-info → t2iapi-4.2.0.dev503.dist-info}/RECORD +8 -8
- {t2iapi-4.2.0.dev496.dist-info → t2iapi-4.2.0.dev503.dist-info}/LICENSE +0 -0
- {t2iapi-4.2.0.dev496.dist-info → t2iapi-4.2.0.dev503.dist-info}/WHEEL +0 -0
- {t2iapi-4.2.0.dev496.dist-info → t2iapi-4.2.0.dev503.dist-info}/top_level.txt +0 -0
- {t2iapi-4.2.0.dev496.dist-info → t2iapi-4.2.0.dev503.dist-info}/zip-safe +0 -0
t2iapi/device/service_pb2.py
CHANGED
|
@@ -19,7 +19,7 @@ from t2iapi.device import device_requests_pb2 as t2iapi_dot_device_dot_device__r
|
|
|
19
19
|
from t2iapi.device import device_responses_pb2 as t2iapi_dot_device_dot_device__responses__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/device/service.proto\x12\rt2iapi.device\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/device/device_requests.proto\x1a$t2iapi/device/device_responses.proto2\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/device/service.proto\x12\rt2iapi.device\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/device/device_requests.proto\x1a$t2iapi/device/device_responses.proto2\xe5\x12\n\rDeviceService\x12]\n\x16SetDeviceOperatingMode\x12,.t2iapi.device.SetDeviceOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12:\n\tSendHello\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12?\n\x0eSetClockDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12G\n\x0bSetLanguage\x12!.t2iapi.device.SetLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12Q\n\x10SetMdsUiLanguage\x12&.t2iapi.device.SetMdsUiLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12k\n\x1aGetMdsUiSupportedLanguages\x12\x1a.t2iapi.BasicHandleRequest\x1a\x31.t2iapi.device.GetMdsUiSupportedLanguagesResponse\x12\x86\x01\n\x1eGetRemovableDescriptorsOfClass\x12\x34.t2iapi.device.GetRemovableDescriptorsOfClassRequest\x1a..t2iapi.device.GetRemovableDescriptorsResponse\x12\x45\n\x10RemoveDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x45\n\x10InsertDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12Y\n\x13InsertMdsDescriptor\x12\x16.google.protobuf.Empty\x1a*.t2iapi.device.InsertMdsDescriptorResponse\x12H\n\x13RemoveMdsDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12_\n\x17TriggerDescriptorUpdate\x12-.t2iapi.device.TriggerDescriptorUpdateRequest\x1a\x15.t2iapi.BasicResponse\x12K\n\x1aTriggerAnyDescriptorUpdate\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12K\n\rTriggerReport\x12#.t2iapi.device.TriggerReportRequest\x1a\x15.t2iapi.BasicResponse\x12O\n\x0fSetBatteryUsage\x12%.t2iapi.device.SetBatteryUsageRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutLastCalibration\x12<.t2iapi.device.ProvideInformationAboutLastCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutNextCalibration\x12<.t2iapi.device.ProvideInformationAboutNextCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12h\n\x1aGetAvailableDeviceMetaData\x12\x1a.t2iapi.BasicHandleRequest\x1a..t2iapi.device.AvailableDeviceMetaDataResponse\x12\x61\n\x15GetComponentSwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentSwVersionResponse\x12\x61\n\x15GetComponentHwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentHwVersionResponse\x12\x63\n.RequestIndicationOfNextCalibrationTimeRequired\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12}\n#IndicateTimeOfNextCalibrationToUser\x12\x1a.t2iapi.BasicHandleRequest\x1a:.t2iapi.device.IndicateTimeOfNextCalibrationToUserResponse\x12\xa8\x01\n\'InsertContainmentTreeEntryForSequenceId\x12=.t2iapi.device.InsertContainmentTreeEntryForSequenceIdRequest\x1a>.t2iapi.device.InsertContainmentTreeEntryForSequenceIdResponse\x12_\n*InsertContainmentTreeEntryWithStaticHandle\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12I\n\x18ShutDownAndRestartDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
25
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -28,5 +28,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
28
28
|
_globals['DESCRIPTOR']._options = None
|
|
29
29
|
_globals['DESCRIPTOR']._serialized_options = b'\n!com.draeger.medical.t2iapi.deviceB\020DeviceApiService'
|
|
30
30
|
_globals['_DEVICESERVICE']._serialized_start=210
|
|
31
|
-
_globals['_DEVICESERVICE']._serialized_end=
|
|
31
|
+
_globals['_DEVICESERVICE']._serialized_end=2615
|
|
32
32
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -135,6 +135,11 @@ class DeviceServiceStub(object):
|
|
|
135
135
|
request_serializer=t2iapi_dot_device_dot_device__requests__pb2.InsertContainmentTreeEntryForSequenceIdRequest.SerializeToString,
|
|
136
136
|
response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.FromString,
|
|
137
137
|
)
|
|
138
|
+
self.InsertContainmentTreeEntryWithStaticHandle = channel.unary_unary(
|
|
139
|
+
'/t2iapi.device.DeviceService/InsertContainmentTreeEntryWithStaticHandle',
|
|
140
|
+
request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
141
|
+
response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
142
|
+
)
|
|
138
143
|
self.ShutDownAndRestartDevice = channel.unary_unary(
|
|
139
144
|
'/t2iapi.device.DeviceService/ShutDownAndRestartDevice',
|
|
140
145
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
@@ -406,6 +411,37 @@ class DeviceServiceServicer(object):
|
|
|
406
411
|
context.set_details('Method not implemented!')
|
|
407
412
|
raise NotImplementedError('Method not implemented!')
|
|
408
413
|
|
|
414
|
+
def InsertContainmentTreeEntryWithStaticHandle(self, request, context):
|
|
415
|
+
"""
|
|
416
|
+
This manipulation is only applicable for devices which use static handles for descriptors across all sequences of
|
|
417
|
+
MDIB's. If the device under test does not support static handles for descriptors, it shall return the GRPC Status Code
|
|
418
|
+
UNIMPLEMENTED. If the request contains a handle that is unknown for the device, it shall return GRPC Status Code
|
|
419
|
+
INVALID_ARGUMENT.
|
|
420
|
+
|
|
421
|
+
Make available the BICEPS CONTAINMENT TREE ENTRY (as defined in IEEE Std 11073-10700-2022) that is represented by the
|
|
422
|
+
provided handle in the device's MDIB. If the BICEPS CONTAINMENT TREE ENTRY is absent in the current MDIB, it shall be
|
|
423
|
+
inserted. If the BICEPS CONTAINMENT TREE ENTRY is already present in the current MDIB no further action is required.
|
|
424
|
+
|
|
425
|
+
Example 1: inserting the MDS into the current MDIB:
|
|
426
|
+
- devices is able to present a MDS with the handle mds1 which is currently not present in devices MDIB
|
|
427
|
+
- InsertContainmentTreeEntryWithStaticHandle with handle mds1 is executed
|
|
428
|
+
- MDS with the handle mds1 is inserted into the device's current MDIB
|
|
429
|
+
- no further action from the device is required
|
|
430
|
+
|
|
431
|
+
Example 2: Metric is already present in the current MDIB:
|
|
432
|
+
- Metric with the handle "metric_1" is already present in the devices current MDIB
|
|
433
|
+
- InsertContainmentTreeEntryWithStaticHandle with handle "metric_1" is executed
|
|
434
|
+
- no further action from the device is required
|
|
435
|
+
|
|
436
|
+
Example 3: the requested descriptor is not known for the device:
|
|
437
|
+
- descriptor with the handle "some_channel" is not present in the devices current MDIB and no such descriptor can exist in the devices MDIB
|
|
438
|
+
- InsertContainmentTreeEntryWithStaticHandle with handle "some_channel" is executed
|
|
439
|
+
- GRPC Status Code INVALID_ARGUMENT is returned since the requested entity is unknown for the device
|
|
440
|
+
"""
|
|
441
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
442
|
+
context.set_details('Method not implemented!')
|
|
443
|
+
raise NotImplementedError('Method not implemented!')
|
|
444
|
+
|
|
409
445
|
def ShutDownAndRestartDevice(self, request, context):
|
|
410
446
|
"""
|
|
411
447
|
Shut down the device gracefully and then restart it. When restarting, the device should have a new
|
|
@@ -533,6 +569,11 @@ def add_DeviceServiceServicer_to_server(servicer, server):
|
|
|
533
569
|
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.InsertContainmentTreeEntryForSequenceIdRequest.FromString,
|
|
534
570
|
response_serializer=t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.SerializeToString,
|
|
535
571
|
),
|
|
572
|
+
'InsertContainmentTreeEntryWithStaticHandle': grpc.unary_unary_rpc_method_handler(
|
|
573
|
+
servicer.InsertContainmentTreeEntryWithStaticHandle,
|
|
574
|
+
request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
|
|
575
|
+
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
576
|
+
),
|
|
536
577
|
'ShutDownAndRestartDevice': grpc.unary_unary_rpc_method_handler(
|
|
537
578
|
servicer.ShutDownAndRestartDevice,
|
|
538
579
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
@@ -941,6 +982,23 @@ class DeviceService(object):
|
|
|
941
982
|
options, channel_credentials,
|
|
942
983
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
943
984
|
|
|
985
|
+
@staticmethod
|
|
986
|
+
def InsertContainmentTreeEntryWithStaticHandle(request,
|
|
987
|
+
target,
|
|
988
|
+
options=(),
|
|
989
|
+
channel_credentials=None,
|
|
990
|
+
call_credentials=None,
|
|
991
|
+
insecure=False,
|
|
992
|
+
compression=None,
|
|
993
|
+
wait_for_ready=None,
|
|
994
|
+
timeout=None,
|
|
995
|
+
metadata=None):
|
|
996
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/InsertContainmentTreeEntryWithStaticHandle',
|
|
997
|
+
t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
998
|
+
t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
999
|
+
options, channel_credentials,
|
|
1000
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
1001
|
+
|
|
944
1002
|
@staticmethod
|
|
945
1003
|
def ShutDownAndRestartDevice(request,
|
|
946
1004
|
target,
|
|
@@ -81,9 +81,9 @@ t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
|
|
|
81
81
|
t2iapi/device/device_responses_pb2.py,sha256=v3kNBU9uzT6a4X2SgTjJDor1cc580TS9dQWVOoG4vDE,3876
|
|
82
82
|
t2iapi/device/device_responses_pb2.pyi,sha256=7LLFRZNu2DhfgPZXM7Y2Q39S7HdBp54cqxG-50k2uAU,4016
|
|
83
83
|
t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
84
|
-
t2iapi/device/service_pb2.py,sha256=
|
|
84
|
+
t2iapi/device/service_pb2.py,sha256=rdcwb2FYLk6D3cpl_sWzv9fQ1ZxtlSKJYF5y2QrlOMg,4659
|
|
85
85
|
t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
|
|
86
|
-
t2iapi/device/service_pb2_grpc.py,sha256=
|
|
86
|
+
t2iapi/device/service_pb2_grpc.py,sha256=tYQEXhjz3UwfgFJV4aRjKtJ0fGm8EiJhOi0PUgt_F50,54698
|
|
87
87
|
t2iapi/device/types_pb2.py,sha256=j8HfZJf1teqA0oY8UICkWg_C_mMfIVXjoT5AzeyUuzE,3321
|
|
88
88
|
t2iapi/device/types_pb2.pyi,sha256=Cy6c3d2HXACCIo7n2Grab_8j6JHB_toKid8WNTxlxWY,3962
|
|
89
89
|
t2iapi/device/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
@@ -114,9 +114,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=yPxuVXTxpVy5wSGVmsIkj_kfeHHm-AJ_4sgu
|
|
|
114
114
|
t2iapi/operation/types_pb2.py,sha256=pdM7ob1_SBFZ6ndx0MPkCo6AdV_pZKtDwFiWBBtT6r4,1374
|
|
115
115
|
t2iapi/operation/types_pb2.pyi,sha256=DplrhCrEW7nHBLLOWlNeka5FzX2gFPv1QGNHyT0tvRM,591
|
|
116
116
|
t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
117
|
-
t2iapi-4.2.0.
|
|
118
|
-
t2iapi-4.2.0.
|
|
119
|
-
t2iapi-4.2.0.
|
|
120
|
-
t2iapi-4.2.0.
|
|
121
|
-
t2iapi-4.2.0.
|
|
122
|
-
t2iapi-4.2.0.
|
|
117
|
+
t2iapi-4.2.0.dev503.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
|
|
118
|
+
t2iapi-4.2.0.dev503.dist-info/METADATA,sha256=vZ8sylcFAh-xHnFNRwmYtum3eMd3JpzY2-eaZQc03Rw,835
|
|
119
|
+
t2iapi-4.2.0.dev503.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
|
120
|
+
t2iapi-4.2.0.dev503.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
|
|
121
|
+
t2iapi-4.2.0.dev503.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
122
|
+
t2iapi-4.2.0.dev503.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|