Projekt

Obecné

Profil

Stáhnout (1.24 KB) Statistiky
| Větev: | Tag: | Revize:
1 5d9a5bd9 A-Konig
using System;
2
3 734533a8 A-Konig
namespace ServerApp.Parser.InputData
4 5d9a5bd9 A-Konig
{
5
    /// <summary>
6 734533a8 A-Konig
    /// Data from jis data file 
7
    /// 
8 5d9a5bd9 A-Konig
    /// 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 98b568bc A-Konig
    /// <author>Alex Konig</author>
17 5d9a5bd9 A-Konig
    class JisInstance
18
    {
19 734533a8 A-Konig
        /// <summary> Place tag  </summary>
20
        // index 0
21 5d9a5bd9 A-Konig
        public string placeTag;
22 734533a8 A-Konig
        /// <summary> Date time </summary>
23
        // index 1
24 5d9a5bd9 A-Konig
        public DateTime dateTime;
25 734533a8 A-Konig
        /// <summary> Number of events </summary>
26
        // index 2
27 5d9a5bd9 A-Konig
        public int amount;
28
29 734533a8 A-Konig
        /// <summary>
30
        /// Constructor
31
        /// </summary>
32
        /// <param name="placeTag"></param>
33
        /// <param name="dateTime"></param>
34
        /// <param name="amount"></param>
35 5d9a5bd9 A-Konig
        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
}