t2iapi 4.2.0.dev471__py3-none-any.whl → 4.2.0.dev475__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.
@@ -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\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')
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\xa5\n\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.GetMetricDeterminationMode\x12S\n\x1e\x44isplayMetricWithDifferentUnit\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB5\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=1413
30
+ _globals['_METRICSERVICE']._serialized_end=1498
31
31
  # @@protoc_insertion_point(module_scope)
@@ -84,6 +84,11 @@ class MetricServiceStub(object):
84
84
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
85
85
  response_deserializer=t2iapi_dot_metric_dot_metric__responses__pb2.GetMetricDeterminationMode.FromString,
86
86
  )
87
+ self.DisplayMetricWithDifferentUnit = channel.unary_unary(
88
+ '/t2iapi.metric.MetricService/DisplayMetricWithDifferentUnit',
89
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
90
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
91
+ )
87
92
 
88
93
 
89
94
  class MetricServiceServicer(object):
@@ -223,6 +228,15 @@ class MetricServiceServicer(object):
223
228
  context.set_details('Method not implemented!')
224
229
  raise NotImplementedError('Method not implemented!')
225
230
 
231
+ def DisplayMetricWithDifferentUnit(self, request, context):
232
+ """
233
+ Request for the metric with the given handle to display its @Value or @Samples to a USER with a different
234
+ pm:Unit than the one which is currently provided in the respective descriptor.
235
+ """
236
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
237
+ context.set_details('Method not implemented!')
238
+ raise NotImplementedError('Method not implemented!')
239
+
226
240
 
227
241
  def add_MetricServiceServicer_to_server(servicer, server):
228
242
  rpc_method_handlers = {
@@ -291,6 +305,11 @@ def add_MetricServiceServicer_to_server(servicer, server):
291
305
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
292
306
  response_serializer=t2iapi_dot_metric_dot_metric__responses__pb2.GetMetricDeterminationMode.SerializeToString,
293
307
  ),
308
+ 'DisplayMetricWithDifferentUnit': grpc.unary_unary_rpc_method_handler(
309
+ servicer.DisplayMetricWithDifferentUnit,
310
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
311
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
312
+ ),
294
313
  }
295
314
  generic_handler = grpc.method_handlers_generic_handler(
296
315
  't2iapi.metric.MetricService', rpc_method_handlers)
@@ -523,3 +542,20 @@ class MetricService(object):
523
542
  t2iapi_dot_metric_dot_metric__responses__pb2.GetMetricDeterminationMode.FromString,
524
543
  options, channel_credentials,
525
544
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
545
+
546
+ @staticmethod
547
+ def DisplayMetricWithDifferentUnit(request,
548
+ target,
549
+ options=(),
550
+ channel_credentials=None,
551
+ call_credentials=None,
552
+ insecure=False,
553
+ compression=None,
554
+ wait_for_ready=None,
555
+ timeout=None,
556
+ metadata=None):
557
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/DisplayMetricWithDifferentUnit',
558
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
559
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
560
+ options, channel_credentials,
561
+ 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.2.0.dev471
3
+ Version: 4.2.0.dev475
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
@@ -94,9 +94,9 @@ t2iapi/metric/metric_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
94
94
  t2iapi/metric/metric_responses_pb2.py,sha256=xrZjToub5pCbk3geByQ7UTj_AWHkzorO1Rc2jhKuR_I,2184
95
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=bZxeQvRfiGpGasOk3b0cBvY7VTreqVG1--mTvNVYyOI,3181
97
+ t2iapi/metric/service_pb2.py,sha256=UzkDJAlkvPg_3Bffkvv-_boHWjHnBiGSKkVAjBJbdGg,3288
98
98
  t2iapi/metric/service_pb2.pyi,sha256=puKT2zdMXgS7d6uMd-LUnqSQLtXQNmYAzd8W7u4pwwA,401
99
- t2iapi/metric/service_pb2_grpc.py,sha256=sGC9ht6kKlAluLiWH-Cqmg4v_VEkqH8pllZ-Zl5DBTY,27587
99
+ t2iapi/metric/service_pb2_grpc.py,sha256=B8CRlOcqXiuvhITrKPtKYt7piRl4ZTF4BprAtIkJddE,29521
100
100
  t2iapi/metric/types_pb2.py,sha256=g2pcmd1kc87fBvqM0w-QgL8VZzJipWphxfR1DRRQTY4,2931
101
101
  t2iapi/metric/types_pb2.pyi,sha256=DiwSJTxD2QNFUZRbstU44z6EhwakHc3bSBy-os2XrEE,3383
102
102
  t2iapi/metric/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -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.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,,
114
+ t2iapi-4.2.0.dev475.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
+ t2iapi-4.2.0.dev475.dist-info/METADATA,sha256=7hyeLNC8qD0HTTbb309sBY-clo-ZHECBmHzLcajBLPU,835
116
+ t2iapi-4.2.0.dev475.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
+ t2iapi-4.2.0.dev475.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
+ t2iapi-4.2.0.dev475.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
+ t2iapi-4.2.0.dev475.dist-info/RECORD,,