Click or drag to resize

ModuleEmulatorScheduleAfter Method (ModelTime, Action, Action)

Schedule an event in model/virtual time.

Namespace:  Demo3D.PLC.Rockwell.Emulator.ModuleEmulators
Assembly:  PLC (in PLC.dll) Version: 18.03.00
Syntax
C#
public ModuleEmulatorScheduleStatus ScheduleAfter(
	ModelTime after,
	Action action,
	out Action?? cancel
)

Parameters

after
Type: Demo3D.TimeModelTime
Duration from now of the event.
action
Type: SystemAction
Event action.
cancel
Type: SystemAction
An action for cancelling the event.

Return Value

Type: ModuleEmulatorScheduleStatus
Status (Ok, InvalidTime, NotSynchornize, GeneralError).
See Also