Innovenergy_trunk/csharp/Lib/StatusData/Units.cs

9 lines
381 B
C#
Raw Normal View History

namespace InnovEnergy.Lib.StatusData;
2023-02-23 12:54:13 +00:00
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);
}