コード例 #1
0
 public static void StopScan(int drawerId)
 {
     if ((Device != null) && (Device.IsConnected))
     {
         Device.RequestEndScan();
     }
 }
コード例 #2
0
        protected bool ScanDevice()
        {
            if (CurrenRfidReader == null)
            {
                return(false);
            }
            if (!CurrenRfidReader.IsConnected)
            {
                return(false);
            }

            if (CurrenRfidReader.IsInScan)
            {
                CurrenRfidReader.RequestEndScan();
                Thread.Sleep(2000);
            }

            CurrenRfidReader.RequestScan3D(true, true);
            return(true);
        }