Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 0da0ac88

Přidáno uživatelem Alex Konig před asi 4 roky(ů)

Parse data as days - averages, sums

Zobrazit rozdíly:

Server/Parser 1.0/OutputInfo/LumInfo.cs
8 8
{
9 9
    class LumInfo
10 10
    {
11
        // 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
        }
11 27
    }
12 28
}

Také k dispozici: Unified diff