17 lines
379 B
C#
17 lines
379 B
C#
namespace InnovEnergy.Lib.Units.Power;
|
|
|
|
public sealed class DcPower : Power
|
|
{
|
|
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;
|
|
|
|
|
|
public static DcPower Null => new DcPower(0);
|
|
}
|