Click or drag to resize

ModuleEmulatorSchedule Method

Schedule an event at a time + duration.

Namespace:  Demo3D.PLC.Rockwell.Emulator.ModuleEmulators
Assembly:  PLC (in PLC.dll) Version: 18.03.00
Syntax
C#
public ModuleEmulatorScheduleStatus Schedule(
	CommonTime time,
	ModelTime duration,
	Action action,
	out Action?? cancel,
	ModuleEmulatorScheduleControl control = ModuleEmulatorScheduleControl.Default
)

Parameters

time
Type: CommonTime
Time of the data.
duration
Type: Demo3D.TimeModelTime
Duration to wait.
action
Type: SystemAction
Event action.
cancel
Type: SystemAction
An action for cancelling the event.
control (Optional)
Type: Demo3D.PLC.Rockwell.Emulator.ModuleEmulatorsModuleEmulatorScheduleControl
Schedule control.

Return Value

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