t2iapi 4.2.0.dev462__py3-none-any.whl → 4.2.0.dev471__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\x94\x11\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\x12X\n#IndicateTimeOfNextCalibrationToUser\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\xa8\x01\n\'InsertContainmentTreeEntryForSequenceId\x12=.t2iapi.device.InsertContainmentTreeEntryForSequenceIdRequest\x1a>.t2iapi.device.InsertContainmentTreeEntryForSequenceIdResponseB5\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\xdf\x11\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\x12X\n#IndicateTimeOfNextCalibrationToUser\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\xa8\x01\n\'InsertContainmentTreeEntryForSequenceId\x12=.t2iapi.device.InsertContainmentTreeEntryForSequenceIdRequest\x1a>.t2iapi.device.InsertContainmentTreeEntryForSequenceIdResponse\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=2406
31
+ _globals['_DEVICESERVICE']._serialized_end=2481
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.ShutDownAndRestartDevice = channel.unary_unary(
139
+ '/t2iapi.device.DeviceService/ShutDownAndRestartDevice',
140
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
141
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
142
+ )
138
143
 
139
144
 
140
145
  class DeviceServiceServicer(object):
@@ -401,6 +406,15 @@ class DeviceServiceServicer(object):
401
406
  context.set_details('Method not implemented!')
402
407
  raise NotImplementedError('Method not implemented!')
403
408
 
409
+ def ShutDownAndRestartDevice(self, request, context):
410
+ """
411
+ Shut down the device gracefully and then restart it. When restarting, the device should have a new
412
+ pm:MdibVersionGroup/@SequenceId.
413
+ """
414
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
415
+ context.set_details('Method not implemented!')
416
+ raise NotImplementedError('Method not implemented!')
417
+
404
418
 
405
419
  def add_DeviceServiceServicer_to_server(servicer, server):
406
420
  rpc_method_handlers = {
@@ -519,6 +533,11 @@ def add_DeviceServiceServicer_to_server(servicer, server):
519
533
  request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.InsertContainmentTreeEntryForSequenceIdRequest.FromString,
520
534
  response_serializer=t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.SerializeToString,
521
535
  ),
536
+ 'ShutDownAndRestartDevice': grpc.unary_unary_rpc_method_handler(
537
+ servicer.ShutDownAndRestartDevice,
538
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
539
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
540
+ ),
522
541
  }
523
542
  generic_handler = grpc.method_handlers_generic_handler(
524
543
  't2iapi.device.DeviceService', rpc_method_handlers)
@@ -921,3 +940,20 @@ class DeviceService(object):
921
940
  t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.FromString,
922
941
  options, channel_credentials,
923
942
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
943
+
944
+ @staticmethod
945
+ def ShutDownAndRestartDevice(request,
946
+ target,
947
+ options=(),
948
+ channel_credentials=None,
949
+ call_credentials=None,
950
+ insecure=False,
951
+ compression=None,
952
+ wait_for_ready=None,
953
+ timeout=None,
954
+ metadata=None):
955
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/ShutDownAndRestartDevice',
956
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
957
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
958
+ options, channel_credentials,
959
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from t2iapi import basic_responses_pb2 as t2iapi_dot_basic__responses__pb2
16
+ from t2iapi.metric import types_pb2 as t2iapi_dot_metric_dot_types__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$t2iapi/metric/metric_responses.proto\x12\rt2iapi.metric\x1a\x1ct2iapi/basic_responses.proto\"R\n\x17\x43\x61librateMetricResponse\x12\'\n\x08response\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06values\x18\x02 \x03(\t\"U\n\x1cIsComputerControlledResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06\x61nswer\x18\x02 \x01(\x08\x42\x34\n!com.draeger.medical.t2iapi.metricB\x0fMetricResponsesb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$t2iapi/metric/metric_responses.proto\x12\rt2iapi.metric\x1a\x1ct2iapi/basic_responses.proto\x1a\x19t2iapi/metric/types.proto\"R\n\x17\x43\x61librateMetricResponse\x12\'\n\x08response\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06values\x18\x02 \x03(\t\"U\n\x1cIsComputerControlledResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06\x61nswer\x18\x02 \x01(\x08\"{\n\x1aGetMetricDeterminationMode\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x36\n\x06\x61nswer\x18\x02 \x01(\x0e\x32&.t2iapi.metric.MetricDeterminationModeB4\n!com.draeger.medical.t2iapi.metricB\x0fMetricResponsesb\x06proto3')
19
20
 
