Projekt

Obecné

Profil

Stáhnout (623 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 5d9a5bd9 A-Konig
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6
7
namespace Parser_1._0.OutputInfo
8
{
9
    class LumInfo
10
    {
11 0da0ac88 A-Konig
        // in lux
12
        double value;
13
        DateTime startTime;
14
        int intervalLength;
15
16
        public LumInfo(double value, DateTime startTime, int intervalLength)
17
        {
18
            this.value = value;
19
            this.startTime = startTime;
20
            this.intervalLength = intervalLength;
21
        }
22
23
        public override string ToString()
24
        {
25
            return $"{startTime.ToString()} \t {value}";
26
        }
27 5d9a5bd9 A-Konig
    }
28
}