Table of Contents

Class RemovePreassemblyMessage

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

The message raised by the IMessenger service when the operator initiates removing a preassembly from the unit at the station.

public class RemovePreassemblyMessage : WorkstationRequestMessage<RemovePreassemblyStatus?>, IWorkstationRequestMessage
Inheritance
RemovePreassemblyMessage
Implements
Inherited Members

Remarks

By default, Acuit Pinpoint Workstation will handle this message when a unit is at the station and ComponentTypeName matches a component that can be scanned at the station by getting confirmation from the operator and then removing the preassembly, displaying any error message reported by Acuit Pinpoint while attempting to remove the preassembly.

If the preassembly was removed, the message Response will contain a RemovePreassemblyStatus representing the preassembly removal; otherwise, it will contain null (i.e., the operator did not confirm or an error occurred).

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

RemovePreassemblyMessage(string)

Initializes a new instance of the RemovePreassemblyMessage class.

public RemovePreassemblyMessage(string componentTypeName)

Parameters

componentTypeName string

The component type name.

Exceptions

ArgumentNullException

componentTypeName is null.

Properties

ComponentTypeName

Gets the component type name.

public string ComponentTypeName { get; }

Property Value

string