20
21
  _globals = globals()
21
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,8 +24,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.metric.metric_respon
23
24
  if _descriptor._USE_C_DESCRIPTORS == False:
24
25
  _globals['DESCRIPTOR']._options = None
25
26
  _globals['DESCRIPTOR']._serialized_options = b'\n!com.draeger.medical.t2iapi.metricB\017MetricResponses'
26
- _globals['_CALIBRATEMETRICRESPONSE']._serialized_start=85
27
- _globals['_CALIBRATEMETRICRESPONSE']._serialized_end=167
28
- _globals['_ISCOMPUTERCONTROLLEDRESPONSE']._serialized_start=169
29
- _globals['_ISCOMPUTERCONTROLLEDRESPONSE']._serialized_end=254
27
+ _globals['_CALIBRATEMETRICRESPONSE']._serialized_start=112
28
+ _globals['_CALIBRATEMETRICRESPONSE']._serialized_end=194
29
+ _globals['_ISCOMPUTERCONTROLLEDRESPONSE']._serialized_start=196
30
+ _globals['_ISCOMPUTERCONTROLLEDRESPONSE']._serialized_end=281
31
+ _globals['_GETMETRICDETERMINATIONMODE']._serialized_start=283
32
+ _globals['_GETMETRICDETERMINATIONMODE']._serialized_end=406
30
33
  # @@protoc_insertion_point(module_scope)
@@ -1,4 +1,5 @@
1
1
  from t2iapi import basic_responses_pb2 as _basic_responses_pb2
2
+ from t2iapi.metric import types_pb2 as _types_pb2
2
3
  from google.protobuf.internal import containers as _containers
3
4
  from google.protobuf import descriptor as _descriptor
4
5
  from google.protobuf import message as _message
@@ -21,3 +22,11 @@ class IsComputerControlledResponse(_message.Message):
21
22
  status: _basic_responses_pb2.BasicResponse
22
23
  answer: bool
23
24
  def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., answer: bool = ...) -> None: ...
25
+
26
+ class GetMetricDeterminationMode(_message.Message):
27
+ __slots__ = ("status", "answer")
28
+ STATUS_FIELD_NUMBER: _ClassVar[int]
29
+ ANSWER_FIELD_NUMBER: _ClassVar[int]
30
+ status: _basic_responses_pb2.BasicResponse
31
+ answer: _types_pb2.MetricDeterminationMode
32
+ def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., answer: _Optional[_Union[_types_pb2.MetricDeterminationMode, str]] = ...) -> None: ...
@@ -18,7 +18,7 @@ from t2iapi.metric import metric_requests_pb2 as t2iapi_dot_metric_dot_metric__r
18
18
  from t2iapi.metric import metric_responses_pb2 as t2iapi_dot_metric_dot_metric__responses__pb2
19
19
 
20
20
 
