t2iapi 4.3.0.dev550__py3-none-any.whl → 4.3.0.dev558__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.
@@ -505,9 +505,9 @@ class DeviceServiceServicer(object):
505
505
  def SetSafetyClassificationToMedAMedBOrMedC(self, request, context):
506
506
  """
507
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.
508
+ 'MedA', 'MedB' and 'MedC' are of type pm:SafetyClassification as defined in the IEEE Std 11073-10207-2017.
509
+ The manipulated device state shall be persistent until a next manipulation call. If the device is not able to
510
+ maintain the static state, it shall return RESULT_NOT_SUPPORTED.
511
511
  """
512
512
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
513
513
  context.set_details('Method not implemented!')
@@ -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\x94\x0b\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.BasicResponse\x12m\n8TransitionAccuracyFromWithinLimitsToBelowSpecifiedLimits\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\xb6\x0c\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.BasicResponse\x12m\n8TransitionAccuracyFromWithinLimitsToBelowSpecifiedLimits\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12N\n\x19SetMetricAvailabilityIntr\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12P\n\x1bSetMetricCategoryMsrmtOrClc\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=1609
30
+ _globals['_METRICSERVICE']._serialized_end=1771
31
31
  # @@protoc_insertion_point(module_scope)
@@ -94,6 +94,16 @@ class MetricServiceStub(object):
94
94
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
95
95
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
96
96
  )
97
+ self.SetMetricAvailabilityIntr = channel.unary_unary(
98
+ '/t2iapi.metric.MetricService/SetMetricAvailabilityIntr',
99
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
100
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
101
+ )
102
+ self.SetMetricCategoryMsrmtOrClc = channel.unary_unary(
103
+ '/t2iapi.metric.MetricService/SetMetricCategoryMsrmtOrClc',
104
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
105
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
106
+ )
97
107
 
98
108
 
99
109
  class MetricServiceServicer(object):
@@ -255,6 +265,28 @@ class MetricServiceServicer(object):
255
265
  context.set_details('Method not implemented!')
256
266
  raise NotImplementedError('Method not implemented!')
257
267
 
268
+ def SetMetricAvailabilityIntr(self, request, context):
269
+ """
270
+ Request for the metric with the given handle to set its @MetricAvailability to 'Intr'. 'Intr' is of type
271
+ pm:MetricAvailability as defined in the IEEE Std 11073-10207-2017. The manipulated device state shall be persistent
272
+ until a next manipulation call. If the device is not able to maintain the static state, it
273
+ shall return RESULT_NOT_SUPPORTED.
274
+ """
275
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
276
+ context.set_details('Method not implemented!')
277
+ raise NotImplementedError('Method not implemented!')
278
+
279
+ def SetMetricCategoryMsrmtOrClc(self, request, context):
280
+ """
281
+ Set the @MetricCategory to a value ∈ { Msrmt , Clc } for the pm:AbstractMetricDescriptor with the provided handle.
282
+ 'Msrmt' and 'Clc' are of type pm:MetricCategory as defined in the IEEE Std 11073-10207-2017. The manipulated
283
+ device state shall be persistent until a next manipulation call. If the device is not able to maintain the static
284
+ state, it shall return RESULT_NOT_SUPPORTED.
285
+ """
286
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
287
+ context.set_details('Method not implemented!')
288
+ raise NotImplementedError('Method not implemented!')
289
+
258
290
 
259
291
  def add_MetricServiceServicer_to_server(servicer, server):
260
292
  rpc_method_handlers = {
@@ -333,6 +365,16 @@ def add_MetricServiceServicer_to_server(servicer, server):
333
365
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
334
366
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
335
367
  ),
368
+ 'SetMetricAvailabilityIntr': grpc.unary_unary_rpc_method_handler(
369
+ servicer.SetMetricAvailabilityIntr,
370
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
371
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
372
+ ),
373
+ 'SetMetricCategoryMsrmtOrClc': grpc.unary_unary_rpc_method_handler(
374
+ servicer.SetMetricCategoryMsrmtOrClc,
375
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
376
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
377
+ ),
336
378
  }
