1 |
3811845f
|
Alex 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.OutputInfo
|
8 |
|
|
{
|
9 |
|
|
class LumInfo
|
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 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|