Пример #1
0
 /// <summary>
 /// OnProcessScannedCodes starts the decoding process
 /// </summary>
 /// <param name="type">BarcodeProcessType</param>
 protected virtual void OnProcessScannedCodes(BarcodeProcessType type)
 {
     ProcessScannedCodes(this, new BarcodeProcessEventArgs()
     {
         type = type
     });
 }
Пример #2
0
        private void btnProcess_Click(object sender, EventArgs e)
        {
            BarcodeProcessType ProcessType = BarcodeProcessType.DISPATCH;

            if (rbDispatch.Checked)
            {
                ProcessType = BarcodeProcessType.DISPATCH;
            }
            else if (rbRigging.Checked)
            {
                ProcessType = BarcodeProcessType.RIGGING;
            }

            OnProcessScannedCodes(ProcessType);
        }
Пример #3
0
 public ScanObject(BarcodeProcessType type, string identifier)
 {
     this.ScanObjectType       = type;
     this.ScanObjectIdentifier = identifier;
 }