t2iapi 4.2.0.dev437__py3-none-any.whl → 4.2.0.dev450__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\x9c\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.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\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')
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=1233
30
+ _globals['_METRICSERVICE']._serialized_end=1312
31
31
  # @@protoc_insertion_point(module_scope)
@@ -74,6 +74,11 @@ class MetricServiceStub(object):
74
74
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
75
75
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
76
76
  )
77
+ self.SetActiveModeOfOperation = channel.unary_unary(
78
+ '/t2iapi.metric.MetricService/SetActiveModeOfOperation',
79
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
80
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
81
+ )
77
82
 
78
83
 
79
84
  class MetricServiceServicer(object):
@@ -194,6 +199,17 @@ class MetricServiceServicer(object):
194
199
  context.set_details('Method not implemented!')
195
200
  raise NotImplementedError('Method not implemented!')
196
201
 
202
+ def SetActiveModeOfOperation(self, request, context):
203
+ """
204
+ The metric with the given handle shall be set to an active MODE OF OPERATION if it is representing a
205
+ MODE OF OPERATION. If the metric does not represent a MODE OF OPERATION, it shall return RESULT_NOT_SUPPORTED.
206
+
207
+ Hint: MODE OF OPERATION is defined in the standard 11073-10701-2022 and more details in chapter 6.2.1.
208
+ """
209
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
210
+ context.set_details('Method not implemented!')
211
+ raise NotImplementedError('Method not implemented!')
212
+
197
213
 
198
214
  def add_MetricServiceServicer_to_server(servicer, server):
199
215
  rpc_method_handlers = {
@@ -252,6 +268,11 @@ def add_MetricServiceServicer_to_server(servicer, server):
252
268
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
253
269
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
254
270
  ),
271
+ 'SetActiveModeOfOperation': grpc.unary_unary_rpc_method_handler(
272
+ servicer.SetActiveModeOfOperation,
273
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
274
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
275
+ ),
255
276
  }
256
277
  generic_handler = grpc.method_handlers_generic_handler(
257
278
  't2iapi.metric.MetricService', rpc_method_handlers)
@@ -450,3 +471,20 @@ class MetricService(object):
450
471
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
451
472
  options, channel_credentials,
452
473
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
474
+
475
+ @staticmethod
476
+ def SetActiveModeOfOperation(request,
477
+ target,
478
+ options=(),
479
+ channel_credentials=None,
480
+ call_credentials=None,
481
+ insecure=False,
482
+ compression=None,
483
+ wait_for_ready=None,
484
+ timeout=None,
485
+ metadata=None):
486
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/SetActiveModeOfOperation',
487
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
488
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
489
+ options, channel_credentials,
490
+ 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.dev437
3
+ Version: 4.2.0.dev450
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=Msbii7YdwLdPLHx3kJp6SGtsz3dr_S1iNbvUpfnY4ng,1775
95
95
  t2iapi/metric/metric_responses_pb2.pyi,sha256=V_cFMZfkgnHl8c-1OKZ2hoqM5_Vd3OExJgFoBaZNbS8,1200
96
96
  t2iapi/metric/metric_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
97
- t2iapi/metric/service_pb2.py,sha256=K0lrxo-h7i2TaRKOkQUHu-C68LtQ6Jt_20UWAgGjhw8,2965
97
+ t2iapi/metric/service_pb2.py,sha256=xG_AAleJ85J0eDMv3BlXsqjhg1QHSOhFiucjL5KVvc0,3063
98
98
  t2iapi/metric/service_pb2.pyi,sha256=puKT2zdMXgS7d6uMd-LUnqSQLtXQNmYAzd8W7u4pwwA,401
99
- t2iapi/metric/service_pb2_grpc.py,sha256=ZrjnFCTOq5xVohdXV67lxo7NLPrCL3CwQDqmIcSsEio,23679
99
+ t2iapi/metric/service_pb2_grpc.py,sha256=d2WzNR8VtBqz4JXyU0Kl0tFZWjDT9lbUw45V3k61HfI,25710
100
100
  t2iapi/metric/types_pb2.py,sha256=UIjZG8doImvYicNKm2verdXNHpV1T9JVx_8NpeABgYM,2671
101
101
  t2iapi/metric/types_pb2.pyi,sha256=t0oILgdlqM_RGQRDwr-b38c5zExrLy3G0XHyEU1yQ4s,2995
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.dev437.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
- t2iapi-4.2.0.dev437.dist-info/METADATA,sha256=_KwMf63SmskrWXNzHNdafkOSjvbnFjYM7Fn08jTbnV8,835
116
- t2iapi-4.2.0.dev437.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
- t2iapi-4.2.0.dev437.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
- t2iapi-4.2.0.dev437.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
- t2iapi-4.2.0.dev437.dist-info/RECORD,,
114
+ t2iapi-4.2.0.dev450.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
+ t2iapi-4.2.0.dev450.dist-info/METADATA,sha256=hWQlAHltRr7192ZYXSRLtBx5AQUH3ZsLWNsruGPKteg,835
116
+ t2iapi-4.2.0.dev450.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
+ t2iapi-4.2.0.dev450.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
+ t2iapi-4.2.0.dev450.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
+ t2iapi-4.2.0.dev450.dist-info/RECORD,,