2023-06-13 11:03:49 +00:00
|
|
|
namespace InnovEnergy.Lib.Units.Power;
|
|
|
|
|
|
|
|
|
2023-09-01 08:03:29 +00:00
|
|
|
public sealed class ActivePower : Power
|
2023-06-13 11:03:49 +00:00
|
|
|
{
|
|
|
|
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;
|
2023-06-20 08:13:28 +00:00
|
|
|
|
2023-08-30 14:49:44 +00:00
|
|
|
public static ActivePower operator -(ActivePower d) => -d.Value;
|
2023-06-13 11:03:49 +00:00
|
|
|
}
|
|
|
|
|