1、wincc全局脚本动作-------隐藏控件;#include"apdefap.h"intgscAction(void){//WINCC:TAGNAME_SECTION_START//syntax:#defineTagNameInAction"DMTagName"//nextTagID:1//WINCC:TAGNAME_SECTION_ENDintvalue;value=GetTagBit("IM_in");//"IM_in"为触发的变量。if(value==1){SetVisible("lianxi.pdl