t2iapi 4.3.0.dev558__py3-none-any.whl → 4.3.0.dev563__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.
- t2iapi/metric/service_pb2.py +2 -2
- t2iapi/metric/service_pb2_grpc.py +38 -0
- {t2iapi-4.3.0.dev558.dist-info → t2iapi-4.3.0.dev563.dist-info}/METADATA +1 -1
- {t2iapi-4.3.0.dev558.dist-info → t2iapi-4.3.0.dev563.dist-info}/RECORD +8 -8
- {t2iapi-4.3.0.dev558.dist-info → t2iapi-4.3.0.dev563.dist-info}/LICENSE +0 -0
- {t2iapi-4.3.0.dev558.dist-info → t2iapi-4.3.0.dev563.dist-info}/WHEEL +0 -0
- {t2iapi-4.3.0.dev558.dist-info → t2iapi-4.3.0.dev563.dist-info}/top_level.txt +0 -0
- {t2iapi-4.3.0.dev558.dist-info → t2iapi-4.3.0.dev563.dist-info}/zip-safe +0 -0
t2iapi/metric/service_pb2.py
CHANGED
|
@@ -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\
|
|
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\x89\r\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.BasicResponse\x12Q\n\x1cSetMetricCategorySetOrPreset\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=
|
|
30
|
+
_globals['_METRICSERVICE']._serialized_end=1854
|
|
31
31
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -104,6 +104,11 @@ class MetricServiceStub(object):
|
|
|
104
104
|
request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
105
105
|
response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
106
106
|
)
|
|
107
|
+
self.SetMetricCategorySetOrPreset = channel.unary_unary(
|
|
108
|
+
'/t2iapi.metric.MetricService/SetMetricCategorySetOrPreset',
|
|
109
|
+
request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
110
|
+
response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
111
|
+
)
|
|
107
112
|
|
|
108
113
|
|
|
109
114
|
class MetricServiceServicer(object):
|
|
@@ -287,6 +292,17 @@ class MetricServiceServicer(object):
|
|
|
287
292
|
context.set_details('Method not implemented!')
|
|
288
293
|
raise NotImplementedError('Method not implemented!')
|
|
289
294
|
|
|
295
|
+
def SetMetricCategorySetOrPreset(self, request, context):
|
|
296
|
+
"""
|
|
297
|
+
Set the @MetricCategory to a value ∈ { Set , Preset } for the pm:AbstractMetricDescriptor with the provided handle.
|
|
298
|
+
'Set' and 'Preset' are of type pm:MetricCategory as defined in the IEEE Std 11073-10207-2017. The manipulated
|
|
299
|
+
device state shall be persistent until a next manipulation call. If the device is not able to maintain the static
|
|
300
|
+
state, it shall return RESULT_NOT_SUPPORTED.
|
|
301
|
+
"""
|
|
302
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
303
|
+
context.set_details('Method not implemented!')
|
|
304
|
+
raise NotImplementedError('Method not implemented!')
|
|
305
|
+
|
|
290
306
|
|
|
291
307
|
def add_MetricServiceServicer_to_server(servicer, server):
|
|
292
308
|
rpc_method_handlers = {
|
|
@@ -375,6 +391,11 @@ def add_MetricServiceServicer_to_server(servicer, server):
|
|
|
375
391
|
request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
|
|
376
392
|
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
377
393
|
),
|
|
394
|
+
'SetMetricCategorySetOrPreset': grpc.unary_unary_rpc_method_handler(
|
|
395
|
+
servicer.SetMetricCategorySetOrPreset,
|
|
396
|
+
request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
|
|
397
|
+
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
398
|
+
),
|
|
378
399
|
}
|
|
379
400
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
380
401
|
't2iapi.metric.MetricService', rpc_method_handlers)
|
|
@@ -675,3 +696,20 @@ class MetricService(object):
|
|
|
675
696
|
t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
676
697
|
options, channel_credentials,
|
|
677
698
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
699
|
+
|
|
700
|
+
@staticmethod
|
|
701
|
+
def SetMetricCategorySetOrPreset(request,
|
|
702
|
+
target,
|
|
703
|
+
options=(),
|
|
704
|
+
channel_credentials=None,
|
|
705
|
+
call_credentials=None,
|
|
706
|
+
insecure=False,
|
|
707
|
+
compression=None,
|
|
708
|
+
wait_for_ready=None,
|
|
709
|
+
timeout=None,
|
|
710
|
+
metadata=None):
|
|
711
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.metric.MetricService/SetMetricCategorySetOrPreset',
|
|
712
|
+
t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
713
|
+
t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
714
|
+
options, channel_credentials,
|
|
715
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -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=
|
|
100
|
+
t2iapi/metric/service_pb2.py,sha256=p3emcYDzsQeUwtcxonANvapE7MDZniryeWhnHSJT9qw,3717
|
|
101
101
|
t2iapi/metric/service_pb2.pyi,sha256=puKT2zdMXgS7d6uMd-LUnqSQLtXQNmYAzd8W7u4pwwA,401
|
|
102
|
-
t2iapi/metric/service_pb2_grpc.py,sha256=
|
|
102
|
+
t2iapi/metric/service_pb2_grpc.py,sha256=zZuMSll0MxE55J4I7nmEgzE8ls45u3Am31WeJD7hLzs,38334
|
|
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.
|
|
118
|
-
t2iapi-4.3.0.
|
|
119
|
-
t2iapi-4.3.0.
|
|
120
|
-
t2iapi-4.3.0.
|
|
121
|
-
t2iapi-4.3.0.
|
|
122
|
-
t2iapi-4.3.0.
|
|
117
|
+
t2iapi-4.3.0.dev563.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
|
|
118
|
+
t2iapi-4.3.0.dev563.dist-info/METADATA,sha256=O-rhmsdpEbhAg5ASY1eXqFH-Y_vNweZfgInNRXBzZLs,835
|
|
119
|
+
t2iapi-4.3.0.dev563.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
|
120
|
+
t2iapi-4.3.0.dev563.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
|
|
121
|
+
t2iapi-4.3.0.dev563.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
122
|
+
t2iapi-4.3.0.dev563.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|