Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 66ceff48 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

[Driver] set operating point property in response

parent d769f255
No related branches found
No related tags found
No related merge requests found
......@@ -214,6 +214,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
retVal.Acceleration = operatingPoint.Acceleration;
retVal.SimulationInterval = operatingPoint.SimulationInterval;
retVal.OperatingPoint = operatingPoint;
return retVal;
}
......@@ -293,7 +294,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
Source = this,
MaxDistance = searchedOperatingPoint.SimulationDistance,
Acceleration = searchedOperatingPoint.Acceleration,
SimulationInterval = searchedOperatingPoint.SimulationInterval
SimulationInterval = searchedOperatingPoint.SimulationInterval,
OperatingPoint = searchedOperatingPoint
};
return CurrentState.Response;
}
......@@ -316,6 +318,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
response.SimulationInterval = limitedOperatingPoint.SimulationInterval;
response.Acceleration = limitedOperatingPoint.Acceleration;
response.OperatingPoint = limitedOperatingPoint;
response.Switch().
Case<ResponseSuccess>().
......@@ -403,6 +406,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
CurrentState.Response = retVal;
retVal.Acceleration = operatingPoint.Acceleration;
retVal.SimulationInterval = operatingPoint.SimulationInterval;
retVal.OperatingPoint = operatingPoint;
return retVal;
}
......@@ -445,6 +449,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
CurrentState.Response = retVal;
retVal.Acceleration = operatingPoint.Acceleration;
retVal.SimulationInterval = operatingPoint.SimulationInterval;
retVal.OperatingPoint = operatingPoint;
return retVal;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment