diff --git a/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeCompletedBusVectoRunDataFactory.cs b/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeCompletedBusVectoRunDataFactory.cs index eb0ce95dcb926d4000bb95a6e8e2dd8c20009a9b..e10eecf1d5b6cf222089e147c71f9cee8e3e0c04 100644 --- a/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeCompletedBusVectoRunDataFactory.cs +++ b/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeCompletedBusVectoRunDataFactory.cs @@ -226,9 +226,10 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl vehicle.Height, vehicle.FloorType == FloorType.LowFloor); if (!segment.Found) { throw new VectoException( - "no segment found for vehicle configruation: vehicle category: {0}, axle configuration: {1}, articulated: {2}, primary", + "no segment found for vehicle configruation: vehicle category: {0}, axle configuration: {1}, articulated: {2}, vehicle code: {3}, registered class: {4}, passengersLowerDeck: {5}, height: {6}, lowfloor: {7}. completed", vehicle.VehicleCategory, axleConfiguration, - vehicle.Articulated); + vehicle.Articulated, vehicle.VehicleCode, vehicle.RegisteredClass.GetLabel(), vehicle.NumberOfPassengersLowerDeck, + vehicle.Height, vehicle.FloorType == FloorType.LowFloor); } return segment; diff --git a/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeSingleBusVectoRunDataFactory.cs b/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeSingleBusVectoRunDataFactory.cs index abb40c8b9d5ffd65cd8bd8f9c4ed8118c3c6b294..88d672cd7ff82436e356dc84060f4df6c236b44d 100644 --- a/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeSingleBusVectoRunDataFactory.cs +++ b/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeSingleBusVectoRunDataFactory.cs @@ -45,9 +45,10 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl { completedVehicle.Height, completedVehicle.FloorType == FloorType.LowFloor); if (!segment.Found) { throw new VectoException( - "no segment found for vehicle configruation: vehicle category: {0}, axle configuration: {1}, articulated: {2}, primary", + "no segment found for vehicle configruation: vehicle category: {0}, axle configuration: {1}, articulated: {2}, vehicle code: {3}, registered class: {4}, passengersLowerDeck: {5}, height: {6}, lowfloor: {7}. completed", vehicle.VehicleCategory, _singleBusInputData.PrimaryVehicle.AxleConfiguration, - vehicle.Articulated); + vehicle.Articulated, completedVehicle.VehicleCode, completedVehicle.RegisteredClass.GetLabel(), completedVehicle.NumberOfPassengersLowerDeck, + completedVehicle.Height, completedVehicle.FloorType == FloorType.LowFloor); } foreach (var mission in segment.Missions) { mission.VehicleHeight = completedVehicle.Height + mission.BusParameter.DeltaHeight;