21
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/metric/service.proto\x12\rt2iapi.metric\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/metric/metric_requests.proto\x1a$t2iapi/metric/metric_responses.proto2\xeb\x08\n\rMetricService\x12\x61\n\x18SetMetricQualityValidity\x12..t2iapi.metric.SetMetricQualityValidityRequest\x1a\x15.t2iapi.BasicResponse\x12\x83\x01\n)SetActivationStateAndUserConfirmableValue\x12?.t2iapi.metric.SetActivationStateAndUserConfirmableValueRequest\x1a\x15.t2iapi.BasicResponse\x12\x46\n\x11SetIncorrectValue\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12U\n\x0f\x43\x61librateMetric\x12\x1a.t2iapi.BasicHandleRequest\x1a&.t2iapi.metric.CalibrateMetricResponse\x12m\n\x1eSetMetricValuesWithQualityMode\x12\x34.t2iapi.metric.SetMetricValuesWithQualityModeRequest\x1a\x15.t2iapi.BasicResponse\x12]\n\x16SetMetricValuesInRange\x12,.t2iapi.metric.SetMetricValuesInRangeRequest\x1a\x15.t2iapi.BasicResponse\x12O\n\x0fSetMetricStatus\x12%.t2iapi.metric.SetMetricStatusRequest\x1a\x15.t2iapi.BasicResponse\x12_\n\x14IsComputerControlled\x12\x1a.t2iapi.BasicHandleRequest\x1a+.t2iapi.metric.IsComputerControlledResponse\x12P\n\x1bProvideMetricValueOrSamples\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x64\n/TransitionProvideValueToExpressNoValueAvailable\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12K\n\x16\x43onveyMetricDemoValues\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12M\n\x18SetActiveModeOfOperation\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB5\n!com.draeger.medical.t2iapi.metricB\x10MetricApiServiceb\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/metric/service.proto\x12\rt2iapi.metric\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/metric/metric_requests.proto\x1a$t2iapi/metric/metric_responses.proto2\xd0\t\n\rMetricService\x12\x61\n\x18SetMetricQualityValidity\x12..t2iapi.metric.SetMetricQualityValidityRequest\x1a\x15.t2iapi.BasicResponse\x12\x83\x01\n)SetActivationStateAndUserConfirmableValue\x12?.t2iapi.metric.SetActivationStateAndUserConfirmableValueRequest\x1a\x15.t2iapi.BasicResponse\x12\x46\n\x11SetIncorrectValue\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12U\n\x0f\x43\x61librateMetric\x12\x1a.t2iapi.BasicHandleRequest\x1a&.t2iapi.metric.CalibrateMetricResponse\x12m\n\x1eSetMetricValuesWithQualityMode\x12\x34.t2iapi.metric.SetMetricValuesWithQualityModeRequest\x1a\x15.t2iapi.BasicResponse\x12]\n\x16SetMetricValuesInRange\x12,.t2iapi.metric.SetMetricValuesInRangeRequest\x1a\x15.t2iapi.BasicResponse\x12O\n\x0fSetMetricStatus\x12%.t2iapi.metric.SetMetricStatusRequest\x1a\x15.t2iapi.BasicResponse\x12_\n\x14IsComputerControlled\x12\x1a.t2iapi.BasicHandleRequest\x1a+.t2iapi.metric.IsComputerControlledResponse\x12P\n\x1bProvideMetricValueOrSamples\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x64\n/TransitionProvideValueToExpressNoValueAvailable\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12K\n\x16\x43onveyMetricDemoValues\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12M\n\x18SetActiveModeOfOperation\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x63\n\x1aGetMetricDeterminationMode\x12\x1a.t2iapi.BasicHandleRequest\x1a).t2iapi.metric.GetMetricDeterminationModeB5\n!com.draeger.medical.t2iapi.metricB\x10MetricApiServiceb\x06proto3')
22
22
 
23
23
  _globals = globals()
24
24
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -27,5 +27,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
27
27
  _globals['DESCRIPTOR']._options = None
28
28
  _globals['DESCRIPTOR']._serialized_options = b'\n!com.draeger.medical.t2iapi.metricB\020MetricApiService'
29
29
  _globals['_METRICSERVICE']._serialized_start=181
30
- _globals['_METRICSERVICE']._serialized_end=1312
30
+ _globals['_METRICSERVICE']._serialized_end=1413
31
31
  # @@protoc_insertion_point(module_scope)
@@ -79,6 +79,11 @@ class MetricServiceStub(object):
79
79
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
80
80
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
81
81
  )
82
+ self.GetMetricDeterminationMode = channel.unary_unary(
83
+ '/t2iapi.metric.MetricService/GetMetricDeterminationMode',
84
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
85
+ response_deserializer=t2iapi_dot_metric_dot_metric__responses__pb2.GetMetricDeterminationMode.FromString,
86
+ )
82
87
 
83
88
 
84
89
  class MetricServiceServicer(object):
@@ -210,6 +215,14 @@ class MetricServiceServicer(object):
210
215
  context.set_details('Method not implemented!')
211
216
  raise NotImplementedError('Method not implemented!')
212
217
 
218
+ def GetMetricDeterminationMode(self, request, context):
219
+ """
220
+ Requests if the metric with the given handle is determined episodically or periodically.
221
+ """
222
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
223
+ context.set_details('Method not implemented!')
224
+ raise NotImplementedError('Method not implemented!')
225
+
213
226
 
214
227
  def add_MetricServiceServicer_to_server(servicer, server):
215
228
  rpc_method_handlers = {
@@ -273,6 +286,11 @@ def add_MetricServiceServicer_to_server(servicer, server):
273
286
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
274
287
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
275
288
  ),
289
+ 'GetMetricDeterminationMode': grpc.unary_unary_rpc_method_handler(
290
+ servicer.GetMetricDeterminationMode,
291
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
292
+ response_serializer=t2iapi_dot_metric_dot_metric__responses__pb2.GetMetricDeterminationMode.SerializeToString,
293
+ ),
276
294
  }
277
295
  generic_handler = grpc.method_handlers_generic_handler(
278
296
  't2iapi.metric.MetricService', rpc_method_handlers)
@@ -488,3 +506,20 @@ class MetricService(object):
488
506
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
489
507
  options, channel_credentials,
