V 10 1 LANG:1 8 (NoName) PANEL,-1 -1 289 55 N "_3DFace" 0 "main() { } " 0 E E E E 1 0 0 0 49 48 ""0 1 E " ConnectElements(string sObject) { string sLabel; string sDomain,sNode; string dpType; int type; dyn_string dsAppo,exceptionInfo; // dsAppo = strsplit(sObject,\"/\"); // sObject = dsAppo[dynlen(dsAppo)]; // determine the Parent sDomain = sObject; while(type == 0) sDomain = fwCU_getParent(type, sDomain); if (sDomain == \"\" ) sDomain = sObject; // first link the FSM sector status fwUi_getLabel(sDomain, sObject, sLabel); setValue(\"txtSectorLabel\",\"text\",sLabel); fwUi_connectEnabled(\"SectorEnabled\", sDomain, sObject); fwCU_connectState(\"SectorState\", sDomain+\"::\"+sObject); } SectorEnabled(string node, int operate_flag) { setMultiValue(\"bdSectorEnable\",\"visible\",((operate_flag == 1)?true:false), \"bdSectorDisable\",\"visible\",((operate_flag == 0)?true:false) ); } SectorState(string node, string state) { string color; fwCU_getStateColor(node, state, color); setMultiValue(\"txtSectorStatus\",\"text\",state,\"txtSectorStatus\",\"backCol\",color); }" 0 2 "CBRef" "1" "EClose" E "" DISPLAY_LAYER, 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 LAYER, 0 1 LANG:1 6 Layer1 6 57 "Border1" "" 1 10 40 E E E 1 E 1 E N "_WindowText" E N "hmpUserFrameBack" E E E E 58 0 0 0 0 0 E E E 4 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 10 10 280 40 2 42 "txtSectorLabel" "" 1 15 15 E E E 1 E 1 E N {255,255,255} E N {102,102,102} E E E E 43 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 17 17 142 33 1 2 0 "0s" 0 0 0 64 0 0 17 17 1 1 LANG:1 84 -*-Arial-*-r-normal-*-12-*-100-100-*-*-iso8859-1|-12,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 8 SECTOR 0 2 43 "txtSectorStatus" "" 1 145 15 E E E 1 E 1 E N "_WindowText" E N {102,204,102} E E E E 44 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 147 17 253 33 1 2 0 "0s" 0 0 0 65 0 0 147 17 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 5 READY 6 44 "bdSectorEnable" "" 1 261 33 E E E 1 E 1 E N {102,102,102} E N {51,204,51} E E E E 45 0 0 0 0 0 E E E 2 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 2 0 3 "pictures/hmpIcons/enab_small.bmp" 13434828 E 261 18 276 33 6 52 "bdSectorDisable" "" 1 261 33 E E E 1 E 1 E N {102,102,102} E N {51,204,51} E E E E 53 0 0 0 0 0 E E E 2 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 2 0 3 "pictures/hmpIcons/disab_small.bmp" 13434828 E 261 18 276 33 14 56 "txtSectorName" "" 1 70 0 E E E 1 E 0 E N "_WindowText" E N "_Window" E E E E 57 0 0 0 0 0 "main() { ConnectElements( this.text ); }" 0 E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 68 -2 262 23 3 "0s" 0 0 0 0 0 -1 E E E 0 LAYER, 1 1 LANG:1 6 Layer2 0 LAYER, 2 1 LANG:1 6 Layer3 0 LAYER, 3 1 LANG:1 6 Layer4 0 LAYER, 4 1 LANG:1 6 Layer5 0 LAYER, 5 1 LANG:1 6 Layer6 0 LAYER, 6 1 LANG:1 6 Layer7 0 LAYER, 7 1 LANG:1 6 Layer8 0 0