From c2b33f7c3ce4e60786b9a9d98c3e5a0f07e88c29 Mon Sep 17 00:00:00 2001
From: Tim Uebelhoer <tim.uebelhoer@rwth-aachen.de>
Date: Tue, 13 Mar 2018 08:11:23 +0100
Subject: [PATCH] Added capability to modify the step size.

---
 ModeliRpc.proto | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/ModeliRpc.proto b/ModeliRpc.proto
index 6c6b3cc..cbd25e3 100644
--- a/ModeliRpc.proto
+++ b/ModeliRpc.proto
@@ -38,6 +38,9 @@ service ModeliBackend {
     rpc NewValues (NewValuesRequest) returns (stream NewValuesResponse);
     // Stream log messages to the client
     rpc Log (LogRequest) returns (stream LogResponse);
+
+    // Modify the simulation step size
+    rpc SetStepSize (SetStepSizeRequest) returns (SetStepSizeResponse);
 }
 
 // The metadata of a ChannelLink
@@ -182,4 +185,10 @@ message LogResponse {
     string instance_name = 1;
     int32 status = 2;
     string message = 3;
-}
\ No newline at end of file
+}
+
+message SetStepSizeRequest {
+    double step_size = 1;
+}
+
+message SetStepSizeResponse {}
\ No newline at end of file
-- 
GitLab