EPSON OPOS ADK for .NET サンプルプログラム

デバイス: Scanner

 

ステップ1 単純にデータを読み込んで表示する(C# Sample, VB.NET Sample)

バーコードからデータを読み込んでその値を表示します。
New Method Open, Claim, Release, Close
New Property DeviceEnabled, DataEventEnabled, ScanData
 

ステップ2 DecodeDataを利用する(C# Sample, VB.NET Sample)

DecodeDataを利用し、読み込んだデータを自動的に各プロパティに割り振ります。
New Method  
New Property DecodeData, ScanDataType, ScanDataLabel
 

ステップ3 エラー処理を実装する(C# Sample, VB.NET Sample)

ステップ2にエラー処理を実装し、どの状態にも対処します。
New Method  
New Property  
 

ステップ4 デバイスの統計情報を取得する(C# Sample, VB.NET Sample)

RetrieveStatisticsを使用し、デバイスの統計情報を取得します。
New Method RetrieveStatistics
New Property CapStatisticsReporting