Exemplo n.º 1
0
 public RaceEvent(DateTime time, Rider rider, Guid eventId)
 {
     Time    = time;
     Rider   = rider;
     EventId = eventId;
 }
Exemplo n.º 2
0
 public ManualEvent(DateTime time, Rider rider, Guid eventId, string staffName) : base(time, rider, eventId)
 {
     StaffName = staffName;
 }
Exemplo n.º 3
0
 public PenaltyEvent(DateTime time, Rider rider, string reason, int seconds, string staffName, Guid eventId = new Guid())
     : base(time, rider, eventId == Guid.Empty ? Guid.NewGuid() : eventId, staffName)
 {
     Reason  = reason;
     Seconds = seconds;
 }
Exemplo n.º 4
0
 public DSQEvent(DateTime time, Rider rider, string staffName, string reason, Guid eventId = new Guid())
     : base(time, rider, eventId == Guid.Empty ? Guid.NewGuid() : eventId, staffName)
 {
     Reason = reason;
 }
Exemplo n.º 5
0
 /// <summary>
 /// For the end timing gate we may receive a timing event before a rider id
 /// So we might have to set this field after we've matched it
 /// </summary>
 /// <param name="rider"></param>
 public void SetRider(Rider rider)
 {
     Rider = rider;
 }
Exemplo n.º 6
0
 public TimingEvent(DateTime time, Rider rider, long microseconds, int gateId, Guid eventId = new Guid())
     : base(time, rider, eventId == Guid.Empty ? Guid.NewGuid() : eventId)
 {
     Microseconds = microseconds;
     GateId       = gateId;
 }
Exemplo n.º 7
0
 public IdEvent(DateTime time, Rider rider, string unitId, Direction idType, Guid eventId = new Guid())
     : base(time, rider, eventId == Guid.Empty ? Guid.NewGuid() : eventId)
 {
     UnitId = unitId;
     IdType = idType;
 }