Class ChangeRecipeJob
Namespace: TecnoPack.Scheduler.Jobs
Assembly: CO0002_Templ_FlowpackHMI_V00_26_M.dll
Job responsible for handling recipe change events in the scheduler.
public class ChangeRecipeJob : EventJob<RecipeExtendedProps>
Inheritance
object ← EventJob<RecipeExtendedProps> ← ChangeRecipeJob
Inherited Members
EventJob<RecipeExtendedProps>.Execute(IJobExecutionContext), EventJob<RecipeExtendedProps>.Handle(EventModelDTO, RecipeExtendedProps), EventJob<RecipeExtendedProps>.HandleStart(EventModelDTO, RecipeExtendedProps), EventJob<RecipeExtendedProps>.HandleEnd(EventModelDTO, RecipeExtendedProps)
Remarks
This job uses
Methods
HandleEnd(EventModelDTO, RecipeExtendedProps)
Executes logic when the recipe change event ends. Resets the recipe load command.
public override Task HandleEnd(EventModelDTO eventModel, RecipeExtendedProps props)
Parameters
eventModel EventModelDTO
The frontend event model associated with this recipe change.
props RecipeExtendedProps
The extended properties containing recipe-specific data.
Returns
Task
HandleStart(EventModelDTO, RecipeExtendedProps)
Executes logic when the recipe change event starts. Sets the target recipe index and triggers the recipe load command.
public override Task HandleStart(EventModelDTO eventModel, RecipeExtendedProps props)
Parameters
eventModel EventModelDTO
The frontend event model associated with this recipe change.
props RecipeExtendedProps
The extended properties containing recipe-specific data.
Returns
Task