t2iapi 4.3.0.dev542__py3-none-any.whl → 4.3.0.dev550__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.
@@ -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\xf5\x15\n\rDeviceService\x12]\n\x16SetDeviceOperatingMode\x12,.t2iapi.device.SetDeviceOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12W\n\x13SetMdsOperatingMode\x12).t2iapi.device.SetMdsOperatingModeRequest\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\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\n1SetActivationStateToOnAndShutDownAndRestartDevice\x12\x1d.t2iapi.RepeatedHandleRequest\x1a\x15.t2iapi.BasicResponse\x12I\n\x18ProvideExtensionElements\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12y\n$RemoveProductionSpecificationElement\x12\x1a.t2iapi.BasicHandleRequest\x1a\x35.t2iapi.device.ProductionSpecificationElementResponse\x12y\n$ChangeProductionSpecificationElement\x12\x1a.t2iapi.BasicHandleRequest\x1a\x35.t2iapi.device.ProductionSpecificationElementResponse\x12y\n$InsertProductionSpecificationElement\x12\x1a.t2iapi.BasicHandleRequest\x1a\x35.t2iapi.device.ProductionSpecificationElementResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
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\xd3\x16\n\rDeviceService\x12]\n\x16SetDeviceOperatingMode\x12,.t2iapi.device.SetDeviceOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12W\n\x13SetMdsOperatingMode\x12).t2iapi.device.SetMdsOperatingModeRequest\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\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\n1SetActivationStateToOnAndShutDownAndRestartDevice\x12\x1d.t2iapi.RepeatedHandleRequest\x1a\x15.t2iapi.BasicResponse\x12I\n\x18ProvideExtensionElements\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12y\n$RemoveProductionSpecificationElement\x12\x1a.t2iapi.BasicHandleRequest\x1a\x35.t2iapi.device.ProductionSpecificationElementResponse\x12y\n$ChangeProductionSpecificationElement\x12\x1a.t2iapi.BasicHandleRequest\x1a\x35.t2iapi.device.ProductionSpecificationElementResponse\x12y\n$InsertProductionSpecificationElement\x12\x1a.t2iapi.BasicHandleRequest\x1a\x35.t2iapi.device.ProductionSpecificationElementResponse\x12\\\n\'SetSafetyClassificationToMedAMedBOrMedC\x12\x1a.t2iapi.BasicHandleRequest\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=3015
31
+ _globals['_DEVICESERVICE']._serialized_end=3109
32
32
  # @@protoc_insertion_point(module_scope)
@@ -160,6 +160,11 @@ class DeviceServiceStub(object):
160
160
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
161
161
  response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.ProductionSpecificationElementResponse.FromString,
162
162
  )
163
+ self.SetSafetyClassificationToMedAMedBOrMedC = channel.unary_unary(
164
+ '/t2iapi.device.DeviceService/SetSafetyClassificationToMedAMedBOrMedC',
165
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
166
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
167
+ )
163
168
 
164
169
 
165
170
  class DeviceServiceServicer(object):
@@ -497,6 +502,17 @@ class DeviceServiceServicer(object):
497
502
  context.set_details('Method not implemented!')
498
503
  raise NotImplementedError('Method not implemented!')
499
504
 
505
+ def SetSafetyClassificationToMedAMedBOrMedC(self, request, context):
506
+ """
507
+ Set the @SafetyClassification to a value ∈ { MedA, MedB, MedC } for the descriptor with the provided handle.
508
+ MedA, MedB and MedC are of type pm:SafetyClassification as defined in the IEEE Std 11073-10207-2017. The manipulated
509
+ device state shall be persistent until a next manipulation call. If the device is not able to maintain the static
510
+ state, it shall return RESULT_NOT_SUPPORTED.
511
+ """
512
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
513
+ context.set_details('Method not implemented!')
514
+ raise NotImplementedError('Method not implemented!')
515
+
500
516
 
501
517
  def add_DeviceServiceServicer_to_server(servicer, server):
