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

Skip to content
Snippets Groups Projects
Commit 1a8a28b7 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

corrected error message for wheels lookup

parent fa32c3d1
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ namespace TUGraz.VectoCore.Models.Declaration ...@@ -39,7 +39,7 @@ namespace TUGraz.VectoCore.Models.Declaration
{ {
public class Axle : SimulationComponentData public class Axle : SimulationComponentData
{ {
public object WheelsDimension { get; internal set; } public string WheelsDimension { get; internal set; }
[Required, SIRange(0, 100)] [Required, SIRange(0, 100)]
public KilogramSquareMeter Inertia { get; internal set; } public KilogramSquareMeter Inertia { get; internal set; }
......
...@@ -48,7 +48,7 @@ namespace TUGraz.VectoCore.Models.Declaration ...@@ -48,7 +48,7 @@ namespace TUGraz.VectoCore.Models.Declaration
protected override string ErrorMessage 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) public override Entry Lookup(string key)
......
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