-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathWeatherDataPoint.cs
More file actions
19 lines (17 loc) · 706 Bytes
/
WeatherDataPoint.cs
File metadata and controls
19 lines (17 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace UndercutF1.Data;
/// <summary>
/// Sample: { "AirTemp": "25.6", "Humidity": "62.0", "Pressure": "1013.1", "Rainfall": "0", "TrackTemp": "31.2", "WindDirection": "7", "WindSpeed": "1.2" }
/// </summary>
[Mergeable]
public sealed partial record WeatherDataPoint : ILiveTimingDataPoint
{
/// <inheritdoc />
public LiveTimingDataType LiveTimingDataType => LiveTimingDataType.WeatherData;
public string? AirTemp { get; set; }
public string? Humidity { get; set; }
public string? Pressure { get; set; }
public string? Rainfall { get; set; }
public string? TrackTemp { get; set; }
public string? WindDirection { get; set; }
public string? WindSpeed { get; set; }
}