1 |
3811845f
|
Alex Konig
|
using System;
|
2 |
|
|
|
3 |
|
|
namespace Parser.InputData
|
4 |
|
|
{
|
5 |
|
|
/// <summary>
|
6 |
|
|
///
|
7 |
|
|
/// Data contains:
|
8 |
|
|
/// datum_a_cas - timestamp of JIS authentication(accuracy in milliseconds)
|
9 |
|
|
/// pocet_logu - number of authentized users in given time
|
10 |
|
|
/// popis_objektu - description of object according to standard ZČU tagging
|
11 |
|
|
/// Csv format:
|
12 |
|
|
/// "A1";"08.04.2018 14:23:15";1
|
13 |
|
|
/// [place tag];[date time];[amount]
|
14 |
|
|
/// </summary>
|
15 |
|
|
class JisInstance
|
16 |
|
|
{
|
17 |
|
|
//0
|
18 |
|
|
public string placeTag;
|
19 |
|
|
//1
|
20 |
|
|
public DateTime dateTime;
|
21 |
|
|
//2
|
22 |
|
|
public int amount;
|
23 |
|
|
|
24 |
|
|
public JisInstance(string placeTag, DateTime dateTime, int amount)
|
25 |
|
|
{
|
26 |
|
|
this.placeTag = placeTag;
|
27 |
|
|
this.dateTime = dateTime;
|
28 |
|
|
this.amount = amount;
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
}
|
32 |
|
|
}
|