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

17 lines
437 B
C#
Raw Normal View History

2023-06-13 11:03:49 +00:00
namespace InnovEnergy.Lib.Units.Power;
2023-09-01 08:03:29 +00:00
public sealed class ReactivePower : Power
2023-06-13 11:03:49 +00:00
{
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;
2023-06-13 11:03:49 +00:00
}