t2iapi 3.0.0.dev201__py3-none-any.whl → 3.0.0.dev204__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.
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
  from t2iapi.alert import types_pb2 as t2iapi_dot_alert_dot_types__pb2
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!t2iapi/alert/alert_requests.proto\x12\x0ct2iapi.alert\x1a\x18t2iapi/alert/types.proto\"D\n SetAlertConditionPresenceRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x10\n\x08presence\x18\x02 \x01(\x08\"d\n\x1dSetAlertSignalPresenceRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x33\n\x08presence\x18\x02 \x01(\x0e\x32!.t2iapi.alert.AlertSignalPresence\"t\n&SetAlarmSignalInactivationStateRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12:\n\x06\x65nable\x18\x02 \x01(\x0e\x32*.t2iapi.alert.AlarmSignalInactivationState\"|\n\x1f\x41lertConditionEscalationRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12I\n\x12\x65scalation_process\x18\x02 \x01(\x0e\x32-.t2iapi.alert.AlertConditionEscalationProcessB1\n com.draeger.medical.t2iapi.alertB\rAlertRequestsb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!t2iapi/alert/alert_requests.proto\x12\x0ct2iapi.alert\x1a\x18t2iapi/alert/types.proto\"D\n SetAlertConditionPresenceRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x10\n\x08presence\x18\x02 \x01(\x08\"d\n\x1dSetAlertSignalPresenceRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x33\n\x08presence\x18\x02 \x01(\x0e\x32!.t2iapi.alert.AlertSignalPresence\"t\n&SetAlarmSignalInactivationStateRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12:\n\x06\x65nable\x18\x02 \x01(\x0e\x32*.t2iapi.alert.AlarmSignalInactivationState\"|\n\x1f\x41lertConditionEscalationRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12I\n\x12\x65scalation_process\x18\x02 \x01(\x0e\x32-.t2iapi.alert.AlertConditionEscalationProcess\"\x81\x01\n!SetSomeAlertSignalPresenceRequest\x12\x0e\n\x06handle\x18\x01 \x03(\t\x12\x17\n\x0fmin_subset_size\x18\x02 \x01(\r\x12\x33\n\x08presence\x18\x03 \x03(\x0e\x32!.t2iapi.alert.AlertSignalPresenceB1\n com.draeger.medical.t2iapi.alertB\rAlertRequestsb\x06proto3')
18
18
 
19
19
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
20
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.alert.alert_requests_pb2', globals())
@@ -30,4 +30,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
30
  _SETALARMSIGNALINACTIVATIONSTATEREQUEST._serialized_end=365
31
31
  _ALERTCONDITIONESCALATIONREQUEST._serialized_start=367
32
32
  _ALERTCONDITIONESCALATIONREQUEST._serialized_end=491
33
+ _SETSOMEALERTSIGNALPRESENCEREQUEST._serialized_start=494
34
+ _SETSOMEALERTSIGNALPRESENCEREQUEST._serialized_end=623
33
35
  # @@protoc_insertion_point(module_scope)
@@ -1,7 +1,8 @@
1
1
  from t2iapi.alert import types_pb2 as _types_pb2
2
+ from google.protobuf.internal import containers as _containers
2
3
  from google.protobuf import descriptor as _descriptor
3
4
  from google.protobuf import message as _message
4
- from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
5
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Optional as _Optional, Union as _Union
5
6
 
6
7
  DESCRIPTOR: _descriptor.FileDescriptor
7
8
 
@@ -36,3 +37,13 @@ class SetAlertSignalPresenceRequest(_message.Message):
36
37
  handle: str
37
38
  presence: _types_pb2.AlertSignalPresence
38
39
  def __init__(self, handle: _Optional[str] = ..., presence: _Optional[_Union[_types_pb2.AlertSignalPresence, str]] = ...) -> None: ...
