t2iapi 3.0.0.dev227__py3-none-any.whl → 3.0.0.dev235__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.
@@ -17,7 +17,7 @@ from t2iapi.metric import metric_requests_pb2 as t2iapi_dot_metric_dot_metric__r
17
17
  from t2iapi.metric import metric_responses_pb2 as t2iapi_dot_metric_dot_metric__responses__pb2
18
18
 
19
19
 
20
- 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\x8f\x08\n\rMetricService\x12\x61\n\x18SetMetricQualityValidity\x12..t2iapi.metric.SetMetricQualityValidityRequest\x1a\x15.t2iapi.BasicResponse\x12?\n\nSetNoValue\x12\x1a.t2iapi.BasicHandleRequest\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\x12\x63\n\x19\x43hangeOperationModeStatus\x12/.t2iapi.metric.ChangeOperationModeStatusRequest\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.BasicResponseB5\n!com.draeger.medical.t2iapi.metricB\x10MetricApiServiceb\x06proto3')
20
+ 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\xb4\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\x12\x63\n\x19\x43hangeOperationModeStatus\x12/.t2iapi.metric.ChangeOperationModeStatusRequest\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.BasicResponseB5\n!com.draeger.medical.t2iapi.metricB\x10MetricApiServiceb\x06proto3')
21
21
 
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
23
23
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.metric.service_pb2', globals())
@@ -26,5 +26,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
26
26
  DESCRIPTOR._options = None
27
27
  DESCRIPTOR._serialized_options = b'\n!com.draeger.medical.t2iapi.metricB\020MetricApiService'
28
28
  _METRICSERVICE._serialized_start=181
29
- _METRICSERVICE._serialized_end=1220
29
+ _METRICSERVICE._serialized_end=1257
30
30
  # @@protoc_insertion_point(module_scope)
@@ -24,11 +24,6 @@ class MetricServiceStub(object):
24
24
  request_serializer=t2iapi_dot_metric_dot_metric__requests__pb2.SetMetricQualityValidityRequest.SerializeToString,
25
25
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
26
26
  )
27
- self.SetNoValue = channel.unary_unary(
28
- '/t2iapi.metric.MetricService/SetNoValue',
29
- request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
30
- response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
31
- )
32
27
  self.SetActivationStateAndUserConfirmableValue = channel.unary_unary(
33
28
  '/t2iapi.metric.MetricService/SetActivationStateAndUserConfirmableValue',
34
29
  request_serializer=t2iapi_dot_metric_dot_metric__requests__pb2.SetActivationStateAndUserConfirmableValueRequest.SerializeToString,
@@ -74,6 +69,11 @@ class MetricServiceStub(object):
74
69
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
75
70
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
76
71
  )
72
+ self.TransitionProvideValueToExpressNoValueAvailable = channel.unary_unary(
73
+ '/t2iapi.metric.MetricService/TransitionProvideValueToExpressNoValueAvailable',
74
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
75
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
76
+ )
77
77
 
78
78
 
79
79
  class MetricServiceServicer(object):
@@ -89,15 +89,6 @@ class MetricServiceServicer(object):
89
89
  context.set_details('Method not implemented!')
90
90
  raise NotImplementedError('Method not implemented!')
91
91
 
92
- def SetNoValue(self, request, context):
93
- """
94
- Set no metric values for the provided metric handle.
95
- The manipulated state can be set temporarily or persistent until a next manipulation call.
96
- """
97
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
98
- context.set_details('Method not implemented!')
99
- raise NotImplementedError('Method not implemented!')
100
-
101
92
  def SetActivationStateAndUserConfirmableValue(self, request, context):
102
93
  """
103
94
  For the metric with the provided handle do the following:
@@ -140,8 +131,11 @@ class MetricServiceServicer(object):
140
131
 
141
132
  def SetMetricValuesInRange(self, request, context):
142
133
  """
