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

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

updated lookup error messages

parent d22ec340
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ namespace TUGraz.VectoCore.Models.Declaration.VehicleOperation
{
#region Overrides of LookupData
protected override string ResourceId => "TUGraz.VectoCore.Resources.Declaration.VehicleOperation.AnnualMileage.csv";
protected override string ErrorMessage => "Error looking up mileage {0}";
protected override string ErrorMessage => "Error looking up mileage {0} {1}";
protected override void ParseData(DataTable table)
{
......
......@@ -44,7 +44,7 @@ namespace TUGraz.VectoCore.Models.Declaration.VehicleOperation
protected override string ResourceId =>
"TUGraz.VectoCore.Resources.Declaration.VehicleOperation.StationaryChargingDuration.csv";
protected override string ErrorMessage => "Error looking up stationary charging duration per event";
protected override string ErrorMessage => "Error looking up stationary charging duration per event {0} {1}";
#endregion
......@@ -68,7 +68,7 @@ namespace TUGraz.VectoCore.Models.Declaration.VehicleOperation
protected override string ResourceId =>
"TUGraz.VectoCore.Resources.Declaration.VehicleOperation.StationaryChargingPower.csv";
protected override string ErrorMessage => "Error looking up stationary charging power from infrastructure";
protected override string ErrorMessage => "Error looking up stationary charging power from infrastructure {0} {1}";
#endregion
......@@ -90,7 +90,7 @@ namespace TUGraz.VectoCore.Models.Declaration.VehicleOperation
protected override string ResourceId =>
"TUGraz.VectoCore.Resources.Declaration.VehicleOperation.ChargingEventDuringMission.csv";
protected override string ErrorMessage => "Error looking up Number of charging events during mission";
protected override string ErrorMessage => "Error looking up Number of charging events during mission {0} {1}";
#endregion
......
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