490
508
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
509
+
510
+ @staticmethod
511
+ def GetMetricDeterminationMode(request,
512
+ target,
513
+ options=(),
514
+ channel_credentials=None,
515
+ call_credentials=None,
516
+ insecure=False,
517
+ compression=None,
518
+ wait_for_ready=None,
519
+ timeout=None,
520
+ metadata=None):
521
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/GetMetricDeterminationMode',
522
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
523
+ t2iapi_dot_metric_dot_metric__responses__pb2.GetMetricDeterminationMode.FromString,
524
+ options, channel_credentials,
525
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19t2iapi/metric/types.proto\x12\rt2iapi.metric*\xe7\x02\n\x13MeasurementValidity\x12\x1e\n\x1aMEASUREMENT_VALIDITY_VALID\x10\x00\x12\'\n#MEASUREMENT_VALIDITY_VALIDATED_DATA\x10\x01\x12,\n(MEASUREMENT_VALIDITY_MEASUREMENT_ONGOING\x10\x02\x12%\n!MEASUREMENT_VALIDITY_QUESTIONABLE\x10\x03\x12,\n(MEASUREMENT_VALIDITY_CALIBRATION_ONGOING\x10\x04\x12 \n\x1cMEASUREMENT_VALIDITY_INVALID\x10\x05\x12!\n\x1dMEASUREMENT_VALIDITY_OVERFLOW\x10\x06\x12\"\n\x1eMEASUREMENT_VALIDITY_UNDERFLOW\x10\x07\x12\x1b\n\x17MEASUREMENT_VALIDITY_NA\x10\x08*^\n\x0eGenerationMode\x12\x18\n\x14GENERATION_MODE_REAL\x10\x00\x12\x18\n\x14GENERATION_MODE_TEST\x10\x01\x12\x18\n\x14GENERATION_MODE_DEMO\x10\x02*d\n\x0fModeOfOperation\x12\x18\n\x14MODE_OF_OPERATION_ON\x10\x00\x12\x19\n\x15MODE_OF_OPERATION_OFF\x10\x01\x12\x1c\n\x18MODE_OF_OPERATION_PAUSED\x10\x02*\xa6\x02\n\x0cMetricStatus\x12&\n\"METRIC_STATUS_PERFORMED_OR_APPLIED\x10\x00\x12(\n$METRIC_STATUS_CURRENTLY_INITIALIZING\x10\x01\x12<\n8METRIC_STATUS_INITIALIZED_BUT_NOT_PERFORMING_OR_APPLYING\x10\x02\x12+\n\'METRIC_STATUS_CURRENTLY_DE_INITIALIZING\x10\x03\x12?\n;METRIC_STATUS_DE_INITIALIZED_AND_NOT_PERFORMING_OR_APPLYING\x10\x04\x12\x18\n\x14METRIC_STATUS_FAILED\x10\x05\x42\x30\n!com.draeger.medical.t2iapi.metricB\x0bMetricTypesb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19t2iapi/metric/types.proto\x12\rt2iapi.metric*\xe7\x02\n\x13MeasurementValidity\x12\x1e\n\x1aMEASUREMENT_VALIDITY_VALID\x10\x00\x12\'\n#MEASUREMENT_VALIDITY_VALIDATED_DATA\x10\x01\x12,\n(MEASUREMENT_VALIDITY_MEASUREMENT_ONGOING\x10\x02\x12%\n!MEASUREMENT_VALIDITY_QUESTIONABLE\x10\x03\x12,\n(MEASUREMENT_VALIDITY_CALIBRATION_ONGOING\x10\x04\x12 \n\x1cMEASUREMENT_VALIDITY_INVALID\x10\x05\x12!\n\x1dMEASUREMENT_VALIDITY_OVERFLOW\x10\x06\x12\"\n\x1eMEASUREMENT_VALIDITY_UNDERFLOW\x10\x07\x12\x1b\n\x17MEASUREMENT_VALIDITY_NA\x10\x08*^\n\x0eGenerationMode\x12\x18\n\x14GENERATION_MODE_REAL\x10\x00\x12\x18\n\x14GENERATION_MODE_TEST\x10\x01\x12\x18\n\x14GENERATION_MODE_DEMO\x10\x02*d\n\x0fModeOfOperation\x12\x18\n\x14MODE_OF_OPERATION_ON\x10\x00\x12\x19\n\x15MODE_OF_OPERATION_OFF\x10\x01\x12\x1c\n\x18MODE_OF_OPERATION_PAUSED\x10\x02*\xa6\x02\n\x0cMetricStatus\x12&\n\"METRIC_STATUS_PERFORMED_OR_APPLIED\x10\x00\x12(\n$METRIC_STATUS_CURRENTLY_INITIALIZING\x10\x01\x12<\n8METRIC_STATUS_INITIALIZED_BUT_NOT_PERFORMING_OR_APPLYING\x10\x02\x12+\n\'METRIC_STATUS_CURRENTLY_DE_INITIALIZING\x10\x03\x12?\n;METRIC_STATUS_DE_INITIALIZED_AND_NOT_PERFORMING_OR_APPLYING\x10\x04\x12\x18\n\x14METRIC_STATUS_FAILED\x10\x05*q\n\x17MetricDeterminationMode\x12*\n&METRIC_DETERMINATION_MODE_EPISODICALLY\x10\x00\x12*\n&METRIC_DETERMINATION_MODE_PERIODICALLY\x10\x01\x42\x30\n!com.draeger.medical.t2iapi.metricB\x0bMetricTypesb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -30,4 +30,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
30
  _globals['_MODEOFOPERATION']._serialized_end=602
31
31
  _globals['_METRICSTATUS']._serialized_start=605
32
32
  _globals['_METRICSTATUS']._serialized_end=899
33
+ _globals['_METRICDETERMINATIONMODE']._serialized_start=901
34
+ _globals['_METRICDETERMINATIONMODE']._serialized_end=1014
33
35
  # @@protoc_insertion_point(module_scope)
@@ -36,6 +36,11 @@ class MetricStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
36
36
  METRIC_STATUS_CURRENTLY_DE_INITIALIZING: _ClassVar[MetricStatus]
