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

17 lines
381 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;
2023-06-20 08:15:00 +00:00
public static DcPower Null => new DcPower(0);
2023-06-13 11:03:49 +00:00
}