143
- Set metric values within a given range. If no limit value is defined, random but valid metric values shall be set.
144
- If a limit is defined, it shall not be violated by metric values.
134
+ Set new metric value(s) (resulting in new pm:MetricValue/@Value resp. pm:MetricValue/@Samples) within a given range.
135
+ The range is defined by lower and upper limit values which shall not be violated.
136
+ If no limit values are requested (empty strings), a random but valid metric @Value or @Samples shall be set.
137
+ If a limit is requested, it shall not be violated by the new metric @Value or @Samples.
138
+ Even if a metric @Value or @Samples is already present, a new metric @Value or @Samples shall be provided.
145
139
  """
146
140
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
147
141
  context.set_details('Method not implemented!')
@@ -192,6 +186,16 @@ class MetricServiceServicer(object):
192
186
  context.set_details('Method not implemented!')
193
187
  raise NotImplementedError('Method not implemented!')
194
188
 
189
+ def TransitionProvideValueToExpressNoValueAvailable(self, request, context):
190
+ """
191
+ For the metric with the provided handle perform the following transition:
192
+ - provide pm:MetricValue/@Value resp. @Samples and then
193
+ - express for the metric that no value is available.
194
+ """
195
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
196
+ context.set_details('Method not implemented!')
197
+ raise NotImplementedError('Method not implemented!')
198
+
195
199
 
196
200
  def add_MetricServiceServicer_to_server(servicer, server):
197
201
  rpc_method_handlers = {
@@ -200,11 +204,6 @@ def add_MetricServiceServicer_to_server(servicer, server):
200
204
  request_deserializer=t2iapi_dot_metric_dot_metric__requests__pb2.SetMetricQualityValidityRequest.FromString,
201
205
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
202
206
  ),
203
- 'SetNoValue': grpc.unary_unary_rpc_method_handler(
204
- servicer.SetNoValue,
205
- request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
206
- response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
207
- ),
208
207
  'SetActivationStateAndUserConfirmableValue': grpc.unary_unary_rpc_method_handler(
209
208
  servicer.SetActivationStateAndUserConfirmableValue,
210
209
  request_deserializer=t2iapi_dot_metric_dot_metric__requests__pb2.SetActivationStateAndUserConfirmableValueRequest.FromString,
@@ -250,6 +249,11 @@ def add_MetricServiceServicer_to_server(servicer, server):
250
249
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
251
250
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
252
251
  ),
252
+ 'TransitionProvideValueToExpressNoValueAvailable': grpc.unary_unary_rpc_method_handler(
253
+ servicer.TransitionProvideValueToExpressNoValueAvailable,
254
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
255
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
256
+ ),
253
257
  }
254
258
  generic_handler = grpc.method_handlers_generic_handler(
255
259
  't2iapi.metric.MetricService', rpc_method_handlers)
@@ -279,23 +283,6 @@ class MetricService(object):
279
283
  options, channel_credentials,
280
284
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
281
285
 
282
- @staticmethod
283
- def SetNoValue(request,
284
- target,
285
- options=(),
286
- channel_credentials=None,
287
- call_credentials=None,
288
- insecure=False,
289
- compression=None,
290
- wait_for_ready=None,
291
- timeout=None,
292
- metadata=None):
293
- return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/SetNoValue',
294
- t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
295
- t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
296
- options, channel_credentials,
297
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
298
-
299
286
  @staticmethod
300
287
  def SetActivationStateAndUserConfirmableValue(request,
301
288
  target,
@@ -448,3 +435,20 @@ class MetricService(object):
448
435
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
449
436
  options, channel_credentials,
450
437
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
438
+
439
+ @staticmethod
440
+ def TransitionProvideValueToExpressNoValueAvailable(request,
441
+ target,
442
+ options=(),
443
+ channel_credentials=None,
444
+ call_credentials=None,
445
+ insecure=False,
446
+ compression=None,
447
+ wait_for_ready=None,
448
+ timeout=None,
449
+ metadata=None):
450
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/TransitionProvideValueToExpressNoValueAvailable',
451
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
452
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
453
+ options, channel_credentials,
454
+ 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: 3.0.0.dev227
3
+ Version: 3.0.0.dev235
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
@@ -77,9 +77,9 @@ t2iapi/metric/metric_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
77
77
  t2iapi/metric/metric_responses_pb2.py,sha256=DKDvjrc6OEYHr7WnKf5mDvwYqNSqudWJ9FJfORBuMGo,1651
78
78
  t2iapi/metric/metric_responses_pb2.pyi,sha256=TlFuNiN9eTdBf_YIh51w7FgquBwnQRsxozfHNf6Wpig,1200
79
79
  t2iapi/metric/metric_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
80
- t2iapi/metric/service_pb2.py,sha256=gvJ7q23RSkyr_LDwbYeF9vfQ28GGoWKPYIcF7bABny0,2850
80
+ t2iapi/metric/service_pb2.py,sha256=E3FzCvH-uCStnL4MmsU3FGJ4RkxwuISc6aMt_DAlNK8,2889
81
81
  t2iapi/metric/service_pb2.pyi,sha256=puKT2zdMXgS7d6uMd-LUnqSQLtXQNmYAzd8W7u4pwwA,401
82
- t2iapi/metric/service_pb2_grpc.py,sha256=BXZJ2T9EdEL2Jo4HzUxKpdkv0JP3dZKEPidL87ZTgjg,23135
82
+ t2iapi/metric/service_pb2_grpc.py,sha256=RKv4yXlkKe_1-QJLFjKmqbrmejpyuZDuTFkflqST5UU,23787
83
83
  t2iapi/metric/types_pb2.py,sha256=iiNOqzOM0gPdLa03mv0qRe3l3mGikVqbqzB3bQ66xxM,2520
84
84
  t2iapi/metric/types_pb2.pyi,sha256=-43GGxDwChfLsD1mlCpLta-4GjCVSabRWRJNLINNAUw,1662
85
85
  t2iapi/metric/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -94,9 +94,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=R_hyAtZHx1x8LkLLCufSrFhLLzHM4QGTuSl5
94
94
  t2iapi/operation/types_pb2.py,sha256=rtqtnpN9ces6QHiv-0HcBTR2Dtz9EOYk4IAJZpmmcfY,1274
95
95
  t2iapi/operation/types_pb2.pyi,sha256=YCXpIADZef4M66EI0R3H2vAaLeVqLwqw9AEdHTBC17A,425
96
96
  t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
97
- t2iapi-3.0.0.dev227.dist-info/LICENSE,sha256=Rlfvr2wrixcK2uXU1Juqg9F7Ol0FiBJCZxtip4175XQ,1081
98
- t2iapi-3.0.0.dev227.dist-info/METADATA,sha256=3XWiJMDpFZTSeow0iLfMwW2UYBYXoCqejluqpZmNE7k,835
99
- t2iapi-3.0.0.dev227.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
100
- t2iapi-3.0.0.dev227.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
101
- t2iapi-3.0.0.dev227.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
- t2iapi-3.0.0.dev227.dist-info/RECORD,,
97
+ t2iapi-3.0.0.dev235.dist-info/LICENSE,sha256=Rlfvr2wrixcK2uXU1Juqg9F7Ol0FiBJCZxtip4175XQ,1081
98
+ t2iapi-3.0.0.dev235.dist-info/METADATA,sha256=LuwGQShFZh17aSYCHEb4byoMlKEQEGayx0mOMzUUzDM,835
99
+ t2iapi-3.0.0.dev235.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
100
+ t2iapi-3.0.0.dev235.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
101
+ t2iapi-3.0.0.dev235.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
+ t2iapi-3.0.0.dev235.dist-info/RECORD,,