37
37
  METRIC_STATUS_DE_INITIALIZED_AND_NOT_PERFORMING_OR_APPLYING: _ClassVar[MetricStatus]
38
38
  METRIC_STATUS_FAILED: _ClassVar[MetricStatus]
39
+
40
+ class MetricDeterminationMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
41
+ __slots__ = ()
42
+ METRIC_DETERMINATION_MODE_EPISODICALLY: _ClassVar[MetricDeterminationMode]
43
+ METRIC_DETERMINATION_MODE_PERIODICALLY: _ClassVar[MetricDeterminationMode]
39
44
  MEASUREMENT_VALIDITY_VALID: MeasurementValidity
40
45
  MEASUREMENT_VALIDITY_VALIDATED_DATA: MeasurementValidity
41
46
  MEASUREMENT_VALIDITY_MEASUREMENT_ONGOING: MeasurementValidity
@@ -57,3 +62,5 @@ METRIC_STATUS_INITIALIZED_BUT_NOT_PERFORMING_OR_APPLYING: MetricStatus
57
62
  METRIC_STATUS_CURRENTLY_DE_INITIALIZING: MetricStatus
58
63
  METRIC_STATUS_DE_INITIALIZED_AND_NOT_PERFORMING_OR_APPLYING: MetricStatus
59
64
  METRIC_STATUS_FAILED: MetricStatus
65
+ METRIC_DETERMINATION_MODE_EPISODICALLY: MetricDeterminationMode
66
+ METRIC_DETERMINATION_MODE_PERIODICALLY: MetricDeterminationMode
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2iapi
3
- Version: 4.2.0.dev462
3
+ Version: 4.2.0.dev471
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
@@ -78,9 +78,9 @@ t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
78
78
  t2iapi/device/device_responses_pb2.py,sha256=Nn8qEUZ1Tgrke1sq7_PDQtgCwBzTzQnCAvMD3giyAN0,3375
79
79
  t2iapi/device/device_responses_pb2.pyi,sha256=O-eKvccSYz3FJkjd1_7WAdfgu6f1v9ecyREktLoc5oQ,3413
80
80
  t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
81
- t2iapi/device/service_pb2.py,sha256=sFAh7so6gQ0oprgM_axiKrsXiCb4QtziclWkhxR42HY,4418
81
+ t2iapi/device/service_pb2.py,sha256=PmkvaoTg9ykotHYg4J3MQy0RZ77MoosiwmaII0cXAZw,4512
82
82
  t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
83
- t2iapi/device/service_pb2_grpc.py,sha256=cha9r2EpmQh7xF-wUV1bqaQdfK7ifPpuRO47I3srJC0,49059
83
+ t2iapi/device/service_pb2_grpc.py,sha256=cvrYjIt3kp7hlK9Sxd0OFGCZXTrXFIY3VY2MRafDNvs,50868
84
84
  t2iapi/device/types_pb2.py,sha256=j8HfZJf1teqA0oY8UICkWg_C_mMfIVXjoT5AzeyUuzE,3321
85
85
  t2iapi/device/types_pb2.pyi,sha256=Cy6c3d2HXACCIo7n2Grab_8j6JHB_toKid8WNTxlxWY,3962
86
86
  t2iapi/device/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -91,14 +91,14 @@ t2iapi/metric/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,14
91
91
  t2iapi/metric/metric_requests_pb2.py,sha256=rPVxuAiV8PxHxZEV5FZmTrpdPl6I0mxhsi2dZ4Nsjhg,2828
92
92
  t2iapi/metric/metric_requests_pb2.pyi,sha256=2kZcbxDZsXscJxwAgA2BXuD-RobHK65FmcQ5bpMeFDI,2222
93
93
  t2iapi/metric/metric_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
