aswi2021tri-musketyri-gitlab/Server/ServerApp/Parser/InputData/WeatherInstance.cs @ 38361fa4
1 |
using System; |
---|---|
2 |
|
3 |
namespace Parser.InputData |
4 |
{
|
5 |
/// <summary>
|
6 |
///
|
7 |
/// Csv format:
|
8 |
/// "30.04.2019 16:19:01";20.3;5.3;0;19
|
9 |
/// [date time];[temperature];[wind];[rain];[luminance]
|
10 |
/// </summary>
|
11 |
class WeatherInstance |
12 |
{
|
13 |
// 0
|
14 |
public DateTime dateTime; |
15 |
// 1
|
16 |
public double temp; |
17 |
// 2
|
18 |
public double wind; |
19 |
// 3
|
20 |
public int rain; |
21 |
// 4
|
22 |
public double lum; |
23 |
|
24 |
public WeatherInstance(DateTime date, double temp, double wind, int rain, double lum) |
25 |
{
|
26 |
this.dateTime = date; |
27 |
this.temp = temp; |
28 |
this.wind = wind; |
29 |
this.rain = rain; |
30 |
this.lum = lum; |
31 |
}
|
32 |
}
|
33 |
}
|
- « Předchozí
- 1
- 2
- 3
- 4
- Další »