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); }
public ParkService(AttractionInfo attractionInfo) { AttractionInfo = attractionInfo; SubItemsCollection = null; }