1
|
using System;
|
2
|
|
3
|
namespace ServerApp.Parser.InputData
|
4
|
{
|
5
|
/// <summary>
|
6
|
/// Data from jis data file
|
7
|
///
|
8
|
/// Data contains:
|
9
|
/// datum_a_cas - timestamp of JIS authentication(accuracy in milliseconds)
|
10
|
/// pocet_logu - number of authentized users in given time
|
11
|
/// popis_objektu - description of object according to standard ZČU tagging
|
12
|
/// Csv format:
|
13
|
/// "A1";"08.04.2018 14:23:15";1
|
14
|
/// [place tag];[date time];[amount]
|
15
|
/// </summary>
|
16
|
/// <author>Alex Konig</author>
|
17
|
class JisInstance
|
18
|
{
|
19
|
/// <summary> Place tag </summary>
|
20
|
// index 0
|
21
|
public string placeTag;
|
22
|
/// <summary> Date time </summary>
|
23
|
// index 1
|
24
|
public DateTime dateTime;
|
25
|
/// <summary> Number of events </summary>
|
26
|
// index 2
|
27
|
public int amount;
|
28
|
|
29
|
/// <summary>
|
30
|
/// Constructor
|
31
|
/// </summary>
|
32
|
/// <param name="placeTag"></param>
|
33
|
/// <param name="dateTime"></param>
|
34
|
/// <param name="amount"></param>
|
35
|
public JisInstance(string placeTag, DateTime dateTime, int amount)
|
36
|
{
|
37
|
this.placeTag = placeTag;
|
38
|
this.dateTime = dateTime;
|
39
|
this.amount = amount;
|
40
|
}
|
41
|
|
42
|
}
|
43
|
}
|