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