From bc26a1385807819b101d23118fe3eb32f60809bc Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Wed, 17 Apr 2019 14:26:05 +0200 Subject: [PATCH] cleanup --- VECTO/Input Files/VectoEPTPJob.vb | 1 + .../InputData/EngineeringInputData.cs | 28 ++++++++----------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/VECTO/Input Files/VectoEPTPJob.vb b/VECTO/Input Files/VectoEPTPJob.vb index 3086f2274a..6ac7fc6b6f 100644 --- a/VECTO/Input Files/VectoEPTPJob.vb +++ b/VECTO/Input Files/VectoEPTPJob.vb @@ -116,6 +116,7 @@ Public Class VectoVTPJob Private Shared Function ValidateVehicleJob(vectoJob As VectoVTPJob, mode As ExecutionMode) As ValidationResult ' TODO!! + Return ValidationResult.Success End Function Public ReadOnly Property Vehicle As IVehicleDeclarationInputData Implements IVTPEngineeringJobInputData.Vehicle diff --git a/VectoCommon/VectoCommon/InputData/EngineeringInputData.cs b/VectoCommon/VectoCommon/InputData/EngineeringInputData.cs index e9514cd693..133ca67b40 100644 --- a/VectoCommon/VectoCommon/InputData/EngineeringInputData.cs +++ b/VectoCommon/VectoCommon/InputData/EngineeringInputData.cs @@ -78,7 +78,7 @@ namespace TUGraz.VectoCommon.InputData new IVehicleComponentsEngineering Components { get; } - IAdvancedDriverAssistantSystemsEngineering ADAS { get; } + new IAdvancedDriverAssistantSystemsEngineering ADAS { get; } } public interface IAdvancedDriverAssistantSystemsEngineering @@ -89,23 +89,23 @@ namespace TUGraz.VectoCommon.InputData public interface IVehicleComponentsEngineering { - new IAirdragEngineeringInputData AirdragInputData { get; } + IAirdragEngineeringInputData AirdragInputData { get; } - new IGearboxEngineeringInputData GearboxInputData { get; } + IGearboxEngineeringInputData GearboxInputData { get; } - new ITorqueConverterEngineeringInputData TorqueConverterInputData { get; } + ITorqueConverterEngineeringInputData TorqueConverterInputData { get; } - new IAxleGearInputData AxleGearInputData { get; } + IAxleGearInputData AxleGearInputData { get; } - new IAngledriveInputData AngledriveInputData { get; } + IAngledriveInputData AngledriveInputData { get; } - new IEngineEngineeringInputData EngineInputData { get; } + IEngineEngineeringInputData EngineInputData { get; } - new IAuxiliariesEngineeringInputData AuxiliaryInputData { get; } + IAuxiliariesEngineeringInputData AuxiliaryInputData { get; } - new IRetarderInputData RetarderInputData { get; } + IRetarderInputData RetarderInputData { get; } - new IPTOTransmissionInputData PTOTransmissionInputData { get; } + IPTOTransmissionInputData PTOTransmissionInputData { get; } /// <summary> /// parameters for every axle @@ -247,8 +247,6 @@ namespace TUGraz.VectoCommon.InputData Second UpshiftAfterDownshiftDelay { get; } MeterPerSquareSecond UpshiftMinAcceleration { get; } - - } public interface ITorqueConverterEngineeringShiftParameterInputData @@ -288,7 +286,6 @@ namespace TUGraz.VectoCommon.InputData TableData ShiftPolygon { get; } PerSecond MaxInputSpeed { get; } - } public interface IEngineEngineeringInputData : IEngineDeclarationInputData @@ -317,10 +314,7 @@ namespace TUGraz.VectoCommon.InputData string AdvancedAuxiliaryFilePath { get; } } - public interface IDriverModelData - { - - } + public interface IDriverModelData { } public interface IDriverAccelerationData : IDriverModelData { -- GitLab