Innovenergy_trunk/csharp/Lib/Units/Current.cs

12 lines
313 B
C#
Raw Normal View History

2023-02-26 14:43:53 +00:00
namespace InnovEnergy.Lib.Units;
2023-06-13 11:03:49 +00:00
public sealed class Current : Unit
2023-02-26 14:43:53 +00:00
{
2023-06-13 11:03:49 +00:00
public override String Symbol => "A";
2023-02-26 14:43:53 +00:00
2023-06-13 11:03:49 +00:00
public Current(Double value) : base(value)
{}
2023-05-24 10:04:01 +00:00
2023-06-13 11:03:49 +00:00
public static implicit operator Current(Double d) => new Current(d);
public static implicit operator Double(Current d) => d.Value;
2023-02-26 14:43:53 +00:00
}