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 0b4cf415 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

add ampere as SI unit

parent 4883d276
No related branches found
No related tags found
No related merge requests found
......@@ -585,6 +585,14 @@ namespace TUGraz.VectoCore.Utils
}
}
public class Ampere : SIBase<Ampere>
{
private Ampere(double val) : base(new SI(val).Ampere)
{
Numerator = new[] { Unit.Ampere };
}
}
/// <summary>
/// Base Class for all special SI Classes. Not intended to be used directly.
......@@ -841,7 +849,8 @@ namespace TUGraz.VectoCore.Utils
d,
h,
milli,
t
t,
Ampere
}
/// <summary>
......@@ -1285,6 +1294,11 @@ namespace TUGraz.VectoCore.Utils
[DebuggerHidden] get { return new SI(this, 1000.0, Unit.k); }
}
public SI Ampere
{
[DebuggerHidden] get { return new SI(this, 1.0, Unit.Ampere); }
}
/// <summary>
/// Quantifier for Dezi (1/10)
/// </summary>
......
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