public void LooseItemAreaWeightChanged(int weightOfLooseItem) { ProductsDAO.GetRandomLooseProduct(); currentProduct.SetWeight(weightOfLooseItem); scannedProducts.Add(currentProduct); baggingArea.SetExpectedWeight(scannedProducts.CalculateWeight()); looseItemScale.Disable(); }
// Operations public void LooseProductSelected() { looseItemScale.Enable(); currentProduct = ProductsDAO.GetRandomLooseProduct(); //enable scale and get the current loose product (just finding random one for now) }
// Operations public void LooseProductSelected() { ProductsDAO.GetRandomLooseProduct(); looseItemScale.Enable(); }