JFJochBroker: Add GetCalibrationStatistics

This commit is contained in:
2023-04-08 19:10:51 +02:00
parent 762b58e14c
commit 53c2e0bb0d
5 changed files with 147 additions and 3820 deletions

File diff suppressed because one or more lines are too long

View File

@@ -732,6 +732,11 @@ class gRPC_JFJochBrokerStub(object):
request_serializer=jfjoch__pb2.Empty.SerializeToString,
response_deserializer=jfjoch__pb2.BrokerStatus.FromString,
)
self.GetCalibrationStatistics = channel.unary_unary(
'/JFJochProtoBuf.gRPC_JFJochBroker/GetCalibrationStatistics',
request_serializer=jfjoch__pb2.Empty.SerializeToString,
response_deserializer=jfjoch__pb2.JFCalibrationStatistics.FromString,
)
self.GetDetectorSettings = channel.unary_unary(
'/JFJochProtoBuf.gRPC_JFJochBroker/GetDetectorSettings',
request_serializer=jfjoch__pb2.Empty.SerializeToString,
@@ -835,6 +840,12 @@ class gRPC_JFJochBrokerServicer(object):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetCalibrationStatistics(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetDetectorSettings(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -938,6 +949,11 @@ def add_gRPC_JFJochBrokerServicer_to_server(servicer, server):
request_deserializer=jfjoch__pb2.Empty.FromString,
response_serializer=jfjoch__pb2.BrokerStatus.SerializeToString,
),
'GetCalibrationStatistics': grpc.unary_unary_rpc_method_handler(
servicer.GetCalibrationStatistics,
request_deserializer=jfjoch__pb2.Empty.FromString,
response_serializer=jfjoch__pb2.JFCalibrationStatistics.SerializeToString,
),
'GetDetectorSettings': grpc.unary_unary_rpc_method_handler(
servicer.GetDetectorSettings,
request_deserializer=jfjoch__pb2.Empty.FromString,
@@ -1134,6 +1150,23 @@ class gRPC_JFJochBroker(object):
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetCalibrationStatistics(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetCalibrationStatistics',
jfjoch__pb2.Empty.SerializeToString,
jfjoch__pb2.JFCalibrationStatistics.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetDetectorSettings(request,
target,