Ejemplo n.º 1
0
        /// <summary>
        /// Rangers the state of the scanner_ transport ready to feed.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The e.</param>
        public void rangerScanner_TransportReadyToFeedState(object sender, AxRANGERLib._DRangerEvents_TransportReadyToFeedStateEvent e)
        {
            // remove so we just fire this event once
            this.BatchPage.rangerScanner.TransportReadyToFeedState -= rangerScanner_TransportReadyToFeedState;

            this.BatchPage.ScanningPage.StartScanningRanger();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Starts the ranger feeding when ready.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The e.</param>
        public void StartRangerFeedingWhenReady(object sender, AxRANGERLib._DRangerEvents_TransportReadyToFeedStateEvent e)
        {
            // only fire this event once
            batchPage.rangerScanner.TransportReadyToFeedState -= StartRangerFeedingWhenReady;

            if (_keepScanning)
            {
                batchPage.rangerScanner.StartFeeding(FeedSource.FeedSourceMainHopper, FeedItemCount.FeedOne);
            }
        }
Ejemplo n.º 3
0
 public void rangerScanner_TransportReadyToFeedState(object sender, AxRANGERLib._DRangerEvents_TransportReadyToFeedStateEvent e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0} : rangerScanner_TransportReadyToFeedState", DateTime.Now.ToString("o")));
 }