-
Notifications
You must be signed in to change notification settings - Fork 1
/
runner.cs
87 lines (76 loc) · 1.91 KB
/
runner.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MeOSReplay
{
internal class runner
{
int _id;
public int Id
{
get { return _id; }
set { _id = value; }
}
string _name;
public string Name
{
get { return _name; }
set { _name = value; }
}
int _start;
public int Start
{
get { return _start; }
set { _start = value; }
}
int _finish;
public int Finish
{
get { return _finish; }
set { _finish = value; }
}
int _status;
public int Status
{
get { return _status; }
set { _status = value; }
}
int _cardNo;
public int CardNo
{
get { return _cardNo; }
set { _cardNo = value; }
}
int _startNo;
public int StartNo
{
get { return _startNo; }
set { _startNo = value; }
}
int _classe;
public int Classe
{
get { return _classe; }
set { _classe = value; }
}
Card _card;
internal Card Card
{
get { return _card; }
set { _card = value; }
}
internal runner(int id, string name, /*int start, int finish, */int status, int cardNo, int startNo, int classe, string punchesstr, int cardReadId, int cardId, List<int> _postes)
{
_id = id;
_name = name;
_status = status;
_cardNo = cardNo;
_startNo = startNo;
_classe = classe;
_card = new Card(cardNo, punchesstr, cardReadId, cardId, _postes);
_start = _card.Punches.getStart();
_finish = _card.Punches.getFinish();
}
}
}