Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

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

added validation to new gear params (downshift/upshift delay, min acc.)

parent e62604ae
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using TUGraz.VectoCommon.Models;
using TUGraz.VectoCommon.Utils;
......@@ -94,7 +95,6 @@ namespace TUGraz.VectoCommon.InputData
DataTable CrosswindCorrectionMap { get; }
}
public interface IAxleEngineeringInputData : IAxleDeclarationInputData
{
/// <summary>
......@@ -110,7 +110,6 @@ namespace TUGraz.VectoCommon.InputData
KilogramSquareMeter Inertia { get; }
}
public interface IGearboxEngineeringInputData : IGearboxDeclarationInputData
{
/// <summary>
......@@ -168,15 +167,19 @@ namespace TUGraz.VectoCommon.InputData
/// </summary>
bool SkipGears { get; }
/// <summary>
/// P090, P091, P092, P127
/// cf. VECTO Input Parameters.xlsx
/// </summary>
ITorqueConverterInputData TorqueConverter { get; }
[Required, SIRange(0, double.MaxValue)]
Second DownshiftAferUpshiftDelay { get; }
[Required, SIRange(0, double.MaxValue)]
Second UpshiftAfterDownshiftDelay { get; }
[Required, SIRange(0, double.MaxValue)]
MeterPerSquareSecond UpshiftMinAcceleration { get; }
}
......@@ -189,7 +192,6 @@ namespace TUGraz.VectoCommon.InputData
KilogramSquareMeter Inertia { get; }
}
public interface IAuxiliariesEngineeringInputData : IAuxiliariesDeclarationInputData
{
new IList<IAuxiliaryEngineeringInputData> Auxiliaries { get; }
......@@ -202,7 +204,6 @@ namespace TUGraz.VectoCommon.InputData
string AdvancedAuxiliaryFilePath { get; }
}
public interface IDriverEngineeringInputData : IDriverDeclarationInputData
{
new IStartStopEngineeringInputData StartStop { get; }
......@@ -218,7 +219,6 @@ namespace TUGraz.VectoCommon.InputData
ILookaheadCoastingInputData Lookahead { get; }
}
public interface IOverSpeedEcoRollEngineeringInputData : IOverSpeedEcoRollDeclarationInputData
{
/// <summary>
......@@ -261,7 +261,6 @@ namespace TUGraz.VectoCommon.InputData
Second Delay { get; }
}
public interface ILookaheadCoastingInputData
{
/// <summary>
......
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