t2iapi 4.2.0.dev424__py3-none-any.whl → 4.2.0.dev430__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 +13 -11
- t2iapi/device/device_requests_pb2.pyi +8 -0
- t2iapi/device/device_responses_pb2.py +13 -11
- t2iapi/device/device_responses_pb2.pyi +8 -0
- t2iapi/device/service_pb2.py +2 -2
- t2iapi/device/service_pb2_grpc.py +72 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev430.dist-info}/METADATA +1 -1
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev430.dist-info}/RECORD +12 -12
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev430.dist-info}/LICENSE +0 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev430.dist-info}/WHEEL +0 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev430.dist-info}/top_level.txt +0 -0
- {t2iapi-4.2.0.dev424.dist-info → t2iapi-4.2.0.dev430.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.CalibrationStateB3\n!com.draeger.medical.t2iapi.deviceB\x0e\x44\x65viceRequestsb\x06proto3')
|
|
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.CalibrationStateB3\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,16 @@ 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
|
|
42
44
|
# @@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]
|
|
@@ -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(\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,16 @@ _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
|
|
37
39
|
# @@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]
|
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\xe9\x0f\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.BasicResponseB5\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=2235
|
|
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,
|
|
@@ -166,6 +176,24 @@ class DeviceServiceServicer(object):
|
|
|
166
176
|
context.set_details('Method not implemented!')
|
|
167
177
|
raise NotImplementedError('Method not implemented!')
|
|
168
178
|
|
|
179
|
+
def SetMdsUiLanguage(self, request, context):
|
|
180
|
+
"""
|
|
181
|
+
Set the language of the component with a UI represented by the MDS to the given language.
|
|
182
|
+
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
|
|
183
|
+
the static state, it shall return RESULT_NOT_SUPPORTED.
|
|
184
|
+
"""
|
|
185
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
186
|
+
context.set_details('Method not implemented!')
|
|
187
|
+
raise NotImplementedError('Method not implemented!')
|
|
188
|
+
|
|
189
|
+
def GetMdsUiSupportedLanguages(self, request, context):
|
|
190
|
+
"""
|
|
191
|
+
Get all supported languages of the component with a UI represented by the MDS with the provided handle.
|
|
192
|
+
"""
|
|
193
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
194
|
+
context.set_details('Method not implemented!')
|
|
195
|
+
raise NotImplementedError('Method not implemented!')
|
|
196
|
+
|
|
169
197
|
def GetRemovableDescriptorsOfClass(self, request, context):
|
|
170
198
|
"""
|
|
171
199
|
Get all descriptor handles which can be removed and reinserted into the MDIB of the device
|
|
@@ -349,6 +377,16 @@ def add_DeviceServiceServicer_to_server(servicer, server):
|
|
|
349
377
|
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.SetLanguageRequest.FromString,
|
|
350
378
|
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
351
379
|
),
|
|
380
|
+
'SetMdsUiLanguage': grpc.unary_unary_rpc_method_handler(
|
|
381
|
+
servicer.SetMdsUiLanguage,
|
|
382
|
+
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.SetMdsUiLanguageRequest.FromString,
|
|
383
|
+
response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
|
|
384
|
+
),
|
|
385
|
+
'GetMdsUiSupportedLanguages': grpc.unary_unary_rpc_method_handler(
|
|
386
|
+
servicer.GetMdsUiSupportedLanguages,
|
|
387
|
+
request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
|
|
388
|
+
response_serializer=t2iapi_dot_device_dot_device__responses__pb2.GetMdsUiSupportedLanguagesResponse.SerializeToString,
|
|
389
|
+
),
|
|
352
390
|
'GetRemovableDescriptorsOfClass': grpc.unary_unary_rpc_method_handler(
|
|
353
391
|
servicer.GetRemovableDescriptorsOfClass,
|
|
354
392
|
request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.GetRemovableDescriptorsOfClassRequest.FromString,
|
|
@@ -509,6 +547,40 @@ class DeviceService(object):
|
|
|
509
547
|
options, channel_credentials,
|
|
510
548
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
511
549
|
|
|
550
|
+
@staticmethod
|
|
551
|
+
def SetMdsUiLanguage(request,
|
|
552
|
+
target,
|
|
553
|
+
options=(),
|
|
554
|
+
channel_credentials=None,
|
|
555
|
+
call_credentials=None,
|
|
556
|
+
insecure=False,
|
|
557
|
+
compression=None,
|
|
558
|
+
wait_for_ready=None,
|
|
559
|
+
timeout=None,
|
|
560
|
+
metadata=None):
|
|
561
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/SetMdsUiLanguage',
|
|
562
|
+
t2iapi_dot_device_dot_device__requests__pb2.SetMdsUiLanguageRequest.SerializeToString,
|
|
563
|
+
t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
|
|
564
|
+
options, channel_credentials,
|
|
565
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
566
|
+
|
|
567
|
+
@staticmethod
|
|
568
|
+
def GetMdsUiSupportedLanguages(request,
|
|
569
|
+
target,
|
|
570
|
+
options=(),
|
|
571
|
+
channel_credentials=None,
|
|
572
|
+
call_credentials=None,
|
|
573
|
+
insecure=False,
|
|
574
|
+
compression=None,
|
|
575
|
+
wait_for_ready=None,
|
|
576
|
+
timeout=None,
|
|
577
|
+
metadata=None):
|
|
578
|
+
return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/GetMdsUiSupportedLanguages',
|
|
579
|
+
t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
|
|
580
|
+
t2iapi_dot_device_dot_device__responses__pb2.GetMdsUiSupportedLanguagesResponse.FromString,
|
|
581
|
+
options, channel_credentials,
|
|
582
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
583
|
+
|
|
512
584
|
@staticmethod
|
|
513
585
|
def GetRemovableDescriptorsOfClass(request,
|
|
514
586
|
target,
|
|
@@ -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=ZCEVQ2LDPKh8RA9uLsXPgAEqCwNQv-d9zmtQKcIiqWM,3481
|
|
76
|
+
t2iapi/device/device_requests_pb2.pyi,sha256=XgIMnw6sBPmOP_cRI8I3m-i4E137dYdaleHg4hxQsyg,3060
|
|
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=LPr5H0_Q0ycwPNWFbgNHdwOqZOW5cEzWaD1MuHlg3ig,3054
|
|
79
|
+
t2iapi/device/device_responses_pb2.pyi,sha256=nZOQfGDFjJW3eW_My7Wh8tsnavnlmDi6R9fP_OYdiJk,3014
|
|
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=xV_rZ9aEdfro0gQoyS6N3pKo_Mpcui42sV0FVmRZ6Xw,4230
|
|
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=tdWbC8f11dCw4XJbXp02RdVhEKbETaSXXj6tWQxiuAs,44318
|
|
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.dev430.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
|
|
115
|
+
t2iapi-4.2.0.dev430.dist-info/METADATA,sha256=RqWsnGd0_t-DzqsFDa1C8n9_Ay3espOeaCARvUp9zKk,835
|
|
116
|
+
t2iapi-4.2.0.dev430.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
|
117
|
+
t2iapi-4.2.0.dev430.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
|
|
118
|
+
t2iapi-4.2.0.dev430.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
119
|
+
t2iapi-4.2.0.dev430.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|