Innovenergy_trunk/csharp/Lib/Units/Power/ReactivePower.cs

17 lines
437 B
C#

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