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

Skip to content
Snippets Groups Projects
Commit d593b59a authored by Michael KRISPER's avatar Michael KRISPER
Browse files

refactor: remove redundant qualifier

parent ca4689c3
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ namespace TUGraz.VectoCore.FileIO.EngineeringFile
[JsonProperty(Required = Required.Always)] public new DataBodyEng Body;
public class DataBodyEng : VectoJobFileV2Declaration.DataBodyDecl
public class DataBodyEng : DataBodyDecl
{
[JsonProperty(Required = Required.Always)] public IList<string> Cycles;
[JsonProperty] public new IList<AuxDataEng> Aux = new List<AuxDataEng>();
......@@ -81,7 +81,7 @@ namespace TUGraz.VectoCore.FileIO.EngineeringFile
[JsonProperty("LAC", Required = Required.Always)] public LACDataEng LookAheadCoasting;
[JsonProperty(Required = Required.Always)] public new OverSpeedEcoRollDataEng OverSpeedEcoRoll;
public class AuxDataEng : DataBodyDecl.AuxDataDecl
public class AuxDataEng : AuxDataDecl
{
[JsonProperty(Required = Required.Always)] public string Path;
}
......
......@@ -17,7 +17,7 @@ namespace TUGraz.VectoCore.FileIO.Reader.DataObjectAdaper
{
public class EngineeringDataAdapter : AbstractSimulationDataAdapter
{
public override VehicleData CreateVehicleData(VectoVehicleFile vehicle, Models.Declaration.Mission segment,
public override VehicleData CreateVehicleData(VectoVehicleFile vehicle, Mission segment,
Kilogram loading)
{
return CreateVehicleData(vehicle);
......
......@@ -16,7 +16,7 @@ namespace TUGraz.VectoCore.FileIO.Reader.Impl
{
internal DeclarationModeSimulationDataReader() {}
protected void CheckForDeclarationMode(InputFileReader.VersionInfo info, string msg)
protected void CheckForDeclarationMode(VersionInfo info, string msg)
{
if (!info.SavedInDeclarationMode) {
// throw new VectoException("File not saved in Declaration Mode! - " + msg);
......
......@@ -284,7 +284,7 @@ namespace TUGraz.VectoCore.Tests.Integration.SimulationRuns
Enabled = false,
},
OverSpeedEcoRoll = new DriverData.OverSpeedEcoRollData {
Mode = VectoCore.Models.SimulationComponent.Data.DriverData.DriverMode.Off
Mode = DriverData.DriverMode.Off
},
StartStop = new VectoRunData.StartStopData {
Enabled = false,
......
......@@ -378,7 +378,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
Enabled = false,
},
OverSpeedEcoRoll = new DriverData.OverSpeedEcoRollData {
Mode = VectoCore.Models.SimulationComponent.Data.DriverData.DriverMode.Off
Mode = DriverData.DriverMode.Off
},
StartStop = new VectoRunData.StartStopData {
Enabled = false,
......
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