Пример #1
0
 public FormQACheck()
 {
     _iqcService = new IqcService();
     _oqcService = new OQCService();
     _modelService = new ModelService();
     InitializeComponent();
     txtProductionID.Focus();
 }
Пример #2
0
        /// <summary>
        /// Trả về QtyPO và Remains theo workingOder và PoNo
        /// </summary>
        /// <param name="modelNo">Model</param>
        /// <param name="poNo">PO</param>
        private bool GetQtyPoAndRemainsByWorkingOderAndPoNo(string modelNo, string poNo)
        {
            _iqcService = new IqcService();
            _currentPo = _iqcService.GetPoByModelAndPoNo(modelNo, poNo);
            if (_currentPo != null)
            {
                lblQtyPO.Text = _currentPo.QuantityPO.ToString(CultureInfo.InvariantCulture);
                lblRemains.Text = _currentPo.QuantityRemain.ToString(CultureInfo.InvariantCulture);

                return true;
            }
            return false;
        }