From 50e58fe840cb45f60b16005991d187977505afda Mon Sep 17 00:00:00 2001 From: Tim Uebelhoer <tim.uebelhoer@rwth-aachen.de> Date: Sun, 20 May 2018 20:25:17 +0200 Subject: [PATCH] Added category to the log response. Improvec generate batch file --- ModeliRpc.proto | 3 ++- generate_protos.bat | 11 +++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ModeliRpc.proto b/ModeliRpc.proto index cbd25e3..eae3db0 100644 --- a/ModeliRpc.proto +++ b/ModeliRpc.proto @@ -185,10 +185,11 @@ message LogResponse { string instance_name = 1; int32 status = 2; string message = 3; + string category = 4; } message SetStepSizeRequest { double step_size = 1; } -message SetStepSizeResponse {} \ No newline at end of file +message SetStepSizeResponse {} diff --git a/generate_protos.bat b/generate_protos.bat index 3c2091b..f34b752 100644 --- a/generate_protos.bat +++ b/generate_protos.bat @@ -1,6 +1,5 @@ -md ModeliRpc_Cs -md ModeliRpc_Cpp -protoc.exe --csharp_out ModeliRpc_Cs ModeliRpc.proto --grpc_out ModeliRpc_Cs --plugin=protoc-gen-grpc=grpc_csharp_plugin.exe -protoc.exe --cpp_out ModeliRpc_Cpp ModeliRpc.proto --grpc_out ModeliRpc_Cpp --plugin=protoc-gen-grpc=grpc_cpp_plugin.exe - -cmd /K \ No newline at end of file +md CSharp +md Cpp +protoc.exe --csharp_out CSharp ModeliRpc.proto --grpc_out CSharp --plugin=protoc-gen-grpc=grpc_csharp_plugin.exe +protoc.exe --cpp_out Cpp ModeliRpc.proto --grpc_out Cpp --plugin=protoc-gen-grpc=grpc_cpp_plugin.exe +pause \ No newline at end of file -- GitLab