Table of Contents

Class UnitScanErrorMessage

Namespace
Acuit.Pinpoint.Workstation.Messaging
Assembly
Acuit.Pinpoint.Workstation.Abstractions.dll

The message raised by the IMessenger service when a unit scan error occurs.

public class UnitScanErrorMessage : WorkerStationEventMessage
Inheritance
UnitScanErrorMessage
Inherited Members

Constructors

UnitScanErrorMessage(IWorkerAtStation, string?, string?, string)

Initializes a new instance of the UnitScanErrorMessage class.

public UnitScanErrorMessage(IWorkerAtStation workerAtStation, string? scannedSerialNumber, string? scannedModelNumber, string errorMessage)

Parameters

workerAtStation IWorkerAtStation

The IWorkerAtStation representing the worker at the station.

scannedSerialNumber string

The scanned serial number, or null if a serial number was not scanned.

scannedModelNumber string

The scanned model number, or null if a model number was not scanned.

errorMessage string

The error message.

Exceptions

ArgumentNullException

workerAtStation is null.

ArgumentNullException

errorMessage is null.

Properties

ErrorMessage

Gets the error message.

public string ErrorMessage { get; }

Property Value

string

ScannedModelNumber

Gets the scanned model number, or null if a model number was not scanned.

public string? ScannedModelNumber { get; }

Property Value

string

ScannedSerialNumber

Gets the scanned serial number, or null if a serial number was not scanned.

public string? ScannedSerialNumber { get; }

Property Value

string