//---------------------------------------------------------------------------- // Function : ScanToFile Event // Argument : Scanning image count // Scanning image file name // Return code : Nothing //---------------------------------------------------------------------------- private void axFiScn1_ScanToFile(object sender, AxFiScnLib._DFiScnEvents_ScanToFileEvent e) { if (this.chkAIQCNotice.CheckState == CheckState.Checked) { String[] aiqcResult = { e.scanCount.ToString(), "", "", "", "", "", "", "", "", aiqcResultHashTable[axFiScn1.AIQCResult].ToString(),"" }; resultList.Add(aiqcResult); } if (axFiScn1.BlankPageSkip != 0 && axFiScn1.BlankPageNotice == 1) { String[] blankPageResult = { e.scanCount.ToString(), "", "", "", "", "", "", "", "", "", blankPageResultHashTable[axFiScn1.BlankPageResult].ToString()}; resultList.Add(blankPageResult); } if (ModuleScan.bCancelScan) { axFiScn1.CancelScan(); ModuleScan.bCancelScan = false; } }
private void axFiScn1_DetectBarcodeDetail(object sender, AxFiScnLib._DFiScnEvents_DetectBarcodeDetailEvent e) { String count = e.barcodeCount + "/" + e.barcodeTotalCount; String[] barcode = { e.readCount.ToString(), count, barcodeHashTable[e.barcodeType].ToString(), e.barcodeTextLength.ToString(), e.barcodeText, e.barcodeX.ToString(), e.barcodeY.ToString(), barcodeRotationHashTable[e.barcodeRotation].ToString(), "", "", "" }; resultList.Add(barcode); }
//---------------------------------------------------------------------------- // Function : Detection result of PatchCode is added to arrangement. // Return code : Nothing //---------------------------------------------------------------------------- private void axFiScn1_DetectPatchCode(object sender, AxFiScnLib._DFiScnEvents_DetectPatchCodeEvent e) { String[] patchCode = { e.readCount.ToString(), "", "", "", "", "", "", "", patchCodeHashTable[e.patchCodeType].ToString(), "", "" }; resultList.Add(patchCode); }
//---------------------------------------------------------------------------- // Function : Detection result of Barcode is added to arrangement. // Return code : Nothing //---------------------------------------------------------------------------- private void axFiScn1_DetectBarcode(object sender, AxFiScnLib._DFiScnEvents_DetectBarcodeEvent e) { }