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 JisInfo
|
10
|
{
|
11
|
string faculty;
|
12
|
int amount;
|
13
|
DateTime startTime;
|
14
|
int intervalLength;
|
15
|
|
16
|
public JisInfo(string faculty, int amount, DateTime startTime, int intervalLength)
|
17
|
{
|
18
|
this.faculty = faculty;
|
19
|
this.amount = amount;
|
20
|
this.startTime = startTime;
|
21
|
this.intervalLength = intervalLength;
|
22
|
}
|
23
|
|
24
|
public override string ToString()
|
25
|
{
|
26
|
return $"{startTime.ToString()} \t {faculty} \t {amount}";
|
27
|
}
|
28
|
}
|
29
|
}
|