public void AddOutStock(OutStock stock)
        {
            OutGoingPen tempPen = new OutGoingPen();

            tempPen.Name  = "Fasto";
            tempPen.Count = 100;
            stock.Add(tempPen);

            tempPen       = new OutGoingPen();
            tempPen.Name  = "Gripper";
            tempPen.Count = 100;
            stock.Add(tempPen);
        }
Beispiel #2
0
        public void AddOutStock(OutStock stock)
        {
            OutGoingPen tempPen = new OutGoingPen();

            tempPen.Name  = "Fasto";
            tempPen.Count = 100;
            Console.WriteLine("Parts going out: '{0}', Quantity: '{1}'", tempPen.Name, tempPen.Count);
            stock.Add(tempPen);

            tempPen       = new OutGoingPen();
            tempPen.Name  = "Gripper";
            tempPen.Count = 100;
            Console.WriteLine("Parts going out: '{0}', Quantity: '{1}'", tempPen.Name, tempPen.Count);
            stock.Add(tempPen);
        }
Beispiel #3
0
        public void RemoveStockFromInventory(Inventory stock)
        {
            OutGoingPen tempPen  = new OutGoingPen();
            OutStock    outStock = new OutStock();

            tempPen.Name  = "Fasto1";
            tempPen.Count = 100;
            outStock.Add(tempPen);

            tempPen       = new OutGoingPen();
            tempPen.Name  = "Gripper";
            tempPen.Count = 50;
            outStock.Add(tempPen);

            StoreInventory.RemoveFromInventory(outStock, MLPen);
        }