Revize 98b568bc
Přidáno uživatelem Alex Konig před téměř 4 roky(ů)
Server/ServerApp/Parser/OutputInfo/WeatherInfo.cs | ||
---|---|---|
6 | 6 |
/// Class representing the weather in a given interval at ZCU |
7 | 7 |
/// - shortest possible interval is 1h |
8 | 8 |
/// </summary> |
9 |
/// <author>Alex Konig</author> |
|
9 | 10 |
class WeatherInfo |
10 | 11 |
{ |
11 | 12 |
/// <summary> Temperature in °C </summary> |
... | ... | |
72 | 73 |
/// <returns>interval start temperature probability of rain wind weather condition</returns> |
73 | 74 |
public override string ToString() |
74 | 75 |
{ |
75 |
return $"{startTime.ToString()} \t {temp}°C \t {rain}% \t {wind}m/s \t {condition.ToString()}"; |
|
76 |
return $"{startTime.ToString()} \t {temp}°C \t {rain}% \t {wind}m/s \t {condition.ToString()} \t {lum}";
|
|
76 | 77 |
} |
77 | 78 |
|
78 | 79 |
} |
Také k dispozici: Unified diff
re #8612 Weather parser in hourly intervals