Click or drag to resize

ModuleEmulatorScheduleAt 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 ScheduleAt(
	ModelTime at,
	Action action,
	out Action?? cancel
)

Parameters

at
Type: Demo3D.TimeModelTime
Time of the event.
action
Type: SystemAction
Event action.
cancel
Type: SystemAction
An action for cancelling the event.

Return Value

Type: ModuleEmulatorScheduleStatus
Status (Ok, TimePassed, NotSynchronized, GeneralError).
See Also