Пример #1
0
 private void CreateChequeRow(bool printed, DateTime printDate, string barcode, AttractionInfo attraction)
 {
     _chequeRows.Add(new ChequeRow
     {
         Printed       = printed,
         PrintDate     = printDate,
         TicketBarCode = barcode,
         TicketNumber  = CurrentTicketNumber - 1,
         Attraction    = attraction,
         TicketRoll    = CurrentRollInfo
     });
     Log.Debug("Напечатана позиция чека {0} {1} {2} ", attraction.DisplayName, CurrentTicketNumber - 1, CurrentRollInfo.NextTicket);
 }
Пример #2
0
 public ParkService(AttractionInfo attractionInfo)
 {
     AttractionInfo     = attractionInfo;
     SubItemsCollection = null;
 }