Class PrePlanningTourSavedConsumer
Represents the shipment saved consumer for the rrp
Inheritance
System.Object
PrePlanningTourSavedConsumer
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class PrePlanningTourSavedConsumer : ConsumerBase<PrePlanningTourSavedEvent>
Constructors
| Improve this Doc View SourcePrePlanningTourSavedConsumer(IKeyValueStore, ITourService, IShipmentService, ITourShipmentAssignmentService, IHubContext<IResourceRequirementPlanningClient>)
Initialize consumer
Declaration
public PrePlanningTourSavedConsumer(IKeyValueStore keyValueStore, ITourService tourService, IShipmentService shipmentService, ITourShipmentAssignmentService tourShipmentAssignmentService, IHubContext<IResourceRequirementPlanningClient> hubContext)
Parameters
Type | Name | Description |
---|---|---|
IKeyValueStore | keyValueStore | |
ITourService | tourService | |
IShipmentService | shipmentService | |
ITourShipmentAssignmentService | tourShipmentAssignmentService | |
IHubContext<IResourceRequirementPlanningClient> | hubContext |
Methods
| Improve this Doc View SourceExecute(ConsumeContext<PrePlanningTourSavedEvent>)
Method to execute
Declaration
public override async Task Execute(ConsumeContext<PrePlanningTourSavedEvent> message)
Parameters
Type | Name | Description |
---|---|---|
ConsumeContext<PrePlanningTourSavedEvent> | message |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |