t2iapi 4.2.0.dev424__py3-none-any.whl → 4.2.0.dev437__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/device/device_requests_pb2.py +15 -11
- t2iapi/device/device_requests_pb2.pyi +16 -0
- t2iapi/device/device_responses_pb2.py +15 -11
- t2iapi/device/device_responses_pb2.pyi +16 -0
- t2iapi/device/service_pb2.py +2 -2
- t2iapi/device/service_pb2_grpc.py +141 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev437.dist-info}/METADATA +1 -1
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev437.dist-info}/RECORD +12 -12
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev437.dist-info}/LICENSE +0 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev437.dist-info}/WHEEL +0 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev437.dist-info}/top_level.txt +0 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev437.dist-info}/zip-safe +0 -0
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from t2iapi.device import types_pb2 as t2iapi_dot_device_dot_types__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#t2iapi/device/device_requests.proto\x12\rt2iapi.device\x1a\x19t2iapi/device/types.proto\"A\n\x14TriggerReportRequest\x12)\n\x06report\x18\x01 \x01(\x0e\x32\x19.t2iapi.device.ReportType\"N\n\x1dSetDeviceOperatingModeRequest\x12-\n\x04mode\x18\x01 \x01(\x0e\x32\x1f.t2iapi.device.MdsOperatingMode\"&\n\x12SetLanguageRequest\x12\x10\n\x08language\x18\x01 \x01(\t\"a\n%GetRemovableDescriptorsOfClassRequest\x12\x38\n\x10\x64\x65scriptor_class\x18\x01 \x01(\x0e\x32\x1e.t2iapi.device.DescriptorClass\"5\n\x16SetBatteryUsageRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x0b\n\x03use\x18\x02 \x01(\x08\"0\n\x1eTriggerDescriptorUpdateRequest\x12\x0e\n\x06handle\x18\x01 \x03(\t\"{\n-ProvideInformationAboutLastCalibrationRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12:\n\x11\x63\x61libration_state\x18\x02 \x01(\x0e\x32\x1f.t2iapi.device.CalibrationState\"{\n-ProvideInformationAboutNextCalibrationRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12:\n\x11\x63\x61libration_state\x18\x02 \x01(\x0e\x32\x1f.t2iapi.device.
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#t2iapi/device/device_requests.proto\x12\rt2iapi.device\x1a\x19t2iapi/device/types.proto\"A\n\x14TriggerReportRequest\x12)\n\x06report\x18\x01 \x01(\x0e\x32\x19.t2iapi.device.ReportType\"N\n\x1dSetDeviceOperatingModeRequest\x12-\n\x04mode\x18\x01 \x01(\x0e\x32\x1f.t2iapi.device.MdsOperatingMode\"&\n\x12SetLanguageRequest\x12\x10\n\x08language\x18\x01 \x01(\t\";\n\x17SetMdsUiLanguageRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\"a\n%GetRemovableDescriptorsOfClassRequest\x12\x38\n\x10\x64\x65scriptor_class\x18\x01 \x01(\x0e\x32\x1e.t2iapi.device.DescriptorClass\"5\n\x16SetBatteryUsageRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x0b\n\x03use\x18\x02 \x01(\x08\"0\n\x1eTriggerDescriptorUpdateRequest\x12\x0e\n\x06handle\x18\x01 \x03(\t\"{\n-ProvideInformationAboutLastCalibrationRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12:\n\x11\x63\x61libration_state\x18\x02 \x01(\x0e\x32\x1f.t2iapi.device.CalibrationState\"{\n-ProvideInformationAboutNextCalibrationRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12:\n\x11\x63\x61libration_state\x18\x02 \x01(\x0e\x32\x1f.t2iapi.device.CalibrationState\"U\n.InsertContainmentTreeEntryForSequenceIdRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x13\n\x0bsequence_id\x18\x02 \x01(\tB3\n!com.draeger.medical.t2iapi.deviceB\x0e\x44\x65viceRequestsb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,14 +29,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
29
29
|
_globals['_SETDEVICEOPERATINGMODEREQUEST']._serialized_end=226
|
|
30
30
|
_globals['_SETLANGUAGEREQUEST']._serialized_start=228
|
|
31
31
|
_globals['_SETLANGUAGEREQUEST']._serialized_end=266
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
32
|
+
_globals['_SETMDSUILANGUAGEREQUEST']._serialized_start=268
|
|
33
|
+
_globals['_SETMDSUILANGUAGEREQUEST']._serialized_end=327
|
|
34
|
+
_globals['_GETREMOVABLEDESCRIPTORSOFCLASSREQUEST']._serialized_start=329
|
|
35
|
+
_globals['_GETREMOVABLEDESCRIPTORSOFCLASSREQUEST']._serialized_end=426
|
|
36
|
+
_globals['_SETBATTERYUSAGEREQUEST']._serialized_start=428
|
|
37
|
+
_globals['_SETBATTERYUSAGEREQUEST']._serialized_end=481
|
|
38
|
+
_globals['_TRIGGERDESCRIPTORUPDATEREQUEST']._serialized_start=483
|
|
39
|
+
_globals['_TRIGGERDESCRIPTORUPDATEREQUEST']._serialized_end=531
|
|
40
|
+
_globals['_PROVIDEINFORMATIONABOUTLASTCALIBRATIONREQUEST']._serialized_start=533
|
|
41
|
+
_globals['_PROVIDEINFORMATIONABOUTLASTCALIBRATIONREQUEST']._serialized_end=656
|
|
42
|
+
_globals['_PROVIDEINFORMATIONABOUTNEXTCALIBRATIONREQUEST']._serialized_start=658
|
|
43
|
+
_globals['_PROVIDEINFORMATIONABOUTNEXTCALIBRATIONREQUEST']._serialized_end=781
|
|
44
|
+
_globals['_INSERTCONTAINMENTTREEENTRYFORSEQUENCEIDREQUEST']._serialized_start=783
|
|
45
|
+
_globals['_INSERTCONTAINMENTTREEENTRYFORSEQUENCEIDREQUEST']._serialized_end=868
|
|
42
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,6 +24,14 @@ class SetLanguageRequest(_message.Message):
|
|
|
24
24
|
language: str
|
|
25
25
|
def __init__(self, language: _Optional[str] = ...) -> None: ...
|
|
26
26
|
|
|
27
|
+
class SetMdsUiLanguageRequest(_message.Message):
|
|
28
|
+
__slots__ = ("handle", "language")
|
|
29
|
+
HANDLE_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
LANGUAGE_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
handle: str
|
|
32
|
+
language: str
|
|
33
|
+
def __init__(self, handle: _Optional[str] = ..., language: _Optional[str] = ...) -> None: ...
|
|
34
|
+
|
|
27
35
|
class GetRemovableDescriptorsOfClassRequest(_message.Message):
|
|
28
36
|
__slots__ = ("descriptor_class",)
|
|
29
37
|
DESCRIPTOR_CLASS_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -59,3 +67,11 @@ class ProvideInformationAboutNextCalibrationRequest(_message.Message):
|
|
|
59
67
|
handle: str
|
|
60
68
|
calibration_state: _types_pb2.CalibrationState
|
|
61
69
|
def __init__(self, handle: _Optional[str] = ..., calibration_state: _Optional[_Union[_types_pb2.CalibrationState, str]] = ...) -> None: ...
|
|
70
|
+
|
|
71
|
+
class InsertContainmentTreeEntryForSequenceIdRequest(_message.Message):
|
|
72
|
+
__slots__ = ("handle", "sequence_id")
|
|
73
|
+
HANDLE_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
SEQUENCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
handle: str
|
|
76
|
+
sequence_id: str
|
|
77
|
+
def __init__(self, handle: _Optional[str] = ..., sequence_id: _Optional[str] = ...) -> None: ...
|
|
@@ -16,7 +16,7 @@ from t2iapi import basic_responses_pb2 as t2iapi_dot_basic__responses__pb2
|
|
|
16
16
|
from t2iapi.biceps import metadata_pb2 as t2iapi_dot_biceps_dot_metadata__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$t2iapi/device/device_responses.proto\x12\rt2iapi.device\x1a\x1ct2iapi/basic_responses.proto\x1a\x1ct2iapi/biceps/metadata.proto\"X\n\x1fGetRemovableDescriptorsResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x03(\t\"T\n\x1bInsertMdsDescriptorResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x01(\t\"w\n\x1f\x41vailableDeviceMetaDataResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12-\n\tmeta_data\x18\x02 \x01(\x0b\x32\x1a.t2iapi.biceps.MetaDataMsg\"`\n\x1dGetComponentSwVersionResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x18\n\x10software_version\x18\x02 \x01(\t\"`\n\x1dGetComponentHwVersionResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x18\n\x10hardware_version\x18\x02 \x01(\tB4\n!com.draeger.medical.t2iapi.deviceB\x0f\x44\x65viceResponsesb\x06proto3')
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$t2iapi/device/device_responses.proto\x12\rt2iapi.device\x1a\x1ct2iapi/basic_responses.proto\x1a\x1ct2iapi/biceps/metadata.proto\"^\n\"GetMdsUiSupportedLanguagesResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x11\n\tlanguages\x18\x02 \x03(\t\"X\n\x1fGetRemovableDescriptorsResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x03(\t\"T\n\x1bInsertMdsDescriptorResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x01(\t\"w\n\x1f\x41vailableDeviceMetaDataResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12-\n\tmeta_data\x18\x02 \x01(\x0b\x32\x1a.t2iapi.biceps.MetaDataMsg\"`\n\x1dGetComponentSwVersionResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x18\n\x10software_version\x18\x02 \x01(\t\"`\n\x1dGetComponentHwVersionResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x18\n\x10hardware_version\x18\x02 \x01(\t\"h\n/InsertContainmentTreeEntryForSequenceIdResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x01(\tB4\n!com.draeger.medical.t2iapi.deviceB\x0f\x44\x65viceResponsesb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -24,14 +24,18 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.device.device_respon
|
|
|
24
24
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
25
|
_globals['DESCRIPTOR']._options = None
|
|
26
26
|
_globals['DESCRIPTOR']._serialized_options = b'\n!com.draeger.medical.t2iapi.deviceB\017DeviceResponses'
|
|
27
|
-
_globals['
|
|
28
|
-
_globals['
|
|
29
|
-
_globals['
|
|
30
|
-
_globals['
|
|
31
|
-
_globals['
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
27
|
+
_globals['_GETMDSUISUPPORTEDLANGUAGESRESPONSE']._serialized_start=115
|
|
28
|
+
_globals['_GETMDSUISUPPORTEDLANGUAGESRESPONSE']._serialized_end=209
|
|
29
|
+
_globals['_GETREMOVABLEDESCRIPTORSRESPONSE']._serialized_start=211
|
|
30
|
+
_globals['_GETREMOVABLEDESCRIPTORSRESPONSE']._serialized_end=299
|
|
31
|
+
_globals['_INSERTMDSDESCRIPTORRESPONSE']._serialized_start=301
|
|
32
|
+
_globals['_INSERTMDSDESCRIPTORRESPONSE']._serialized_end=385
|
|
33
|
+
_globals['_AVAILABLEDEVICEMETADATARESPONSE']._serialized_start=387
|
|
34
|
+
_globals['_AVAILABLEDEVICEMETADATARESPONSE']._serialized_end=506
|
|
35
|
+
_globals['_GETCOMPONENTSWVERSIONRESPONSE']._serialized_start=508
|
|
36
|
+
_globals['_GETCOMPONENTSWVERSIONRESPONSE']._serialized_end=604
|
|
37
|
+
_globals['_GETCOMPONENTHWVERSIONRESPONSE']._serialized_start=606
|
|
38
|
+
_globals['_GETCOMPONENTHWVERSIONRESPONSE']._serialized_end=702
|
|
39
|
+
_globals['_INSERTCONTAINMENTTREEENTRYFORSEQUENCEIDRESPONSE']._serialized_start=704
|
|
40
|
+
_globals['_INSERTCONTAINMENTTREEENTRYFORSEQUENCEIDRESPONSE']._serialized_end=808
|
|
37
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -7,6 +7,14 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
|
|
|
7
7
|
|
|
8
8
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
9
|
|
|
10
|
+
class GetMdsUiSupportedLanguagesResponse(_message.Message):
|
|
11
|
+
__slots__ = ("status", "languages")
|
|
12
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
LANGUAGES_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
status: _basic_responses_pb2.BasicResponse
|
|
15
|
+
languages: _containers.RepeatedScalarFieldContainer[str]
|
|
16
|
+
def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., languages: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
17
|
+
|
|
10
18
|
class GetRemovableDescriptorsResponse(_message.Message):
|
|
11
19
|
__slots__ = ("status", "handle")
|
|
12
20
|
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -46,3 +54,11 @@ class GetComponentHwVersionResponse(_message.Message):
|
|
|
46
54
|
status: _basic_responses_pb2.BasicResponse
|
|
47
55
|
hardware_version: str
|
|
48
56
|
def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., hardware_version: _Optional[str] = ...) -> None: ...
|
|
57
|
+
|
|
58
|
+
class InsertContainmentTreeEntryForSequenceIdResponse(_message.Message):
|
|
59
|
+
__slots__ = ("status", "handle")
|
|
60
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
HANDLE_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
status: _basic_responses_pb2.BasicResponse
|
|
63
|
+
handle: str
|
|
64
|
+
def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., handle: _Optional[str] = ...) -> None: ...
|
t2iapi/device/service_pb2.py
CHANGED
|
@@ -19,7 +19,7 @@ from t2iapi.device import device_requests_pb2 as t2iapi_dot_device_dot_device__r
|
|
|
19
19
|
from t2iapi.device import device_responses_pb2 as t2iapi_dot_device_dot_device__responses__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/device/service.proto\x12\rt2iapi.device\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/device/device_requests.proto\x1a$t2iapi/device/device_responses.proto2\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/device/service.proto\x12\rt2iapi.device\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/device/device_requests.proto\x1a$t2iapi/device/device_responses.proto2\x94\x11\n\rDeviceService\x12]\n\x16SetDeviceOperatingMode\x12,.t2iapi.device.SetDeviceOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12:\n\tSendHello\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12?\n\x0eSetClockDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12G\n\x0bSetLanguage\x12!.t2iapi.device.SetLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12Q\n\x10SetMdsUiLanguage\x12&.t2iapi.device.SetMdsUiLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12k\n\x1aGetMdsUiSupportedLanguages\x12\x1a.t2iapi.BasicHandleRequest\x1a\x31.t2iapi.device.GetMdsUiSupportedLanguagesResponse\x12\x86\x01\n\x1eGetRemovableDescriptorsOfClass\x12\x34.t2iapi.device.GetRemovableDescriptorsOfClassRequest\x1a..t2iapi.device.GetRemovableDescriptorsResponse\x12\x45\n\x10RemoveDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x45\n\x10InsertDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12Y\n\x13InsertMdsDescriptor\x12\x16.google.protobuf.Empty\x1a*.t2iapi.device.InsertMdsDescriptorResponse\x12H\n\x13RemoveMdsDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12_\n\x17TriggerDescriptorUpdate\x12-.t2iapi.device.TriggerDescriptorUpdateRequest\x1a\x15.t2iapi.BasicResponse\x12K\n\x1aTriggerAnyDescriptorUpdate\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12K\n\rTriggerReport\x12#.t2iapi.device.TriggerReportRequest\x1a\x15.t2iapi.BasicResponse\x12O\n\x0fSetBatteryUsage\x12%.t2iapi.device.SetBatteryUsageRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutLastCalibration\x12<.t2iapi.device.ProvideInformationAboutLastCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutNextCalibration\x12<.t2iapi.device.ProvideInformationAboutNextCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12h\n\x1aGetAvailableDeviceMetaData\x12\x1a.t2iapi.BasicHandleRequest\x1a..t2iapi.device.AvailableDeviceMetaDataResponse\x12\x61\n\x15GetComponentSwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentSwVersionResponse\x12\x61\n\x15GetComponentHwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentHwVersionResponse\x12\x63\n.RequestIndicationOfNextCalibrationTimeRequired\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12X\n#IndicateTimeOfNextCalibrationToUser\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\xa8\x01\n\'InsertContainmentTreeEntryForSequenceId\x12=.t2iapi.device.InsertContainmentTreeEntryForSequenceIdRequest\x1a>.t2iapi.device.InsertContainmentTreeEntryForSequenceIdResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
25
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -28,5 +28,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
28
28
|
_globals['DESCRIPTOR']._options = None
|
|
29
29
|
_globals['DESCRIPTOR']._serialized_options = b'\n!com.draeger.medical.t2iapi.deviceB\020DeviceApiService'
|
|
30
30
|
_globals['_DEVICESERVICE']._serialized_start=210
|
|
31
|
-
_globals['_DEVICESERVICE']._serialized_end=
|
|
31
|
+
_globals['_DEVICESERVICE']._serialized_end=2406
|
|
32
32
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -40,6 +40,16 @@ class DeviceServiceStub(object):
|
|
|
40
40
|
request_serializer=t2iapi_dot_device_dot_device__requests__pb2.SetLanguageRequest.SerializeToString,
|
|
41
41
|
response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
42
42
|
)
|
|
43
|
+
self.SetMdsUiLanguage = channel.unary_unary(
|
|
44
|
+
'/t2iapi.device.DeviceService/SetMdsUiLanguage',
|
|
45
|
+
request_serializer=t2iapi_dot_device_dot_device__requests__pb2.SetMdsUiLanguageRequest.SerializeToString,
|
|
46
|
+
response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
47
|
+
)
|
|
48
|
+
self.GetMdsUiSupportedLanguages = channel.unary_unary(
|
|
49
|
+
'/t2iapi.device.DeviceService/GetMdsUiSupportedLanguages',
|
|
50
|
+
request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
51
|
+
response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.GetMdsUiSupportedLanguagesResponse.FromString,
|
|
52
|
+
)
|
|
43
53
|
self.GetRemovableDescriptorsOfClass = channel.unary_unary(
|
|
44
54
|
'/t2iapi.device.DeviceService/GetRemovableDescriptorsOfClass',
|
|
45
55
|
request_serializer=t2iapi_dot_device_dot_device__requests__pb2.GetRemovableDescriptorsOfClassRequest.SerializeToString,
|
|
@@ -120,6 +130,11 @@ class DeviceServiceStub(object):
|
|
|
120
130
|
request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
121
131
|
response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
122
132
|
)
|
|
133
|
+
self.InsertContainmentTreeEntryForSequenceId = channel.unary_unary(
|
|
134
|
+
'/t2iapi.device.DeviceService/InsertContainmentTreeEntryForSequenceId',
|
|
135
|
+
request_serializer=t2iapi_dot_device_dot_device__requests__pb2.InsertContainmentTreeEntryForSequenceIdRequest.SerializeToString,
|
|
136
|
+
response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.FromString,
|
|
137
|
+
)
|
|
123
138
|
|
|
124
139
|
|
|
125
140
|
class DeviceServiceServicer(object):
|
|
@@ -166,6 +181,24 @@ class DeviceServiceServicer(object):
|
|
|
166
181
|
context.set_details('Method not implemented!')
|
|
167
182
|
raise NotImplementedError('Method not implemented!')
|
|
168
183
|
|
|
184
|
+
def SetMdsUiLanguage(self, request, context):
|
|
185
|
+
"""
|
|
186
|
+
Set the language of the component with a UI represented by the MDS to the given language.
|
|
187
|
+
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
|
|
188
|
+
the static state, it shall return RESULT_NOT_SUPPORTED.
|
|
189
|
+
"""
|
|
190
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
191
|
+
context.set_details('Method not implemented!')
|
|
192
|
+
raise NotImplementedError('Method not implemented!')
|
|
193
|
+
|
|
194
|
+
def GetMdsUiSupportedLanguages(self, request, context):
|
|
195
|
+
"""
|
|
196
|
+
Get all supported languages of the component with a UI represented by the MDS with the provided handle.
|
|
197
|
+
"""
|
|
198
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
199
|
+
context.set_details('Method not implemented!')
|
|
200
|
+
raise NotImplementedError('Method not implemented!')
|
|
201
|
+
|
|
169
202
|
def GetRemovableDescriptorsOfClass(self, request, context):
|
|
170
203
|
"""
|
|
171
204
|
Get all descriptor handles which can be removed and reinserted into the MDIB of the device
|
|
@@ -326,6 +359,48 @@ class DeviceServiceServicer(object):
|
|
|
326
359
|
context.set_details('Method not implemented!')
|
|
327
360
|
raise NotImplementedError('Method not implemented!')
|
|
328
361
|
|
|
362
|
+
def InsertContainmentTreeEntryForSequenceId(self, request, context):
|
|
363
|
+
"""
|
|
364
|
+
Make available the BICEPS CONTAINMENT TREE ENTRY (as defined in IEEE Std 11073-10700-2022) that was previously
|
|
365
|
+
represented by the provided handle in the MDIB with the provided @SequenceId. If the BICEPS CONTAINMENT TREE ENTRY
|
|
366
|
+
is absent in the current MDIB, it shall be inserted and its handle in the current MDIB shall be returned.
|
|
367
|
+
If the BICEPS CONTAINMENT TREE ENTRY is already present in the current MDIB, only its handle shall be returned,
|
|
368
|
+
no further action is required.
|
|
369
|
+
|
|
370
|
+
Hint: Devices which use static handles for descriptors do not have to look up the entity that was previously
|
|
371
|
+
represented by the requested handle, since they stay the same between the changes of the @SequenceId. It is
|
|
372
|
+
sufficient to ensure the descriptor is present and return the handle.
|
|
373
|
+
|
|
374
|
+
Example 1: returning the same handle for the Metric
|
|
375
|
+
- device presented an MDIB with the Metric handle "metric_1" in @SequenceID "123"
|
|
376
|
+
- device changes @SequenceID to "789" and presents a new MDIB
|
|
377
|
+
- metric with the handle "metric_1" is still present in the current MDIB and represents the *same* metric
|
|
378
|
+
as in @SequenceID "123"
|
|
379
|
+
- InsertContainmentTreeEntryForSequenceId with handle="metric_1" and sequence_id="123" is executed
|
|
380
|
+
- the handle "metric_1" is returned as the descriptor with this handle it is still available in the current MDIB
|
|
381
|
+
- no further action from the device is required
|
|
382
|
+
|
|
383
|
+
Example 2: returning a new handle for the MDS:
|
|
384
|
+
- device presented an MDIB with MDS handle "mds0" in @SequenceID "123"
|
|
385
|
+
- device changes @SequenceID to "789" and presents a new MDIB
|
|
386
|
+
- MDS which had the Handle "mds0" in @SequenceId "123" is still present in the current MDIB, but it's Handle
|
|
387
|
+
changed to "mds10"
|
|
388
|
+
- InsertContainmentTreeEntryForSequenceId with handle="mds0" and sequence_id="123" is executed
|
|
389
|
+
- the handle "mds10" is returned as the descriptor handle for that MDS has changed
|
|
390
|
+
- no further action from the device is required
|
|
391
|
+
|
|
392
|
+
Example 3: inserting the Channel into the current MDIB and returning the (new) handle:
|
|
393
|
+
- device presented the Channel with handle "channel123" in @SequenceID "123"
|
|
394
|
+
- device changes @SequenceID to "789" and presents a new MDIB
|
|
395
|
+
- Channel which had the Handle "channel123" in @SequenceId "123" is no longer present in the current MDIB
|
|
396
|
+
- InsertContainmentTreeEntryForSequenceId with handle="channel123" and sequence_id="123" is executed
|
|
397
|
+
- Channel is inserted into the device's current MDIB with the handle "channel789"
|
|
398
|
+
- the handle "channel789" is returned
|
|
399
|
+
"""
|
|
400
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
401
|
+
context.set_details('Method not implemented!')
|
|
402
|
+
raise NotImplementedError('Method not implemented!')
|
|
403
|
+
|
|
329
404
|
|
|
330
405
|
def add_DeviceServiceServicer_to_server(servicer, server):
|
|
331
406
|
rpc_method_handlers = {
|
|
@@ -349,6 +424,16 @@ def add_DeviceServiceServicer_to_server(servicer, server):
|
|
|
349
424
|
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.SetLanguageRequest.FromString,
|
|
350
425
|
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
351
426
|
),
|
|
427
|
+
'SetMdsUiLanguage': grpc.unary_unary_rpc_method_handler(
|
|
428
|
+
servicer.SetMdsUiLanguage,
|
|
429
|
+
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.SetMdsUiLanguageRequest.FromString,
|
|
430
|
+
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
431
|
+
),
|
|
432
|
+
'GetMdsUiSupportedLanguages': grpc.unary_unary_rpc_method_handler(
|
|
433
|
+
servicer.GetMdsUiSupportedLanguages,
|
|
434
|
+
request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
|
|
435
|
+
response_serializer=t2iapi_dot_device_dot_device__responses__pb2.GetMdsUiSupportedLanguagesResponse.SerializeToString,
|
|
436
|
+
),
|
|
352
437
|
'GetRemovableDescriptorsOfClass': grpc.unary_unary_rpc_method_handler(
|
|
353
438
|
servicer.GetRemovableDescriptorsOfClass,
|
|
354
439
|
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.GetRemovableDescriptorsOfClassRequest.FromString,
|
|
@@ -429,6 +514,11 @@ def add_DeviceServiceServicer_to_server(servicer, server):
|
|
|
429
514
|
request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
|
|
430
515
|
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
431
516
|
),
|
|
517
|
+
'InsertContainmentTreeEntryForSequenceId': grpc.unary_unary_rpc_method_handler(
|
|
518
|
+
servicer.InsertContainmentTreeEntryForSequenceId,
|
|
519
|
+
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.InsertContainmentTreeEntryForSequenceIdRequest.FromString,
|
|
520
|
+
response_serializer=t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.SerializeToString,
|
|
521
|
+
),
|
|
432
522
|
}
|
|
433
523
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
434
524
|
't2iapi.device.DeviceService', rpc_method_handlers)
|
|
@@ -509,6 +599,40 @@ class DeviceService(object):
|
|
|
509
599
|
options, channel_credentials,
|
|
510
600
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
511
601
|
|
|
602
|
+
@staticmethod
|
|
603
|
+
def SetMdsUiLanguage(request,
|
|
604
|
+
target,
|
|
605
|
+
options=(),
|
|
606
|
+
channel_credentials=None,
|
|
607
|
+
call_credentials=None,
|
|
608
|
+
insecure=False,
|
|
609
|
+
compression=None,
|
|
610
|
+
wait_for_ready=None,
|
|
611
|
+
timeout=None,
|
|
612
|
+
metadata=None):
|
|
613
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/SetMdsUiLanguage',
|
|
614
|
+
t2iapi_dot_device_dot_device__requests__pb2.SetMdsUiLanguageRequest.SerializeToString,
|
|
615
|
+
t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
616
|
+
options, channel_credentials,
|
|
617
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
618
|
+
|
|
619
|
+
@staticmethod
|
|
620
|
+
def GetMdsUiSupportedLanguages(request,
|
|
621
|
+
target,
|
|
622
|
+
options=(),
|
|
623
|
+
channel_credentials=None,
|
|
624
|
+
call_credentials=None,
|
|
625
|
+
insecure=False,
|
|
626
|
+
compression=None,
|
|
627
|
+
wait_for_ready=None,
|
|
628
|
+
timeout=None,
|
|
629
|
+
metadata=None):
|
|
630
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/GetMdsUiSupportedLanguages',
|
|
631
|
+
t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
632
|
+
t2iapi_dot_device_dot_device__responses__pb2.GetMdsUiSupportedLanguagesResponse.FromString,
|
|
633
|
+
options, channel_credentials,
|
|
634
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
635
|
+
|
|
512
636
|
@staticmethod
|
|
513
637
|
def GetRemovableDescriptorsOfClass(request,
|
|
514
638
|
target,
|
|
@@ -780,3 +904,20 @@ class DeviceService(object):
|
|
|
780
904
|
t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
781
905
|
options, channel_credentials,
|
|
782
906
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
907
|
+
|
|
908
|
+
@staticmethod
|
|
909
|
+
def InsertContainmentTreeEntryForSequenceId(request,
|
|
910
|
+
target,
|
|
911
|
+
options=(),
|
|
912
|
+
channel_credentials=None,
|
|
913
|
+
call_credentials=None,
|
|
914
|
+
insecure=False,
|
|
915
|
+
compression=None,
|
|
916
|
+
wait_for_ready=None,
|
|
917
|
+
timeout=None,
|
|
918
|
+
metadata=None):
|
|
919
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/InsertContainmentTreeEntryForSequenceId',
|
|
920
|
+
t2iapi_dot_device_dot_device__requests__pb2.InsertContainmentTreeEntryForSequenceIdRequest.SerializeToString,
|
|
921
|
+
t2iapi_dot_device_dot_device__responses__pb2.InsertContainmentTreeEntryForSequenceIdResponse.FromString,
|
|
922
|
+
options, channel_credentials,
|
|
923
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -72,15 +72,15 @@ t2iapi/context/types_pb2.pyi,sha256=r507x_S7T9Wl3Uh88RJ16fKoRZ7GSizZAgUmM_3EpIc,
|
|
|
72
72
|
t2iapi/context/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
73
73
|
t2iapi/device/__init__.py,sha256=yICa5h_fgNAUxTFqTH8kcDhu8X-Cn0yR2UAL1z8fN6o,149
|
|
74
74
|
t2iapi/device/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,149
|
|
75
|
-
t2iapi/device/device_requests_pb2.py,sha256=
|
|
76
|
-
t2iapi/device/device_requests_pb2.pyi,sha256=
|
|
75
|
+
t2iapi/device/device_requests_pb2.py,sha256=fVfDBygpoT88RATaCpQVJEKhhABOXltxhF2bRHXaBH0,3776
|
|
76
|
+
t2iapi/device/device_requests_pb2.pyi,sha256=RKVMbWRC_hJQCn4jfF55y4wptLQsV9JETsC7N1oQGMg,3398
|
|
77
77
|
t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
78
|
-
t2iapi/device/device_responses_pb2.py,sha256=
|
|
79
|
-
t2iapi/device/device_responses_pb2.pyi,sha256=
|
|
78
|
+
t2iapi/device/device_responses_pb2.py,sha256=Nn8qEUZ1Tgrke1sq7_PDQtgCwBzTzQnCAvMD3giyAN0,3375
|
|
79
|
+
t2iapi/device/device_responses_pb2.pyi,sha256=O-eKvccSYz3FJkjd1_7WAdfgu6f1v9ecyREktLoc5oQ,3413
|
|
80
80
|
t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
81
|
-
t2iapi/device/service_pb2.py,sha256=
|
|
81
|
+
t2iapi/device/service_pb2.py,sha256=sFAh7so6gQ0oprgM_axiKrsXiCb4QtziclWkhxR42HY,4418
|
|
82
82
|
t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
|
|
83
|
-
t2iapi/device/service_pb2_grpc.py,sha256=
|
|
83
|
+
t2iapi/device/service_pb2_grpc.py,sha256=cha9r2EpmQh7xF-wUV1bqaQdfK7ifPpuRO47I3srJC0,49059
|
|
84
84
|
t2iapi/device/types_pb2.py,sha256=j8HfZJf1teqA0oY8UICkWg_C_mMfIVXjoT5AzeyUuzE,3321
|
|
85
85
|
t2iapi/device/types_pb2.pyi,sha256=Cy6c3d2HXACCIo7n2Grab_8j6JHB_toKid8WNTxlxWY,3962
|
|
86
86
|
t2iapi/device/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.
|
|
115
|
-
t2iapi-4.2.0.
|
|
116
|
-
t2iapi-4.2.0.
|
|
117
|
-
t2iapi-4.2.0.
|
|
118
|
-
t2iapi-4.2.0.
|
|
119
|
-
t2iapi-4.2.0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|