예제 #1
0
        public void InitializeScanningSystem()
        {
            _cashRegisterDisplay = new CashRegisterDisplay();
            IEditableCatalog catalog = new Catalog();
            catalog.AddPriceWithoutPst("12345", 500.00);
            catalog.AddPriceWithPst("23456", 750.00);

            _salesPoint = new SalesPoint(catalog, _cashRegisterDisplay);
        }
예제 #2
0
 public override IEditableCatalog CreateCatalog()
 {
     var catalog = new Catalog();
     return catalog;
 }