Innovenergy_trunk/csharp/Lib/Units/Temperature.cs

15 lines
299 B
C#
Raw Normal View History

2023-02-26 14:39:55 +00:00
using InnovEnergy.Lib.Units.Generator;
2023-02-26 14:39:55 +00:00
namespace InnovEnergy.Lib.Units;
using T = Temperature;
2023-02-26 18:19:16 +00:00
[Generate]
2023-02-26 14:39:55 +00:00
public readonly partial struct Temperature
{
public static String Unit => "°C";
public static String Symbol => "T";
public Temperature(Decimal value) => Value = value;
}