Projekt

Obecné

Profil

Stáhnout (686 Bajtů) Statistiky
| Větev: | Tag: | Revize:
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 LogInInfo
10
    {
11 d39750f3 A-Konig
        string building;
12 3811845f Alex Konig
        int amount;
13
        DateTime startTime;
14
        int intervalLength;
15
16 d39750f3 A-Konig
        public LogInInfo(string building, int amount, DateTime startTime, int intervalLength)
17 3811845f Alex Konig
        {
18 d39750f3 A-Konig
            this.building = building;
19 3811845f Alex Konig
            this.amount = amount;
20
            this.startTime = startTime;
21
            this.intervalLength = intervalLength;
22
        }
23
24
        public override string ToString()
25
        {
26 d39750f3 A-Konig
            return $"{startTime} \t {building} \t {amount}";
27 3811845f Alex Konig
        }
28
    }
29
}