Exemplo n.º 1
0
 /// <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);
     }
 }
Exemplo n.º 2
0
 /// <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);
     }
 }