Table of Contents

Class OverrideUnitTestMessage

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

The message raised by the IMessenger service when the operator initiates overriding a failed test for the unit at the station.

public class OverrideUnitTestMessage : WorkstationRequestMessage<Override?>, IWorkstationRequestMessage
Inheritance
OverrideUnitTestMessage
Implements
Inherited Members

Remarks

By default, Acuit Pinpoint Workstation will handle this message when a unit is at the station by doing the following:

  1. If the operator does not have authorization to override the specified test, then an authentication dialog will first appear so that a different worker who has authorization can provide credentials.
  2. Show a dialog allowing the operator to enter notes for the override.
  3. Record the test override for the unit.

If the override was successfully recorded, the message Response will contain the resulting Override; otherwise, it will contain null (e.g., the operator canceled the dialog).

A plug-in can customize the default behavior by registering a recipient for this message. To suppress the default behavior, the plug-in should use Reply(T) to set the response to the message.

A plug-in can emulate the operator action that this message represents by sending this message.

Constructors

OverrideUnitTestMessage(int)

Initializes a new instance of the OverrideUnitTestMessage class.

public OverrideUnitTestMessage(int unitTestId)

Parameters

unitTestId int

The identifier of the unit test to override.

Properties

UnitTestId

Gets the identifier of the unit test to override.

public int UnitTestId { get; }

Property Value

int