C# 클래스 Rock.Apps.CheckScannerUtility.ScanningPage

Interaction logic for ScanningPage.xaml
상속: System.Windows.Controls.Page
파일 보기 프로젝트 열기: SparkDevNetwork/Rock 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DisplayScannedDocInfo void
EnsureUploadScanRestClient RockRestClient
GetImageBytesFromRanger byte[]
HideUploadWarningPrompts void
IsDuplicateScan bool
Page_Loaded void
ResumeScanning void
ShowStartupPage void
ShowUploadStats void
ShowUploadSuccess void
ShowUploadWarnings void
StopScanning void
UploadScannedItem void
btnClose_Click void
btnIgnoreAndUpload_Click void
btnSkipAndContinue_Click void
btnStart_Click void
btnStopScanning_Click void

공개 메소드들

메소드 설명
ScanningPage ( BatchPage value ) : System

Initializes a new instance of the ScanningPage class.

ShowException ( Exception ex ) : void

Shows the exception.

ShowScannedDocStatusAndUpload ( ScannedDocInfo scannedDocInfo ) : void

Adds the scanned doc to a history of scanned docs, and shows info and status.

ShowScannerStatus ( RangerTransportStates xportStates, System statusColor, string statusText ) : void

Shows the scanner status.

StartRangerFeedingWhenReady ( object sender, AxRANGERLib e ) : void

Starts the ranger feeding when ready.

StartScanning ( ) : void

Starts the scanning as soon as items are in the hopper

WriteToDebugLog ( string message ) : void

Writes the message to a debug log (if DebugLogFilePath is configured in AppSettings)

micrImage_MicrDataReceived ( object sender, System e ) : void

Handles the MicrDataReceived event of the micrImage control.

rangerScanner_TransportFeedingState ( object sender, EventArgs e ) : void

Handles the TransportFeedingState event of the rangerScanner control.

rangerScanner_TransportFeedingStopped ( object sender, AxRANGERLib e ) : void

Rangers the scanner_ transport feeding stopped.

rangerScanner_TransportIsDead ( object sender, EventArgs e ) : void

Handles the TransportIsDead event of the rangerScanner control.

rangerScanner_TransportNewItem ( object sender, EventArgs e ) : void

Handles the TransportNewItem event of the rangerScanner control.

rangerScanner_TransportSetItemOutput ( object sender, AxRANGERLib e ) : void

Rangers the scanner_ transport item in pocket.

비공개 메소드들

메소드 설명
DisplayScannedDocInfo ( ScannedDocInfo scannedDocInfo ) : void

Displays the scanned document information.

EnsureUploadScanRestClient ( ) : RockRestClient

Initializes the RestClient for Uploads and loads any data that is needed for the scan session (if it isn't already initialized)

GetImageBytesFromRanger ( RangerSides side ) : byte[]

Gets the doc image.

HideUploadWarningPrompts ( bool hideWarningMessages = true ) : void

Hides the warnings messages and prompts

IsDuplicateScan ( ScannedDocInfo scannedDoc ) : bool

Determines whether [is duplicate scan] [the specified scanned document].

Page_Loaded ( object sender, RoutedEventArgs e ) : void

Handles the Loaded event of the Page control.

ResumeScanning ( ) : void

Resumes scanning.

ShowStartupPage ( ) : void

Shows the startup page.

ShowUploadStats ( ) : void

Shows the upload stats.

ShowUploadSuccess ( ) : void

Shows the upload success.

ShowUploadWarnings ( ScannedDocInfo scannedDocInfo ) : void

Shows the upload warnings.

StopScanning ( ) : void

Stops the scanning.

UploadScannedItem ( ScannedDocInfo scannedDocInfo ) : void

Uploads the scanned item.

btnClose_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnClose control.

btnIgnoreAndUpload_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnIgnoreAndUpload control.

btnSkipAndContinue_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnSkipAndContinue control.

btnStart_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnStart control.

btnStopScanning_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnStopScanning control.

메소드 상세

ScanningPage() 공개 메소드

Initializes a new instance of the ScanningPage class.
public ScanningPage ( BatchPage value ) : System
value BatchPage The value.
리턴 System

ShowException() 공개 메소드

Shows the exception.
public ShowException ( Exception ex ) : void
ex System.Exception The ex.
리턴 void

ShowScannedDocStatusAndUpload() 공개 메소드

Adds the scanned doc to a history of scanned docs, and shows info and status.
public ShowScannedDocStatusAndUpload ( ScannedDocInfo scannedDocInfo ) : void
scannedDocInfo ScannedDocInfo The scanned check info.
리턴 void

ShowScannerStatus() 공개 메소드

Shows the scanner status.
public ShowScannerStatus ( RangerTransportStates xportStates, System statusColor, string statusText ) : void
xportStates RangerTransportStates The xport states.
statusColor System
statusText string
리턴 void

StartRangerFeedingWhenReady() 공개 메소드

Starts the ranger feeding when ready.
public StartRangerFeedingWhenReady ( object sender, AxRANGERLib e ) : void
sender object The sender.
e AxRANGERLib The e.
리턴 void

StartScanning() 공개 메소드

Starts the scanning as soon as items are in the hopper
public StartScanning ( ) : void
리턴 void

WriteToDebugLog() 공개 메소드

Writes the message to a debug log (if DebugLogFilePath is configured in AppSettings)
public WriteToDebugLog ( string message ) : void
message string The message.
리턴 void

micrImage_MicrDataReceived() 공개 메소드

Handles the MicrDataReceived event of the micrImage control.
public micrImage_MicrDataReceived ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
리턴 void

rangerScanner_TransportFeedingState() 공개 메소드

Handles the TransportFeedingState event of the rangerScanner control.
public rangerScanner_TransportFeedingState ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

rangerScanner_TransportFeedingStopped() 공개 메소드

Rangers the scanner_ transport feeding stopped.
public rangerScanner_TransportFeedingStopped ( object sender, AxRANGERLib e ) : void
sender object The sender.
e AxRANGERLib The e.
리턴 void

rangerScanner_TransportIsDead() 공개 메소드

Handles the TransportIsDead event of the rangerScanner control.
public rangerScanner_TransportIsDead ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

rangerScanner_TransportNewItem() 공개 메소드

Handles the TransportNewItem event of the rangerScanner control.
public rangerScanner_TransportNewItem ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

rangerScanner_TransportSetItemOutput() 공개 메소드

Rangers the scanner_ transport item in pocket.
public rangerScanner_TransportSetItemOutput ( object sender, AxRANGERLib e ) : void
sender object The sender.
e AxRANGERLib The e.
리턴 void