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
Role
The canonical SmarterLink role for this client type.
public static Role Role { get; }
Property Value
Methods
NotifyInspectionEvent<TEvent>(ParticipantId, TEvent, string?)
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
sourceParticipantIdParticipantIdpayloadTEventuserDatastring
Returns
Type Parameters
TEvent
NotifyJobEvent<TEvent>(ParticipantId, TEvent, string?)
Publishes a job event at the configured station.
public Task NotifyJobEvent<TEvent>(ParticipantId sourceParticipantId, TEvent payload, string? userData = null) where TEvent : JobEvents
Parameters
sourceParticipantIdParticipantIdpayloadTEventuserDatastring
Returns
Type Parameters
TEvent