94
- t2iapi/metric/metric_responses_pb2.py,sha256=Msbii7YdwLdPLHx3kJp6SGtsz3dr_S1iNbvUpfnY4ng,1775
95
- t2iapi/metric/metric_responses_pb2.pyi,sha256=V_cFMZfkgnHl8c-1OKZ2hoqM5_Vd3OExJgFoBaZNbS8,1200
94
+ t2iapi/metric/metric_responses_pb2.py,sha256=xrZjToub5pCbk3geByQ7UTj_AWHkzorO1Rc2jhKuR_I,2184
95
+ t2iapi/metric/metric_responses_pb2.pyi,sha256=kb_YU85iphAUSxDa6LMeAwEsOYNhP27mrQJkofFxeXE,1703
96
96
  t2iapi/metric/metric_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
97
- t2iapi/metric/service_pb2.py,sha256=xG_AAleJ85J0eDMv3BlXsqjhg1QHSOhFiucjL5KVvc0,3063
97
+ t2iapi/metric/service_pb2.py,sha256=bZxeQvRfiGpGasOk3b0cBvY7VTreqVG1--mTvNVYyOI,3181
98
98
  t2iapi/metric/service_pb2.pyi,sha256=puKT2zdMXgS7d6uMd-LUnqSQLtXQNmYAzd8W7u4pwwA,401
99
- t2iapi/metric/service_pb2_grpc.py,sha256=d2WzNR8VtBqz4JXyU0Kl0tFZWjDT9lbUw45V3k61HfI,25710
100
- t2iapi/metric/types_pb2.py,sha256=UIjZG8doImvYicNKm2verdXNHpV1T9JVx_8NpeABgYM,2671
101
- t2iapi/metric/types_pb2.pyi,sha256=t0oILgdlqM_RGQRDwr-b38c5zExrLy3G0XHyEU1yQ4s,2995
99
+ t2iapi/metric/service_pb2_grpc.py,sha256=sGC9ht6kKlAluLiWH-Cqmg4v_VEkqH8pllZ-Zl5DBTY,27587
100
+ t2iapi/metric/types_pb2.py,sha256=g2pcmd1kc87fBvqM0w-QgL8VZzJipWphxfR1DRRQTY4,2931
101
+ t2iapi/metric/types_pb2.pyi,sha256=DiwSJTxD2QNFUZRbstU44z6EhwakHc3bSBy-os2XrEE,3383
102
102
  t2iapi/metric/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
103
103
  t2iapi/operation/__init__.py,sha256=yICa5h_fgNAUxTFqTH8kcDhu8X-Cn0yR2UAL1z8fN6o,149
104
104
  t2iapi/operation/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,149
@@ -111,9 +111,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=yPxuVXTxpVy5wSGVmsIkj_kfeHHm-AJ_4sgu
111
111
  t2iapi/operation/types_pb2.py,sha256=pdM7ob1_SBFZ6ndx0MPkCo6AdV_pZKtDwFiWBBtT6r4,1374
112
112
  t2iapi/operation/types_pb2.pyi,sha256=DplrhCrEW7nHBLLOWlNeka5FzX2gFPv1QGNHyT0tvRM,591
113
113
  t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
114
- t2iapi-4.2.0.dev462.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
- t2iapi-4.2.0.dev462.dist-info/METADATA,sha256=QBE_jFKmkcsOySDfXzgzR4jACWKsRthivAnRReJqzMI,835
116
- t2iapi-4.2.0.dev462.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
- t2iapi-4.2.0.dev462.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
- t2iapi-4.2.0.dev462.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
- t2iapi-4.2.0.dev462.dist-info/RECORD,,
114
+ t2iapi-4.2.0.dev471.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
+ t2iapi-4.2.0.dev471.dist-info/METADATA,sha256=Q7cOUO24Tw6Bn3DzKXpkQGu87cDpaFWtVoMPCWqNEHw,835
116
+ t2iapi-4.2.0.dev471.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
+ t2iapi-4.2.0.dev471.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
+ t2iapi-4.2.0.dev471.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
+ t2iapi-4.2.0.dev471.dist-info/RECORD,,