18 lines
428 B
C#
18 lines
428 B
C#
namespace InnovEnergy.Lib.Units.Power;
|
|
|
|
|
|
public sealed class ActivePower : AcPower
|
|
{
|
|
public override String Symbol => "W";
|
|
|
|
public ActivePower(Double value) : base(value)
|
|
{
|
|
}
|
|
|
|
public static implicit operator ActivePower(Double d) => new ActivePower(d);
|
|
public static implicit operator Double(ActivePower d) => d.Value;
|
|
|
|
public static ActivePower? operator -(ActivePower? d) => -d?.Value;
|
|
}
|
|
|