502
518
  rpc_method_handlers = {
@@ -640,6 +656,11 @@ def add_DeviceServiceServicer_to_server(servicer, server):
640
656
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
641
657
  response_serializer=t2iapi_dot_device_dot_device__responses__pb2.ProductionSpecificationElementResponse.SerializeToString,
642
658
  ),
659
+ 'SetSafetyClassificationToMedAMedBOrMedC': grpc.unary_unary_rpc_method_handler(
660
+ servicer.SetSafetyClassificationToMedAMedBOrMedC,
661
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
662
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
663
+ ),
643
664
  }
644
665
  generic_handler = grpc.method_handlers_generic_handler(
645
666
  't2iapi.device.DeviceService', rpc_method_handlers)
@@ -1127,3 +1148,20 @@ class DeviceService(object):
1127
1148
  t2iapi_dot_device_dot_device__responses__pb2.ProductionSpecificationElementResponse.FromString,
1128
1149
  options, channel_credentials,
1129
1150
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1151
+
1152
+ @staticmethod
1153
+ def SetSafetyClassificationToMedAMedBOrMedC(request,
1154
+ target,
1155
+ options=(),
1156
+ channel_credentials=None,
1157
+ call_credentials=None,
1158
+ insecure=False,
1159
+ compression=None,
1160
+ wait_for_ready=None,
1161
+ timeout=None,
1162
+ metadata=None):
1163
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/SetSafetyClassificationToMedAMedBOrMedC',
1164
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
1165
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
1166
+ options, channel_credentials,
1167
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2iapi
3
- Version: 4.3.0.dev542
3
+ Version: 4.3.0.dev550
4
4
  Summary: T2I API for device communication in test scenarios
5
5
  Home-page: https://github.com/Draegerwerk/t2iapi
6
6
  Author: T2I Team
@@ -81,9 +81,9 @@ t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
81
81
  t2iapi/device/device_responses_pb2.py,sha256=cuVi61ahJB-i4kMPPTzwSXjkhDX5xqX5kZTmutDHdZY,3907
82
82
  t2iapi/device/device_responses_pb2.pyi,sha256=DyIWI-KyvoZKpyhfYgfiSuOYFmC6lkiwO4_Aw3XWRBc,4027
83
83
  t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
84
- t2iapi/device/service_pb2.py,sha256=pRol-s4Rl7-v8MQ7zkljpnozNDBnQb1zgN-3wYF4Ezs,5104
84
+ t2iapi/device/service_pb2.py,sha256=fVPQp_1vTA5WrsOkiDCCK7pvq0KYNgWSzCZwyiy3u_g,5216
85
85
  t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
86
- t2iapi/device/service_pb2_grpc.py,sha256=LCkp2hiAjvuwNk9d2-OXnhkQoIZiIjwCUFwjY1VxXpU,61671
86
+ t2iapi/device/service_pb2_grpc.py,sha256=Lv9YiGKPybr7JeHt56mgpD_4HyNC-EkTbReNmE_3tpc,63886
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.3.0.dev542.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
- t2iapi-4.3.0.dev542.dist-info/METADATA,sha256=o2u9Wd-nbR2WfhXD9MusfAUeE8x4LMgst3TTYJ5wc6I,835
119
- t2iapi-4.3.0.dev542.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
- t2iapi-4.3.0.dev542.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
- t2iapi-4.3.0.dev542.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
- t2iapi-4.3.0.dev542.dist-info/RECORD,,
117
+ t2iapi-4.3.0.dev550.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
+ t2iapi-4.3.0.dev550.dist-info/METADATA,sha256=sOi5VEqKY5p0E2v3RuPMgTx8ZAdDxBki6h4vCcyxQOQ,835
119
+ t2iapi-4.3.0.dev550.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
+ t2iapi-4.3.0.dev550.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
+ t2iapi-4.3.0.dev550.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
+ t2iapi-4.3.0.dev550.dist-info/RECORD,,