Innovenergy_trunk/csharp/Lib/Units/Temperature.cs

15 lines
297 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;
2023-02-26 18:19:16 +00:00
using T=Temperature;
[Mean]
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;
2023-02-26 18:19:16 +00:00
}