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

14 lines
329 B
C#
Raw Normal View History

2023-06-13 11:03:49 +00:00
namespace InnovEnergy.Lib.Units.Power;
public sealed class DcPower : AcPower
{
public override String Symbol => "W";
public DcPower(Double value) : base(value)
{
}
public static implicit operator DcPower(Double d) => new DcPower(d);
public static implicit operator Double(DcPower d) => d.Value;
}