40
+
41
+ class SetSomeAlertSignalPresenceRequest(_message.Message):
42
+ __slots__ = ["handle", "min_subset_size", "presence"]
43
+ HANDLE_FIELD_NUMBER: _ClassVar[int]
44
+ MIN_SUBSET_SIZE_FIELD_NUMBER: _ClassVar[int]
45
+ PRESENCE_FIELD_NUMBER: _ClassVar[int]
46
+ handle: _containers.RepeatedScalarFieldContainer[str]
47
+ min_subset_size: int
48
+ presence: _containers.RepeatedScalarFieldContainer[_types_pb2.AlertSignalPresence]
49
+ def __init__(self, handle: _Optional[_Iterable[str]] = ..., min_subset_size: _Optional[int] = ..., presence: _Optional[_Iterable[_Union[_types_pb2.AlertSignalPresence, str]]] = ...) -> None: ...
@@ -16,7 +16,7 @@ from t2iapi import basic_requests_pb2 as t2iapi_dot_basic__requests__pb2
16
16
  from t2iapi.alert import alert_requests_pb2 as t2iapi_dot_alert_dot_alert__requests__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1at2iapi/alert/service.proto\x12\x0ct2iapi.alert\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a!t2iapi/alert/alert_requests.proto2\xa0\x05\n\x0c\x41lertService\x12\x62\n\x19SetAlertConditionPresence\x12..t2iapi.alert.SetAlertConditionPresenceRequest\x1a\x15.t2iapi.BasicResponse\x12\\\n\x16SetAlertSignalPresence\x12+.t2iapi.alert.SetAlertSignalPresenceRequest\x1a\x15.t2iapi.BasicResponse\x12`\n\x18\x41lertConditionEscalation\x12-.t2iapi.alert.AlertConditionEscalationRequest\x1a\x15.t2iapi.BasicResponse\x12n\n\x1fSetAlarmSignalInactivationState\x12\x34.t2iapi.alert.SetAlarmSignalInactivationStateRequest\x1a\x15.t2iapi.BasicResponse\x12P\n\x1bSetAlertSystemNotFunctional\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x45\n\x10InitiateAlarmOff\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x63\n.SetAsActivationStateOnAndChangeAcPresenceFalse\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB3\n com.draeger.medical.t2iapi.alertB\x0f\x41lertApiServiceb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1at2iapi/alert/service.proto\x12\x0ct2iapi.alert\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a!t2iapi/alert/alert_requests.proto2\x86\x06\n\x0c\x41lertService\x12\x62\n\x19SetAlertConditionPresence\x12..t2iapi.alert.SetAlertConditionPresenceRequest\x1a\x15.t2iapi.BasicResponse\x12\\\n\x16SetAlertSignalPresence\x12+.t2iapi.alert.SetAlertSignalPresenceRequest\x1a\x15.t2iapi.BasicResponse\x12`\n\x18\x41lertConditionEscalation\x12-.t2iapi.alert.AlertConditionEscalationRequest\x1a\x15.t2iapi.BasicResponse\x12n\n\x1fSetAlarmSignalInactivationState\x12\x34.t2iapi.alert.SetAlarmSignalInactivationStateRequest\x1a\x15.t2iapi.BasicResponse\x12P\n\x1bSetAlertSystemNotFunctional\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x45\n\x10InitiateAlarmOff\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x63\n.SetAsActivationStateOnAndChangeAcPresenceFalse\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x64\n\x1aSetSomeAlertSignalPresence\x12/.t2iapi.alert.SetSomeAlertSignalPresenceRequest\x1a\x15.t2iapi.BasicResponseB3\n com.draeger.medical.t2iapi.alertB\x0f\x41lertApiServiceb\x06proto3')
20
20
 
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.alert.service_pb2', globals())
@@ -25,5 +25,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
25
25
  DESCRIPTOR._options = None
26
26
  DESCRIPTOR._serialized_options = b'\n com.draeger.medical.t2iapi.alertB\017AlertApiService'
27
27
  _ALERTSERVICE._serialized_start=139
28
- _ALERTSERVICE._serialized_end=811
28
+ _ALERTSERVICE._serialized_end=913
29
29
  # @@protoc_insertion_point(module_scope)
@@ -53,6 +53,11 @@ class AlertServiceStub(object):
53
53
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
54
54
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
55
55
  )
56
+ self.SetSomeAlertSignalPresence = channel.unary_unary(
57
+ '/t2iapi.alert.AlertService/SetSomeAlertSignalPresence',
58
+ request_serializer=t2iapi_dot_alert_dot_alert__requests__pb2.SetSomeAlertSignalPresenceRequest.SerializeToString,
59
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
60
+ )
56
61
 
57
62
 
58
63
  class AlertServiceServicer(object):
@@ -134,6 +139,17 @@ class AlertServiceServicer(object):
134
139
  context.set_details('Method not implemented!')
135
140
  raise NotImplementedError('Method not implemented!')
136
141
 
142
+ def SetSomeAlertSignalPresence(self, request, context):
143
+ """
144
+ Set the pm:AlertSignalState/@Presence for a subset of requested alert signals to the requested
145
+ @Presence value(s).
146
+ The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
147
+ the static state, it shall return RESULT_NOT_SUPPORTED.
148
+ """
149
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
150
+ context.set_details('Method not implemented!')
151
+ raise NotImplementedError('Method not implemented!')
152
+
137
153
 
138
154
  def add_AlertServiceServicer_to_server(servicer, server):
139
155
  rpc_method_handlers = {
@@ -172,6 +188,11 @@ def add_AlertServiceServicer_to_server(servicer, server):
172
188
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
173
189
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
174
190
  ),
191
+ 'SetSomeAlertSignalPresence': grpc.unary_unary_rpc_method_handler(
192
+ servicer.SetSomeAlertSignalPresence,
193
+ request_deserializer=t2iapi_dot_alert_dot_alert__requests__pb2.SetSomeAlertSignalPresenceRequest.FromString,
194
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
195
+ ),
175
196
  }
