/// <summary> /// 注销扫描驱动实例对象 /// </summary> /// <returns></returns> public void ScanDisPose() { try { this.CloseScanDevice(); bbScanKeyMapping.SetKeyMappingDefault(); bbScanKeyMapping.KeyMapClose(); bbScanKeyMapping = null; _instance = null; } catch (Exception SSExp) { LogUtility.Write("注销扫描驱动实例对象失败(ScanDisPose) -> " + SSExp.Message); } }
/// <summary> /// ע��ɨ������ʵ������ /// </summary> /// <returns></returns> public void ScanDisPose() { try { this.CloseScanDevice(); bbScanKeyMapping.SetKeyMappingDefault(); bbScanKeyMapping.KeyMapClose(); bbScanKeyMapping = null; _instance = null; } catch (Exception SSExp) { LogUtility.Write("ע��ɨ������ʵ������ʧ��(ScanDisPose) -> " + SSExp.Message); } }