Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit b89747cc authored by Michael KRISPER's avatar Michael KRISPER
Browse files

minor changes

parent 54594ed2
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,24 @@ using TUGraz.VectoCore.Utils;
namespace TUGraz.VectoCore.Models.Declaration
{
public sealed class StandardWeight
{
public Kilogram CurbWeight;
public Kilogram GrossVehicleWeight;
public Kilogram MaxPayLoad
{
get { return GrossVehicleWeight - CurbWeight; }
}
}
/// <summary>
/// Lookup Class for Standard Weights of Bodies, Trailers and Semitrailers.
/// Standard Weights include
/// CurbWeight (=Empty Weight),
/// Gross Vehicle Weight (=Maximum Allowed Weight), and
/// MaxPayload.
/// </summary>
public sealed class StandardWeigths : LookupData<string, StandardWeight>
{
private const string ResourceId = "TUGraz.VectoCore.Resources.Declaration.StandardWeights.csv";
......@@ -69,10 +87,4 @@ namespace TUGraz.VectoCore.Models.Declaration
});
}
}
public sealed class StandardWeight
{
public Kilogram CurbWeight;
public Kilogram GrossVehicleWeight;
}
}
\ No newline at end of file
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