176
197
  generic_handler = grpc.method_handlers_generic_handler(
177
198
  't2iapi.alert.AlertService', rpc_method_handlers)
@@ -302,3 +323,20 @@ class AlertService(object):
302
323
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
303
324
  options, channel_credentials,
304
325
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
326
+
327
+ @staticmethod
328
+ def SetSomeAlertSignalPresence(request,
329
+ target,
330
+ options=(),
331
+ channel_credentials=None,
332
+ call_credentials=None,
333
+ insecure=False,
334
+ compression=None,
335
+ wait_for_ready=None,
336
+ timeout=None,
337
+ metadata=None):
338
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.alert.AlertService/SetSomeAlertSignalPresence',
339
+ t2iapi_dot_alert_dot_alert__requests__pb2.SetSomeAlertSignalPresenceRequest.SerializeToString,
340
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
341
+ options, channel_credentials,
342
+ 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.dev201
3
+ Version: 3.0.0.dev204
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
@@ -22,12 +22,12 @@ t2iapi/activation_state/types_pb2.pyi,sha256=XO-qkYS0WnWOBpYxV82FRUKh7hDve8flOoC
22
22
  t2iapi/activation_state/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
23
23
  t2iapi/alert/__init__.py,sha256=yICa5h_fgNAUxTFqTH8kcDhu8X-Cn0yR2UAL1z8fN6o,149
24
24
  t2iapi/alert/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,149
25
- t2iapi/alert/alert_requests_pb2.py,sha256=H-kSmClsoYD5iFoKSLRo7pxqnwF_D3RFP_7DSMOa63o,2203
26
- t2iapi/alert/alert_requests_pb2.pyi,sha256=hB__JsvYegP0QlrYlax8AoEjelFHo1Bnak5DL4ZYvj4,1788
25
+ t2iapi/alert/alert_requests_pb2.py,sha256=Xl89UbmaJ7S1gIALrM07UyMYwgVdDbo0_vm_13Nax8k,2524
26
+ t2iapi/alert/alert_requests_pb2.pyi,sha256=1QcmgNgMZX9waPTQRp82Kx9bm69StY0vZg3B9Mifpqs,2492
27
27
  t2iapi/alert/alert_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
28
- t2iapi/alert/service_pb2.py,sha256=FXZmMhCR109FcKSzJzgtP4UamdP6ZK0Fq2BmRERr9PQ,2267
28
+ t2iapi/alert/service_pb2.py,sha256=K9Uvcgegw3fSUNVAgPV3bdCS21TYDTRoIq7U1H0ASsI,2388
29
29
  t2iapi/alert/service_pb2.pyi,sha256=ocFt9F7laiG2LqUpiahu7seKQMBb99Sr34ryKbsvRYI,326
30
- t2iapi/alert/service_pb2_grpc.py,sha256=QuWUWmd0jjIj2oIxOJrakayatPXYNqLMGh9bkm6c0po,15058
30
+ t2iapi/alert/service_pb2_grpc.py,sha256=3VTdmNKHuAhtC_Ym5gAFV9Mibhze8K8cLB5Of2WJOO8,17149
31
31
  t2iapi/alert/types_pb2.py,sha256=X9-9MloGsTyiANRaMPt-BlCgu_Zfu4jva1aXtwX7osU,2261
32
32
  t2iapi/alert/types_pb2.pyi,sha256=0MzhHyuRkg3L7LwNdUDj4Hp6VUYXvYkCdN3ZhOA5CXc,1409
33
33
  t2iapi/alert/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.dev201.dist-info/LICENSE,sha256=Rlfvr2wrixcK2uXU1Juqg9F7Ol0FiBJCZxtip4175XQ,1081
98
- t2iapi-3.0.0.dev201.dist-info/METADATA,sha256=9CAeD65_1UwJT6Wv6s0BWYr22jNBpfmWP4fdKZHAJ5o,805
99
- t2iapi-3.0.0.dev201.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
100
- t2iapi-3.0.0.dev201.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
101
- t2iapi-3.0.0.dev201.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
- t2iapi-3.0.0.dev201.dist-info/RECORD,,
97
+ t2iapi-3.0.0.dev204.dist-info/LICENSE,sha256=Rlfvr2wrixcK2uXU1Juqg9F7Ol0FiBJCZxtip4175XQ,1081
98
+ t2iapi-3.0.0.dev204.dist-info/METADATA,sha256=JOXuf1k9x8WIIy4HxMysIOP-v_mc368kGCny6edtWhc,805
99
+ t2iapi-3.0.0.dev204.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
100
+ t2iapi-3.0.0.dev204.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
101
+ t2iapi-3.0.0.dev204.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
+ t2iapi-3.0.0.dev204.dist-info/RECORD,,