t2iapi 4.2.0.dev420__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.
@@ -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['_GETREMOVABLEDESCRIPTORSOFCLASSREQUEST']._serialized_start=268
33
- _globals['_GETREMOVABLEDESCRIPTORSOFCLASSREQUEST']._serialized_end=365
34
- _globals['_SETBATTERYUSAGEREQUEST']._serialized_start=367
35
- _globals['_SETBATTERYUSAGEREQUEST']._serialized_end=420
36
- _globals['_TRIGGERDESCRIPTORUPDATEREQUEST']._serialized_start=422
37
- _globals['_TRIGGERDESCRIPTORUPDATEREQUEST']._serialized_end=470
38
- _globals['_PROVIDEINFORMATIONABOUTLASTCALIBRATIONREQUEST']._serialized_start=472
39
- _globals['_PROVIDEINFORMATIONABOUTLASTCALIBRATIONREQUEST']._serialized_end=595
40
- _globals['_PROVIDEINFORMATIONABOUTNEXTCALIBRATIONREQUEST']._serialized_start=597
41
- _globals['_PROVIDEINFORMATIONABOUTNEXTCALIBRATIONREQUEST']._serialized_end=720
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['_GETREMOVABLEDESCRIPTORSRESPONSE']._serialized_start=115
28
- _globals['_GETREMOVABLEDESCRIPTORSRESPONSE']._serialized_end=203
29
- _globals['_INSERTMDSDESCRIPTORRESPONSE']._serialized_start=205
30
- _globals['_INSERTMDSDESCRIPTORRESPONSE']._serialized_end=289
31
- _globals['_AVAILABLEDEVICEMETADATARESPONSE']._serialized_start=291
32
- _globals['_AVAILABLEDEVICEMETADATARESPONSE']._serialized_end=410
33
- _globals['_GETCOMPONENTSWVERSIONRESPONSE']._serialized_start=412
34
- _globals['_GETCOMPONENTSWVERSIONRESPONSE']._serialized_end=508
35
- _globals['_GETCOMPONENTHWVERSIONRESPONSE']._serialized_start=510
36
- _globals['_GETCOMPONENTHWVERSIONRESPONSE']._serialized_end=606
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]
@@ -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\xea\x0c\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\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.GetComponentHwVersionResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
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=1852
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,
@@ -110,6 +120,16 @@ class DeviceServiceStub(object):
110
120
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
111
121
  response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.GetComponentHwVersionResponse.FromString,
112
122
  )
123
+ self.RequestIndicationOfNextCalibrationTimeRequired = channel.unary_unary(
124
+ '/t2iapi.device.DeviceService/RequestIndicationOfNextCalibrationTimeRequired',
125
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
126
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
127
+ )
128
+ self.IndicateTimeOfNextCalibrationToUser = channel.unary_unary(
129
+ '/t2iapi.device.DeviceService/IndicateTimeOfNextCalibrationToUser',
130
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
131
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
132
+ )
113
133
 
114
134
 
115
135
  class DeviceServiceServicer(object):
@@ -156,6 +176,24 @@ class DeviceServiceServicer(object):
156
176
  context.set_details('Method not implemented!')
157
177
  raise NotImplementedError('Method not implemented!')
158
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
+
159
197
  def GetRemovableDescriptorsOfClass(self, request, context):
