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

Skip to content
Snippets Groups Projects
Commit fe6e3f16 authored by Harald MARTINI's avatar Harald MARTINI
Browse files

Temporary removed jobtype check in AbstractDeclarationDataProvider

parent c30ced7f
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,13 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl {
IDeclarationInputDataProvider dataProvider, IDeclarationReport report)
{
InputDataProvider = dataProvider;
if (dataProvider.JobInputData.JobType.IsOneOf(BatteryElectricVehicle, ParallelHybridVehicle, SerialHybridVehicle)){
throw new VectoSimulationException("Electric and Hybrid Vehicles are not supported in Declaration Mode. Aborting Simulation.");
}
Report = report;
//if (dataProvider.JobInputData.JobType.IsOneOf(BatteryElectricVehicle, ParallelHybridVehicle, SerialHybridVehicle))
//{
// throw new VectoSimulationException("Electric and Hybrid Vehicles are not supported in Declaration Mode. Aborting Simulation.");
//}
Report = report;
_allowVocational = true;
//try {
......
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