找回密码
 注册 有问题进QQ群591484440

QQ登录

只需一步,快速开始

查看: 1390|回复: 1

[项目管理] DESIGN模块下,调用ADMIN模块的程序,踢人(expunge user process )

[复制链接]

签到天数: 3 天

[LV.2]瞎扑签到2级

新手上路

积分
170
发表于 2015-7-19 21:45:14 | 显示全部楼层 |阅读模式
DESIGN模块下,调用ADMIN模块的程序,踢人(expunge user process )

看了一下,admin模块下调用的是 D:\aveva\plant\PDMS12.0.SP6\PMLLIB\admin\forms\admexpunge.pmlfrm

-- Kill existing form definition
kill !!admExpunge

-- Define form
setup form !!admExpunge resize

  !!admExpunge.formTitle     = |Expunge User Process|
  !!admExpunge.iconTitle     = |EXPUNGE PID|
  !!admExpunge.callback      = |call !!admExpungeInit()|
  !!admExpunge.formRevision  = | $Revision: 1.4 $ |

  -- Body of form definition
  frame .processFr at x 0.1 y 0 |Project Users| anchor all

    list .process at xmin+1 ymin+1 anchor all multiple columns width 50 height 10

    option .sort at xmin ymax+0.2 anchor bottom+left |Sort By| call |call !!admExpungeInit()| width 10
    !dispList = ARRAY()
    !dispList.append(|Date|)
    !dispList.append(|Real Name|)
    !dispList.append(|Username|)
    !dispList.append(|Host|)
    !dispList.append(|Module|)
    !this.sort.dText = !dispList

    button .update at xmax+19 ymin anchor bottom+right |Update List| call |call !!admExpungeInit()|

  exit

  button .expunge at xmin.process ymax+0.5 anchor bottom+left |Expunge| call |call !!admExpunge()|
  button .dismiss at xmax form-size ymin anchor bottom+right |Dismiss| CANCEL


exit
-- End of form definition for !!admExpunge

主要涉及到2个pmlfnc: call !!admExpungeInit()    call !!admExpunge()

D:\aveva\plant\PDMS12.0.SP6\PMLLIB\admin\functions\admexpungeinit.pmlfnc
D:\aveva\plant\PDMS12.0.SP6\PMLLIB\admin\functions\admexpunge.pmlfnc


当在DESIGN 模块下执行的时候  出现 如下错:

(61,125)  F&M: Gadget PROCESS not found
In line 37 of PML function admexpunge
  !processList = _Process.selection(|RTEXT|)

有大神能帮忙解释一下吗?
NNNN奶奶的!

签到天数: 4 天

[LV.2]瞎扑签到2级

新手上路

积分
69
发表于 2017-10-31 17:13:38 | 显示全部楼层
666
回复 支持 反对

使用道具 举报

本版积分规则

QQ|手机版|关于我们|Archiver|手机版|小黑屋|工程G3D ( 鄂ICP备16022302号-2 )

GMT+8, 2024-9-28 07:22 , Processed in 0.062500 second(s), 28 queries .

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表