Innovenergy_trunk/csharp/Lib/Units/Resistance.cs

13 lines
329 B
C#

namespace InnovEnergy.Lib.Units;
public sealed class Resistance: Unit
{
public override String Symbol => "Ω";
public Resistance(Double value) : base(value)
{
}
public static implicit operator Resistance(Double d) => new Resistance(d);
public static implicit operator Double(Resistance d) => d.Value;
}