Projekt

Obecné

Profil

Stáhnout (518 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 3811845f Alex Konig
using System;
2
3
namespace Parser.OutputInfo
4
{
5
    class WindInfo
6
    {
7
        // in m/s
8
        double value;
9
        DateTime startTime;
10
        int intervalLength;
11
12
        public WindInfo(double value, DateTime startTime, int intervalLength)
13
        {
14
            this.value = value;
15
            this.startTime = startTime;
16
            this.intervalLength = intervalLength;
17
        }
18
19
        public override string ToString()
20
        {
21
            return $"{startTime.ToString()} \t {value}";
22
        }
23
    }
24
}