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
workerAtStationIWorkerAtStationThe IWorkerAtStation representing the worker at the station.
scannedSerialNumberstringThe scanned serial number, or null if a serial number was not scanned.
scannedModelNumberstringThe scanned model number, or null if a model number was not scanned.
errorMessagestringThe error message.
Exceptions
- ArgumentNullException
workerAtStationis null.- ArgumentNullException
errorMessageis null.
Properties
ErrorMessage
Gets the error message.
public string ErrorMessage { get; }
Property Value
ScannedModelNumber
Gets the scanned model number, or null if a model number was not scanned.
public string? ScannedModelNumber { get; }
Property Value
ScannedSerialNumber
Gets the scanned serial number, or null if a serial number was not scanned.
public string? ScannedSerialNumber { get; }