Table of Contents

Interface IItemScanner

Namespace
Acuit.Pinpoint.Workstation
Assembly
Acuit.Pinpoint.Workstation.Interfaces.dll

An item scanner initiated via StartScanningItem(ItemScanSettings).

public interface IItemScanner : INotifyPropertyChanged
Inherited Members

Properties

ErrorMessage

Gets or sets an error message to show on the item scanner UI.

string ErrorMessage { get; set; }

Property Value

string

Remarks

A plug-in can use this to show a custom error message in response to a bar code scan or entered number.

IsValid

Gets whether all numbers are scanned and valid.

bool IsValid { get; }

Property Value

bool

Numbers

Gets the numbers being collected by the item scanner.

IReadOnlyList<IItemScannerNumber> Numbers { get; }

Property Value

IReadOnlyList<IItemScannerNumber>

Methods

Clear()

Clears all of the numbers and any error message.

void Clear()

ClearIsRejected()

Clears the "rejected" state for all of the numbers.

void ClearIsRejected()

Remarks

This is a convenience method that sets IsRejected for each number in Numbers to false.

Close()

Close the item scanner.

void Close()

SubmitBarCodeScan(string)

Submits a bar code scan.

void SubmitBarCodeScan(string barCode)

Parameters

barCode string

The bar code.

Events

CancelRequested

Occurs when the cancel button was clicked.

event EventHandler CancelRequested

Event Type

EventHandler

ValidNumberReceived

Occurs when one or more valid numbers are received via a bar code scan or by the operator typing a number.

event EventHandler ValidNumberReceived

Event Type

EventHandler