Projekt

Obecné

Profil

Stáhnout (686 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
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
        string building;
12
        int amount;
13
        DateTime startTime;
14
        int intervalLength;
15

    
16
        public LogInInfo(string building, int amount, DateTime startTime, int intervalLength)
17
        {
18
            this.building = building;
19
            this.amount = amount;
20
            this.startTime = startTime;
21
            this.intervalLength = intervalLength;
22
        }
23

    
24
        public override string ToString()
25
        {
26
            return $"{startTime} \t {building} \t {amount}";
27
        }
28
    }
29
}
(3-3/9)