protected void onTagDataReceived(TagDataReceivedEventArgs e)
 {
     if (TagDataReceived != null)
     {
         TagDataReceived(this, e);
     }
 }
        private void Events_StatusNotify(object sender, Events.StatusEventArgs e)
        {
            // 如果是扫描按钮松开事件
            if (e.StatusEventData.StatusEventType == Symbol.RFID3.Events.STATUS_EVENT_TYPE.INVENTORY_STOP_EVENT)
            {
                TagDataReceivedEventArgs args = new TagDataReceivedEventArgs();

                // 读取扫描到的tag
                TagData[] tagData = rfidReader.Actions.GetReadTags(1000);
                args.TagData = new List <TagData>();
                foreach (TagData item in tagData)
                {
                    args.TagData.Add(item);
                }

                // 触发tag读取到事件(readerService的tag捕获事件)
                onTagDataReceived(args);
            }
        }