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

16 lines
351 B
C#
Raw Normal View History

2023-06-13 11:03:49 +00:00
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;
}