Innovenergy_trunk/csharp/Lib/Units/Resistance.cs

13 lines
329 B
C#
Raw Normal View History

2023-02-26 14:39:55 +00:00
namespace InnovEnergy.Lib.Units;
2023-06-13 11:03:49 +00:00
public sealed class Resistance: Unit
{
2023-06-13 11:03:49 +00:00
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;
}