Status Control
Customising Status Control using PML
:
Customising the StatusProjectHandler PML Object
: Debug Mode
Debug Mode
The user can switch ON or OFF a debug mode with the following commands.
!!statusProjectHandler.debugOn()
!!statusProjectHandler.debugOff()
In debug mode a line of text is output to the command line for each event. For example here is the output for object P1501A when promoted from Work Suspended to Work Started.
statusProjectHandler.beforeStatusChange(/P1501A,
/DesignStatus, /WorkSuspended, /WorkStarted)
statusProjectHandler.afterStatusChange(/P1501A,
/DesignStatus, /WorkStarted, /WorkStarted)
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.