//关闭rfid public bool close() { //如果打开就关闭 if (isOpened) { R2k.deviceDisconnect(); R2k.deviceUnInit(); isOpened = false; return(true); } MessageBox.Show("请先打开硬件!"); return(false); }
//结束扫描 public bool stopScanRfid() { R2k.StopInv(); return(true); }
//开始扫描 public bool scanRfid() { R2k.BeginMultiInv(asynReadTag); return(true); }