Exemple #1
0
        private void InitBarcode2()
        {
            var com = _xSetting.GetComPort("Barcode2");

            _barcode2 = new ComPortForm(com)
            {
                ParserMethod = ParserMethodBarcode2
            };
            _barcode2.CompPortDataUpdated += Barcode2OnCompPortDataUpdated;
        }
Exemple #2
0
        private void InitWeighing()
        {
            var com = _xSetting.GetComPort("Weighing");

            _weighing = new ComPortForm(com)
            {
                ParserMethod = ParserMethodWeighing
            };
            _weighing.CompPortDataUpdated += WeighingOnCompPortDataUpdated;
        }