Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 02458193 authored by Harald Martini's avatar Harald Martini
Browse files

check for AbstractXMLDeclarationCompleteBusDataProvider instead of...

check for AbstractXMLDeclarationCompleteBusDataProvider instead of ConventionalCompletedBusDataProvider when loading a step input
parent e2fbdad5
No related branches found
No related tags found
No related merge requests found
......@@ -349,7 +349,7 @@ namespace VECTO3GUI2020.ViewModel.MultiStage.Implementation
{
var inputData = _inputDataReader.Create(fileName) as IDeclarationInputDataProvider;
vehicleInputData = inputData.JobInputData.Vehicle;
valid = (inputData != null) && (vehicleInputData is XMLDeclarationConventionalCompletedBusDataProviderV24) || (vehicleInputData is XMLDeclarationExemptedCompletedBusDataProviderV24);
valid = (inputData != null) && (vehicleInputData is AbstractXMLDeclarationCompletedBusDataProviderV24) || (vehicleInputData is XMLDeclarationExemptedCompletedBusDataProviderV24);
}
catch (Exception e)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment