Table of Contents

Class DataProducerClient

Namespace
SmarterLink.Clients
Assembly
SmarterLink.Clients.dll

Client for Data Producer participants. Data Producers acquire and publish production data such as component images and measurements.

public sealed class DataProducerClient : RoleClientBase
Inheritance
DataProducerClient
Inherited Members

Properties

The canonical SmarterLink role for this client type.

public static Role Role { get; }

Property Value

Role

Methods

Publishes an inspection event on behalf of the specified producer participant.

public Task NotifyInspectionEvent<TEvent>(ParticipantId sourceParticipantId, TEvent payload, string? userData = null) where TEvent : InspectionEvents

Parameters

sourceParticipantId ParticipantId
payload TEvent
userData string

Returns

Task

Type Parameters

TEvent

Publishes a job event at the configured station.

public Task NotifyJobEvent<TEvent>(ParticipantId sourceParticipantId, TEvent payload, string? userData = null) where TEvent : JobEvents

Parameters

sourceParticipantId ParticipantId
payload TEvent
userData string

Returns

Task

Type Parameters

TEvent