From 1a8a28b79fee48397655c9fdc92b0def1cc1768d Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Wed, 7 Sep 2016 19:12:15 +0200 Subject: [PATCH] corrected error message for wheels lookup --- VectoCore/VectoCore/Models/Declaration/Axle.cs | 2 +- VectoCore/VectoCore/Models/Declaration/Wheels.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VectoCore/VectoCore/Models/Declaration/Axle.cs b/VectoCore/VectoCore/Models/Declaration/Axle.cs index c902939bb1..8c80a9cafd 100644 --- a/VectoCore/VectoCore/Models/Declaration/Axle.cs +++ b/VectoCore/VectoCore/Models/Declaration/Axle.cs @@ -39,7 +39,7 @@ namespace TUGraz.VectoCore.Models.Declaration { public class Axle : SimulationComponentData { - public object WheelsDimension { get; internal set; } + public string WheelsDimension { get; internal set; } [Required, SIRange(0, 100)] public KilogramSquareMeter Inertia { get; internal set; } diff --git a/VectoCore/VectoCore/Models/Declaration/Wheels.cs b/VectoCore/VectoCore/Models/Declaration/Wheels.cs index eed2c80c39..d6d82850b5 100644 --- a/VectoCore/VectoCore/Models/Declaration/Wheels.cs +++ b/VectoCore/VectoCore/Models/Declaration/Wheels.cs @@ -48,7 +48,7 @@ namespace TUGraz.VectoCore.Models.Declaration protected override string ErrorMessage { - get { return "Auxiliary Lookup Error: No value found for Wheels. Key: '{0}'"; } + get { return "Wheels Lookup Error: No value found for Wheels. Key: '{0}'"; } } public override Entry Lookup(string key) -- GitLab