337
379
  generic_handler = grpc.method_handlers_generic_handler(
338
380
  't2iapi.metric.MetricService', rpc_method_handlers)
@@ -599,3 +641,37 @@ class MetricService(object):
599
641
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
600
642
  options, channel_credentials,
601
643
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
644
+
645
+ @staticmethod
646
+ def SetMetricAvailabilityIntr(request,
647
+ target,
648
+ options=(),
649
+ channel_credentials=None,
650
+ call_credentials=None,
651
+ insecure=False,
652
+ compression=None,
653
+ wait_for_ready=None,
654
+ timeout=None,
655
+ metadata=None):
656
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/SetMetricAvailabilityIntr',
657
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
658
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
659
+ options, channel_credentials,
660
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
661
+
662
+ @staticmethod
663
+ def SetMetricCategoryMsrmtOrClc(request,
664
+ target,
665
+ options=(),
666
+ channel_credentials=None,
667
+ call_credentials=None,
668
+ insecure=False,
669
+ compression=None,
670
+ wait_for_ready=None,
671
+ timeout=None,
672
+ metadata=None):
673
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/SetMetricCategoryMsrmtOrClc',
674
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
675
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
676
+ options, channel_credentials,
677
+ 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.dev550
3
+ Version: 4.3.0.dev558
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
@@ -83,7 +83,7 @@ t2iapi/device/device_responses_pb2.pyi,sha256=DyIWI-KyvoZKpyhfYgfiSuOYFmC6lkiwO4
83
83
  t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
84
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=Lv9YiGKPybr7JeHt56mgpD_4HyNC-EkTbReNmE_3tpc,63886
86
+ t2iapi/device/service_pb2_grpc.py,sha256=7mo9lgQRoAdllBoGUFxLA5vAEc2K8ORqGEcweOqoEqE,63892
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
@@ -97,9 +97,9 @@ t2iapi/metric/metric_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
97
97
  t2iapi/metric/metric_responses_pb2.py,sha256=xrZjToub5pCbk3geByQ7UTj_AWHkzorO1Rc2jhKuR_I,2184
98
98
  t2iapi/metric/metric_responses_pb2.pyi,sha256=kb_YU85iphAUSxDa6LMeAwEsOYNhP27mrQJkofFxeXE,1703
99
99
  t2iapi/metric/metric_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
100
- t2iapi/metric/service_pb2.py,sha256=3jLEA4AyjAmxd0nqhepYxLhi7FRzAQm6xSJyBjJbMU4,3417
100
+ t2iapi/metric/service_pb2.py,sha256=ctv0rCBuXwdGDTUFLjMjWjd7gKCRNyk--NNsvVW-gts,3617
101
101
  t2iapi/metric/service_pb2.pyi,sha256=puKT2zdMXgS7d6uMd-LUnqSQLtXQNmYAzd8W7u4pwwA,401
102
- t2iapi/metric/service_pb2_grpc.py,sha256=LWDuyf9JTQu4ep9ZNGdJXBkTx52ITdcyee1jqkwqRtU,31990
102
+ t2iapi/metric/service_pb2_grpc.py,sha256=4FpnU65kkZblbNwOOjKKwgvFlGoVvwgCs8LW_Cr0pFc,36196
103
103
  t2iapi/metric/types_pb2.py,sha256=g2pcmd1kc87fBvqM0w-QgL8VZzJipWphxfR1DRRQTY4,2931
104
104
  t2iapi/metric/types_pb2.pyi,sha256=DiwSJTxD2QNFUZRbstU44z6EhwakHc3bSBy-os2XrEE,3383
105
105
  t2iapi/metric/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.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,,
117
+ t2iapi-4.3.0.dev558.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
+ t2iapi-4.3.0.dev558.dist-info/METADATA,sha256=J9UV1Pl-BsK4pSyC4rnESWSD-7xbHiO2tZO0KxH6GPk,835
119
+ t2iapi-4.3.0.dev558.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
+ t2iapi-4.3.0.dev558.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
+ t2iapi-4.3.0.dev558.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
+ t2iapi-4.3.0.dev558.dist-info/RECORD,,