Innovenergy_trunk/csharp/Lib/StatusData/Units.cs

9 lines
381 B
C#

namespace InnovEnergy.Lib.StatusData;
public static partial class Units
{
public static Current A (this Decimal value) => new Current(value);
public static Voltage V (this Decimal value) => new Voltage(value);
public static Power W (this Decimal value) => new Power(value);
public static Resistance Ohm(this Decimal value) => new Resistance(value);
}