Projekt

Obecné

Profil

Stáhnout (1.2 KB) Statistiky
| Větev: | Tag: | Revize:
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
    class JisInstance
17
    {
18
        /// <summary> Place tag  </summary>
19
        // index 0
20
        public string placeTag;
21
        /// <summary> Date time </summary>
22
        // index 1
23
        public DateTime dateTime;
24
        /// <summary> Number of events </summary>
25
        // index 2
26
        public int amount;
27

    
28
        /// <summary>
29
        /// Constructor
30
        /// </summary>
31
        /// <param name="placeTag"></param>
32
        /// <param name="dateTime"></param>
33
        /// <param name="amount"></param>
34
        public JisInstance(string placeTag, DateTime dateTime, int amount)
35
        {
36
            this.placeTag = placeTag;
37
            this.dateTime = dateTime;
38
            this.amount = amount;
39
        }
40

    
41
    }
42
}
(2-2/4)