Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 734533a8

Přidáno uživatelem Alex Konig před více než 3 roky(ů)

re #8597 Code maintenance - comments, namespace changes

Zobrazit rozdíly:

Server/ServerApp/Parser/InputData/WeatherInstance.cs
1 1
using System;
2 2

  
3
namespace Parser.InputData
3
namespace ServerApp.Parser.InputData
4 4
{
5 5
    /// <summary>
6
    /// Data from weather data file
6 7
    /// 
7 8
    /// Csv format:
8 9
    ///     "30.04.2019 16:19:01";20.3;5.3;0;19
......
10 11
    /// </summary>
11 12
    class WeatherInstance
12 13
    {
13
        // 0
14
        /// <summary> Date and time </summary>
15
        // index 0
14 16
        public DateTime dateTime;
15
        // 1
17
        /// <summary> Temperature in °C </summary>
18
        // index 1
16 19
        public double temp;
17
        // 2
20
        /// <summary> Wind in m/s </summary>
21
        // index 2
18 22
        public double wind;
19
        // 3
23
        /// <summary> Rain (0 if none, 1 if rain) </summary>
24
        // index 3
20 25
        public int rain;
21
        // 4
26
        /// <summary>  Luminance in klux </summary>
27
        // index 4
22 28
        public double lum;
23 29

  
30
        /// <summary>
31
        /// Constructor
32
        /// </summary>
33
        /// <param name="date"></param>
34
        /// <param name="temp"></param>
35
        /// <param name="wind"></param>
36
        /// <param name="rain"></param>
37
        /// <param name="lum"></param>
24 38
        public WeatherInstance(DateTime date, double temp, double wind, int rain, double lum)
25 39
        {
26 40
            this.dateTime = date;

Také k dispozici: Unified diff