160
198
  """
161
199
  Get all descriptor handles which can be removed and reinserted into the MDIB of the device
@@ -299,6 +337,23 @@ class DeviceServiceServicer(object):
299
337
  context.set_details('Method not implemented!')
300
338
  raise NotImplementedError('Method not implemented!')
301
339
 
340
+ def RequestIndicationOfNextCalibrationTimeRequired(self, request, context):
341
+ """
342
+ Request for the given pm:AbstractDeviceComponentDescriptor handle, if it can be required by a particular standard
343
+ or RISK MANAGEMENT process to indicate the time of the next calibration to the USER.
344
+ """
345
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
346
+ context.set_details('Method not implemented!')
347
+ raise NotImplementedError('Method not implemented!')
348
+
349
+ def IndicateTimeOfNextCalibrationToUser(self, request, context):
350
+ """
351
+ Indicate the time of the next calibration to the USER for the given pm:AbstractDeviceComponentDescriptor handle.
352
+ """
353
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
354
+ context.set_details('Method not implemented!')
355
+ raise NotImplementedError('Method not implemented!')
356
+
302
357
 
303
358
  def add_DeviceServiceServicer_to_server(servicer, server):
304
359
  rpc_method_handlers = {
@@ -322,6 +377,16 @@ def add_DeviceServiceServicer_to_server(servicer, server):
322
377
  request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.SetLanguageRequest.FromString,
323
378
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
324
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
+ ),
325
390
  'GetRemovableDescriptorsOfClass': grpc.unary_unary_rpc_method_handler(
326
391
  servicer.GetRemovableDescriptorsOfClass,
327
392
  request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.GetRemovableDescriptorsOfClassRequest.FromString,
@@ -392,6 +457,16 @@ def add_DeviceServiceServicer_to_server(servicer, server):
392
457
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
393
458
  response_serializer=t2iapi_dot_device_dot_device__responses__pb2.GetComponentHwVersionResponse.SerializeToString,
394
459
  ),
460
+ 'RequestIndicationOfNextCalibrationTimeRequired': grpc.unary_unary_rpc_method_handler(
461
+ servicer.RequestIndicationOfNextCalibrationTimeRequired,
462
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
463
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
464
+ ),
465
+ 'IndicateTimeOfNextCalibrationToUser': grpc.unary_unary_rpc_method_handler(
466
+ servicer.IndicateTimeOfNextCalibrationToUser,
467
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
468
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
469
+ ),
395
470
  }
396
471
  generic_handler = grpc.method_handlers_generic_handler(
397
472
  't2iapi.device.DeviceService', rpc_method_handlers)
@@ -472,6 +547,40 @@ class DeviceService(object):
472
547
  options, channel_credentials,
473
548
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
474
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
+
475
584
  @staticmethod
476
585
  def GetRemovableDescriptorsOfClass(request,
477
586
  target,
@@ -709,3 +818,37 @@ class DeviceService(object):
709
818
  t2iapi_dot_device_dot_device__responses__pb2.GetComponentHwVersionResponse.FromString,
710
819
  options, channel_credentials,
711
820
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
821
+
822
+ @staticmethod
823
+ def RequestIndicationOfNextCalibrationTimeRequired(request,
824
+ target,
825
+ options=(),
826
+ channel_credentials=None,
827
+ call_credentials=None,
828
+ insecure=False,
829
+ compression=None,
830
+ wait_for_ready=None,
831
+ timeout=None,
832
+ metadata=None):
833
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/RequestIndicationOfNextCalibrationTimeRequired',
834
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
835
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
836
+ options, channel_credentials,
837
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
838
+
839
+ @staticmethod
840
+ def IndicateTimeOfNextCalibrationToUser(request,
841
+ target,
842
+ options=(),
843
+ channel_credentials=None,
844
+ call_credentials=None,
845
+ insecure=False,
846
+ compression=None,
847
+ wait_for_ready=None,
848
+ timeout=None,
849
+ metadata=None):
850
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/IndicateTimeOfNextCalibrationToUser',
851
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
852
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
853
+ options, channel_credentials,
854
+ 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.2.0.dev420
3
+ Version: 4.2.0.dev430
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
@@ -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=HiqmAm3sjvXBoo3Dznb5ABZwLMCMk_MEds6JcGpvhyQ,3255
76
- t2iapi/device/device_requests_pb2.pyi,sha256=tbsdzajJDFJXB8K8SI7JMMcqF5_qXHgEVmKRWotJDVY,2757
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=MGYnB3UJx0BLrqgyQJwfTXmHCYSxBmVuPJiY5HhuSw8,2770
79
- t2iapi/device/device_responses_pb2.pyi,sha256=jpBN54tv2zgp6Q6L5Y06qH7ScJAIEKLCNG6k-aySSwM,2563
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=btAllH-Pt013KrdUlQnjnIiUKcoNBFKdEW0SqGJk9uM,3777
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=llLacR3ZwFFxSEUlWXIVXut1Q8mly1Ek1ZTzNp4hpgc,36485
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.dev420.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
- t2iapi-4.2.0.dev420.dist-info/METADATA,sha256=cXmjowUIfg9Wb69gAAzY92pfE1zUwNsU3GBHcTtiZXA,835
116
- t2iapi-4.2.0.dev420.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
- t2iapi-4.2.0.dev420.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
- t2iapi-4.2.0.dev420.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
- t2iapi-4.2.0.dev420.dist-info/RECORD,,
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,,