Add DcPower.Null
This commit is contained in:
parent
4cdfb37e96
commit
5aad1c6ddf
|
@ -10,4 +10,7 @@ public sealed class DcPower : AcPower
|
||||||
|
|
||||||
public static implicit operator DcPower(Double d) => new DcPower(d);
|
public static implicit operator DcPower(Double d) => new DcPower(d);
|
||||||
public static implicit operator Double(DcPower d) => d.Value;
|
public static implicit operator Double(DcPower d) => d.Value;
|
||||||
|
|
||||||
|
|
||||||
|
public static DcPower Null { get; } = new DcPower(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue