0 évaluation0% ont trouvé ce document utile (0 vote)
159 vues28 pages
The document describes a PDMS tool called YENYEN that contains various buttons for manipulating a CE (common equipment) object in PDMS. The buttons control actions like showing/hiding the CE, locking/unlocking components, claiming/unclaiming work, marking/unmarking, and saving/removing work. Methods are defined for each button that change the button labels and colors when clicked to indicate the action status. The methods also execute PDMS commands corresponding to the button action, like adding/removing the CE, locking components, claiming work, etc.
The document describes a PDMS tool called YENYEN that contains various buttons for manipulating a CE (common equipment) object in PDMS. The buttons control actions like showing/hiding the CE, locking/unlocking components, claiming/unclaiming work, marking/unmarking, and saving/removing work. Methods are defined for each button that change the button labels and colors when clicked to indicate the action status. The methods also execute PDMS commands corresponding to the button action, like adding/removing the CE, locking components, claiming work, etc.
The document describes a PDMS tool called YENYEN that contains various buttons for manipulating a CE (common equipment) object in PDMS. The buttons control actions like showing/hiding the CE, locking/unlocking components, claiming/unclaiming work, marking/unmarking, and saving/removing work. Methods are defined for each button that change the button labels and colors when clicked to indicate the action status. The methods also execute PDMS commands corresponding to the button action, like adding/removing the CE, locking components, claiming work, etc.
By : Mansyur Usman (mansyur.usm@gmail.com), Indra Wahjudin and Maliki Yakub
By : Mansyur Usman (mansyur.usm@gmail.com), Indra Wahjudin and Maliki Yakub
By : Mansyur Usman (mansyur.usm@gmail.com), Indra Wahjudin and Maliki Yakub
- Buka Notepad - Copy pml ini dan kasih nama : YENYEN.pmlfrm
-- Created by Mansyur Usman, Indra Wahjudin and Maliki Yakub for MEINDO Tools -- Dated : 20-08-2014 Kill !!YENYEN Setup Form !!YENYEN Title 'ToolBox' Var !UserName Login Var !UserName UpCase(|$!UserName|)
paragraph.par2 at 2 0 text |Name : $!UserName| Button .MSR 'SHOW CE' AT X1 Y1.3 CALLBACK |!THIS.SHOWUSMAN()| WIDTH 10 button .LOCK 'LOCK' AT X1 Y2.3 CALLBACK |!THIS.LOCK()| WIDTH 10 button .CLAIM 'CLAIM' AT X1 Y3.3 CALLBACK |!THIS.CLAIM()| WIDTH 10 button .SAVE 'GET WORK' AT X1 Y4.3 CALLBACK |!THIS.SAVE()| WIDTH 10 button .MARK 'MARK' AT X1 Y5.3 CALLBACK |!THIS.MARK()| WIDTH 10 button .REM 'SAVE' AT X1 Y6.3 CALLBACK |!THIS.REM()| WIDTH 10 button .COG 'SHOW COG' AT X13.5 Y1.3 CALLBACK |!THIS.COG()| WIDTH 10 button .GRID 'SHOW GRID' AT X13.5 Y2.3 CALLBACK |!THIS.GRID()| WIDTH 10 button .DT 'SHOW DATUM' AT X13.5 Y3.3 CALLBACK |!THIS.DATUM()| WIDTH 10 button .AX 'SHOW AXES' AT X13.5 Y4.3 CALLBACK |!THIS.AXES()| WIDTH 10 button .INS 'SHOW INSU' AT X13.5 Y5.3 CALLBACK |!THIS.INSU()| WIDTH 10 button .OBS 'SHOW OBST' AT X13.5 Y6.3 CALLBACK |!THIS.OBST()| WIDTH 10 Button .DISMISS 'DISMISS' AT X1 y7.3 CALLBACK |KILL!!YENYEN| WIDTH 10 backg WHITE Button .CANCEL 'CANCEL' AT X13.5 y7.3 WIDTH 10 backg WHITE CANCEL Exit By : Mansyur Usman (mansyur.usm@gmail.com), Indra Wahjudin and Maliki Yakub
!Tolarray = Object Array() var !pipearray coll all pipe for ce var !equiarray coll all equi for ce var !struarray coll all stru for ce By : Mansyur Usman (mansyur.usm@gmail.com), Indra Wahjudin and Maliki Yakub
!I = 1 do !mem values !Tolarray !pipename = name of $!mem !equiname = name of $!mem !struname = name of $!mem
$!mem IF !!CE.TYPE.EQ('PIPE') THEN LOCK ALL !I = !I + 1 Q NAME LOCK
ELSEIF !!CE.TYPE.EQ('EQUI') THEN LOCK ALL !I = !I + 1 Q NAME LOCK
ELSEIF !!CE.TYPE.EQ('STRU') THEN LOCK ALL !I = !I + 1 Q NAME LOCK ENDIF ENDDO By : Mansyur Usman (mansyur.usm@gmail.com), Indra Wahjudin and Maliki Yakub
- Simpan file ini ke C:\AVEVA\Plant\PDMS12.0.SP6\PMLLIB\design\forms atau - C:\AVEVA\Plant\PDMS12.1.SP2\PMLLIB\design\forms atau - C:\Program Files (x86)\AVEVA\Plant\E3D1.1.0\PMLLIB\design\forms - Masuk ke PDMS atau E3D dan ketik di Command Line :