V 10 1 LANG:1 8 (NoName) PANEL,-1 -1 461 505 N "dcsUiWindowBack" 1 "$RootName" "main() { if(isDollarDefined(\"$RootName\")) sRoot = $RootName; else sRoot = \"HMP_DET\"; /* openProgressBar(\"catch the FSM Hierarchy\", \"\", \"reading...\", \"still reading\", \"Be patient!\", 1); hmpFSM_GetHierarchy(sRoot); Total = 0; Total = NumCU +NumDU + NumLU; txtNumCU.text = NumCU; txtNumDU.text = NumDU; txtNumLU.text = NumLU; txtTotal.text = Total; closeProgressBar(); */ }" 0 E E E E 1 0 0 0 20 25 ""0 1 E "const int CU = 1; const int DU = 2; const int OBJ = 0; global string sRoot = \"\"; global dyn_string dsHierarchy; global dyn_dyn_string ddsArchiveClass; global int NumCU = 0; global int NumDU = 0; global int NumLU = 0; global int Total = 0; hmpFSM_GetHierarchy(string RootName,string sSys) { int index = 1; dynClear(dsHierarchy); dynAppend(dsHierarchy, RootName); NumCU++; hmpFSM_GetNode(RootName,RootName,1,index,sSys); } hmpFSM_GetNode(string sDomain, string sNode, int level, int &index,string sSys) { dyn_string dsAppo; dyn_int diAppo; int i,ap,k,j; dyn_string dsDom; string sDom,sSubDom,sLab,sName; showProgressBar(\"\", \"\", \"Reading FSM node : \"+sNode,-1); level++; dsAppo = fwCU_getChildren(diAppo, sNode); for(i=1;i<=dynlen(dsAppo);i++) { fwCU_getDp(dsAppo[i],sLab,\"STATE\"); j = (strpos(sLab,sSys) >= 0) ? 1 :0; switch(diAppo[i]) { case DU: dsDom = strsplit(dsAppo[i],\"/\"); sDom = sDomain; sSubDom = dsAppo[i]; sName = sDom +\"::\"+sSubDom; NumDU = NumDU +j; break; case CU: sSubDom = dsAppo[i]; sDom = sSubDom; sName = sDom; NumCU = NumCU +j; break; case OBJ: dsDom = strsplit(dsAppo[i],\":\"); sSubDom = dsDom[1]; sDom = sDomain; sName = sDom +\"::\"+sSubDom; NumLU = NumLU +j; break; } dynAppend(dsHierarchy, sName); k=index; if(diAppo[i] != DU) hmpFSM_GetNode(sDom,sSubDom,level,index,sSys); ap = index-k; index++; } index--; } bool __setDpArchive(string sDpElName) { string sClassName; sClassName = cbArchiveClasses.selectedText; int i; for(i=1;i<=dynlen(ddsArchiveClass);i++) { if(ddsArchiveClass[i][2] == sClassName) { sClassName = ddsArchiveClass[i][1]; break; } } //DebugN(\">-->\",sDpName,sClassName); dpSetWait(sDpElName + \":_archive.._type\", DPCONFIG_DB_ARCHIVEINFO, sDpElName + \":_archive.._archive\", TRUE, sDpElName + \":_archive.1._type\", DPATTR_ARCH_PROC_VALARCH, sDpElName + \":_archive.1._class\", sClassName); //delay(0,200); return (true); } bool __resetDpArchive(string sDpElName) { dpSetWait(sDpElName + \":_archive.._type\", DPCONFIG_NONE); //delay(0,200); return (true); } bool __isArchived(string sDpElName ) { int arcV,arcI,arcS; if (dpGet(sDpElName + \":_archive.._type\", arcV) == -1) return(false); if(arcV == DPCONFIG_DB_ARCHIVEINFO) return(true); else return(false); } " 0 2 "CBRef""1" "EClose"E "" NC 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 2 0 "Text1" "" 1 20 140 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 1 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 0 E 22 142 113 158 0 2 0 "0s" 0 0 0 64 0 0 22 142 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 13 Archive Class 30 4 "Frame1" "" 1 5 243 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 5 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 5 120 450 243 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 7 Archive 2 5 "txtNumElem" "" 1 121 180 E E E 1 E 1 E N "dcsUiDisplayFore" E N "dcsUiDisplayBack" E E E E 6 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 176 179 218 195 1 2 0 "0s" 0 0 0 64 0 0 176 179 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 - 2 6 "txtNumValues" "" 1 233 181 E E E 1 E 1 E N "dcsUiDisplayFore" E N "dcsUiDisplayBack" E E E E 7 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 176 209 218 225 1 2 0 "0s" 0 0 0 64 0 0 176 209 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 - 2 7 "Text4" "" 1 15 180 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 8 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 0 E 18 180 168 198 0 2 0 "0s" 0 0 0 64 0 0 18 180 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 21 Number of Dp Elements 2 8 "Text5" "" 1 220 178 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 9 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 0 E 18 210 158 228 0 2 0 "0s" 0 0 0 64 0 0 18 210 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 16 Number of Values 30 9 "Frame2" "" 1 6 339 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 10 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 6 245 451 340 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 13 FSM Hierarchy 2 10 "Text6" "" 1 15 231 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 11 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 0 E 18 263 119 279 0 2 0 "0s" 0 0 0 64 0 0 18 263 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 12 Number of CU 2 11 "Text7" "" 1 15 256 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 12 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 0 E 18 288 119 304 0 2 0 "0s" 0 0 0 64 0 0 18 288 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 12 Number of LU 2 12 "Text8" "" 1 15 281 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 13 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 0 E 18 313 119 329 0 2 0 "0s" 0 0 0 64 0 0 18 313 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 12 Number of DU 2 13 "txtNumCU" "" 1 120 230 E E E 1 E 1 E N "dcsUiDisplayFore" E N "dcsUiDisplayBack" E E E E 14 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 123 262 174 278 1 2 0 "0s" 0 0 0 64 0 0 123 262 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 - 2 14 "txtNumLU" "" 1 120 255 E E E 1 E 1 E N "dcsUiDisplayFore" E N "dcsUiDisplayBack" E E E E 15 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 123 287 174 303 1 2 0 "0s" 0 0 0 64 0 0 123 287 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 - 2 16 "txtNumDU" "" 1 120 280 E E E 1 E 1 E N "dcsUiDisplayFore" E N "dcsUiDisplayBack" E E E E 17 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 123 312 174 328 1 2 0 "0s" 0 0 0 64 0 0 123 312 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 - 2 17 "Text13" "" 1 195 230 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 18 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 0 E 198 262 299 278 0 2 0 "0s" 0 0 0 64 0 0 198 262 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 14 Total entities 2 18 "txtTotal" "" 1 295 230 E E E 1 E 1 E N "dcsUiDisplayFore" E N "dcsUiDisplayBack" E E E E 19 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 298 262 349 278 1 2 0 "0s" 0 0 0 64 0 0 298 262 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 - 2 20 "txtInfo" "" 1 9 320 E E E 1 E 1 E N {255,255,255} E N {153,153,153} E E E E 21 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { }" 0 E 0 1 1 0 1 E U 1 E 10 451 451 467 0 2 0 "0s" 0 0 0 64 0 0 10 451 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 1 - 30 21 "Frame3" "" 1 5 110 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 22 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { }" 0 E 0 1 1 0 1 E U 0 E 5 55 450 110 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 6 System 2 22 "Text2" "" 1 15 75 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 23 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { }" 0 E 0 1 1 0 1 E U 0 E 17 77 108 93 0 2 0 "0s" 0 0 0 64 0 0 17 77 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 11 System Name 6 88 "Border1" "" 1 0 46 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E E E 30 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/dcsUi/logo.bmp" 13434828 E 0 1 62 46 2 89 "Text3" "" 1 69 0 E E E 1 E 1 E N "dcsUiTitleFore" E N "dcsUiTitleBack" E E E E 31 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 71 2 443 18 0 2 0 "0s" 0 0 0 65 0 0 71 2 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 41 ALICE - FSM State Archiving setting v 1.1 2 91 "Text9" "" 1 300 360 E E E 1 E 1 E N "AESbgPending" E N "_Transparent" E E E E 32 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 0 E 305 481 461 497 0 2 0 "0s" 0 0 0 65 0 0 305 481 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 14 auth: A.Franco 22 1 "cbArchiveClasses" "" 1 117 138 E E E 1 E 1 E N "_WindowText" E N "_Window" E E E E 2 0 0 0 0 0 E 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 "" 115 136 369 161 0 "main() { }" 0 "main() { int pos; string archiveClass; int NumElem,NumValues; pos = this.selectedPos; //archiveClass = this.selectedText; string sClassName; sClassName = this.selectedText; int i; for(i=1;i<=dynlen(ddsArchiveClass);i++) { if(ddsArchiveClass[i][2] == sClassName) { archiveClass = ddsArchiveClass[i][1]; break; } } if(archiveClass != \" \") { dpGet(archiveClass+\".size.maxDpElGet:_original.._value\",NumElem, archiveClass+\".size.maxValuesGet:_original.._value\",NumValues); setMultiValue(\"txtNumElem\",\"text\",NumElem,\"txtNumValues\",\"text\",NumValues); if( NumElem < Total) { cmdSetArchive.enabled = false; txtInfo.text = \"No Space in the Archive Definition\"; } else { cmdSetArchive.enabled = true; } } else { cmdSetArchive.enabled = false; } }" 0 E 0 0 13 2 "cmdSetArchive" "" 1 6 471 E E E 0 E 1 E N "dcsUiButtonFore" E N "dcsUiButtonBack" E E E E 3 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 4 469 143 503 T 1 LANG:1 14 SET ARCHIVE DP "main() { string DpEl; int i=0; int pos; string systemName; pos = cbSystems.selectedPos; systemName = cbSystems.selectedText; openProgressBar(\"Set Archive for FSM items\", \"\", \"Setting FSM for : \"+systemName, \"still setting...\", \"Be patient!\", 1); for(i=1;i<= dynlen( dsHierarchy);i++) { txtInfo.text = \"Set Archive for : \"+dsHierarchy[i]; if(ckWhat.state(0) == 1) { fwCU_getDp(dsHierarchy[i], DpEl, \"STATE\" ); if(strpos(DpEl,systemName) >= 0) { __setDpArchive(DpEl); } } if(ckWhat.state(1) == 1) { fwCU_getDp(dsHierarchy[i], DpEl, \"COMMAND\" ); if(strpos(DpEl,systemName) >= 0) { __setDpArchive(DpEl); } } if(ckWhat.state(2) == 1) { fwCU_getDp(dsHierarchy[i], DpEl, \"EXECUTING\" ); if(strpos(DpEl,systemName) >= 0) { __setDpArchive(DpEl); } } } closeProgressBar(); txtInfo.text = \"DONE !\"; }" 0 E E E 13 3 "cmdResetArchive" "" 1 142 471 E E E 0 E 1 E N "dcsUiButtonFore" E N "dcsUiButtonBack" E E E E 4 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 140 469 279 503 T 1 LANG:1 16 RESET ARCHIVE DP "main() { string DpEl; int i=0; int pos; string systemName; pos = cbSystems.selectedPos; systemName = cbSystems.selectedText; openProgressBar(\"Reset Archive for FSM items\", \"\", \"Resetting FSM for : \"+systemName, \"still resetting...\", \"Be patient!\", 1); for(i=1;i<= dynlen( dsHierarchy);i++) { txtInfo.text = \"Reset Archive for : \"+dsHierarchy[i]; if(ckWhat.state(0) == 1) { fwCU_getDp(dsHierarchy[i], DpEl, \"STATE\" ); __resetDpArchive(DpEl); } if(ckWhat.state(1) == 1) { fwCU_getDp(dsHierarchy[i], DpEl, \"ACTION\" ); __resetDpArchive(DpEl); } if(ckWhat.state(2) == 1) { fwCU_getDp(dsHierarchy[i], DpEl, \"EXECUTING\" ); __resetDpArchive(DpEl); } } closeProgressBar(); txtInfo.text = \"DONE !\"; }" 0 E E E 22 23 "cbSystems" "" 1 115 75 E E E 1 E 1 E N "_WindowText" E N "_Window" E E E E 24 0 0 0 0 0 E 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 "" 113 73 367 98 0 "main() { // Get the Systems dyn_string dsNames; dyn_uint duIds; int iNumSystems = 0; int i; cbSystems.appendItem(\" \"); if(getSystemNames(dsNames, duIds) == 0) { iNumSystems = dynlen(dsNames); for(i=1;i<=iNumSystems;i++) cbSystems.appendItem(dsNames[i]); } this.selectedPos = 1; }" 0 "main() { int pos; string systemName; pos = this.selectedPos; systemName = this.selectedText; if(systemName == \" \") { cmdResetArchive.enabled = false; return; } else { cmdResetArchive.enabled = true; } // Get the Archive classes dyn_string dsClasses; string sAppo; int i,k; cbArchiveClasses.deleteAllItems; cbArchiveClasses.appendItem(\" \"); dsClasses = dpNames(systemName+\":*\",\"_ValueArchive\" ); for(i=1;i<=dynlen(dsClasses);i++) { // Try to discharged the Redzndant \"_2\" archives k = strpos(dsClasses[i],\"_2\"); if (k < 0) { dpGet(dsClasses[i]+\".general.arName:_original.._value\",sAppo ); dynAppend(ddsArchiveClass,makeDynString(dsClasses[i],sAppo)); cbArchiveClasses.appendItem(sAppo); } else if( strpos(substr(dsClasses[i],k-3,3 ) ,\"_\") < 0) if( strpos(dsClasses[i],\"_2_2\") < 0) { dpGet(dsClasses[i]+\".general.arName:_original.._value\",sAppo ); dynAppend(ddsArchiveClass,makeDynString(dsClasses[i],sAppo)); cbArchiveClasses.appendItem(sAppo); } } cbArchiveClasses.selectedPos = 1; // Then cache the Hierarchy for this system openProgressBar(\"Catch the FSM Hierarchy\", \"\", \"reading for: \"+systemName, \"still reading\", \"Be patient!\", 1); Total = 0; NumCU =0; NumDU =0; NumLU =0; hmpFSM_GetHierarchy(sRoot,systemName); Total = NumCU +NumDU + NumLU; txtNumCU.text = NumCU; txtNumDU.text = NumDU; txtNumLU.text = NumLU; txtTotal.text = Total; closeProgressBar(); }" 0 E 0 0 13 87 "cmdDataConf" "" 1 383 138 E E E 1 E 1 E N "dcsUiButtonFore" E N "dcsUiButtonBack" E E E E 29 0 0 0 0 0 E E E 0 2 LANG:1 0 LANG:0 0 0 2 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial LANG:0 107 -microsoft windows-Arial-normal-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,400,0,0,0,0,3,2,1,34,Arial 0 "" 383 138 433 188 P 13434828 "pictures/dcsUi/archiveset.bmp" 1 LANG:1 0 "main() { int iOK; bool bNewDB; // // Falls alte DB -> unsichtbar !!! // iOK=dpGet(\"_DataManager.UseValueArchive:_online.._value\",bNewDB); if (iOK!=-1 && bNewDB) // nur wenn neue DB Aktiv { ModuleOnWithPanel( \"PVSS\", 100, 100, 0, 0, 1, 1, \"None\", \"para/archive/archive_select.pnl\", \"\", makeDynString()); } else { ModuleOnWithPanel( \"PVSS\", 100, 100, 0, 0, 1, 1, \"None\", \"vision/DataManager_par\", \"\", makeDynString()); } }" 0 E E E 1 95 0 "" 0 1 "leftClick" 1 1 "main() { int replaced; string componentName, path, tempPanelPath, helpFile, browserCommand; dyn_string aux, exceptionInfo; // DebugN(\"The good path is \" + panelPath); if(!goodPanelName) { fwException_raise( exceptionInfo, \"ERROR\", \"Open panel name doesn't match with PVSS database. Try opening the panel again.\", \"\"); fwExceptionHandling_display(exceptionInfo); return; } // Get component name. We assume panels are inside a directory // named after the component name strreplace(panelPath, \"\\\\\", \"/\"); aux = strsplit(panelPath, \"/\"); componentName = aux[1]; // DebugN(panelPath, componentName); // Remove extension if given if(strpos(panelPath, \".pnl\") >= 0) { tempPanelPath = substr(panelPath, 0, strpos(panelPath, \".pnl\")); } else { tempPanelPath = panelPath; } // try to find the help file associated with the panel helpFile = tempPanelPath + \".html\"; // DebugN(\"helpFile \" + helpFile + \" tempPanelPath \" + tempPanelPath + \" componentName \" + componentName); path = getPath(HELP_REL_PATH, componentName + \"/panels/\" + helpFile); if(path == \"\") { helpFile = tempPanelPath + \".htm\"; // DebugN(\"helpFile \" + helpFile); path = getPath(HELP_REL_PATH, componentName + \"/panels/\" + helpFile); // DebugN(componentName + \"/panels/\" + helpFile); if(path == \"\") { fwException_raise( exceptionInfo, \"ERROR\", \"Could not find the help file associated with the current panel\", \"\"); fwExceptionHandling_display(exceptionInfo); return; } } // DebugN(\"Final help path \" + path); fwOpenProgressBar(\"Help\", \"Opening help file...\", 1); // If there were no exceptions, then display the help if(_WIN32) { dpGet(\"fwGeneral.help.helpBrowserCommandWindows\", browserCommand); replaced = strreplace(browserCommand, \"$1\", path); if(replaced == 0) browserCommand = browserCommand + \" \" + path; // system(\"start iexplore \" + path + \" &\"); system(browserCommand); } else { dpGet(\"fwGeneral.help.helpBrowserCommandLinux\", browserCommand); replaced = strreplace(browserCommand, \"$1\", path); if(replaced == 0) browserCommand = browserCommand + \" \" + path; system(browserCommand); // system(\"start iexplore \" + path + \" &\"); } fwCloseProgressBar(); } " 0 1 "message" 1 1 "main() { time rootPanelPathTime, childPanelPathTime; unsigned managerNumber = myManNum(); string rootPanelPath, childPanelPath, rootPanelName, childPanelName, panelName; if(isDollarDefined(\"$sPanelRelativePath\")) { panelPath = $sPanelRelativePath; } if(panelPath == \"\") { dpGet( \"_Ui_\" + managerNumber + \".RootPanelOrigOn.FileName\", rootPanelPath, \"_Ui_\" + managerNumber + \".RootPanelOrigOn.FileName:_original.._stime\", rootPanelPathTime, \"_Ui_\" + managerNumber + \".RootPanelOrigOn.PanelName\", rootPanelName, \"_Ui_\" + managerNumber + \".ChildPanelOn.FileName\", childPanelPath, \"_Ui_\" + managerNumber + \".ChildPanelOn.FileName:_original.._stime\", childPanelPathTime, \"_Ui_\" + managerNumber + \".ChildPanelOn.PanelName\", childPanelName); // DebugN(rootPanelPath, rootPanelPathTime, childPanelPath, childPanelPathTime); if(rootPanelPathTime > childPanelPathTime) { panelPath = rootPanelPath; panelName = rootPanelName; } else { panelPath = childPanelPath; panelName = childPanelName; } if(myPanelName() == panelName) { goodPanelName = TRUE; // DebugN(\"Correct panel name\"); } else { goodPanelName = FALSE; // DebugN(\"Wrong panel name\"); } } // DebugN(\"The good path is \" + panelPath); }" 0 0 30 93 "FRAME1" "" 1 6 339 E E E 1 E 1 E N "dcsUiWindowFore" E N "_Transparent" E E E E 34 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E 0.443693693693694 0 1 5.33783783783784 101 0 E 6 245 451 340 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 25 FSM properties to archive 20 94 "ckWhat" "" 1 27 364 E E E 1 E 1 E N "_3DText" E N "dcsUiWindowBack" E E E E 35 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 87 -*-Arial-bold-r-normal-*-12-*-100-100-*-*-iso8859-1|-12,0,0,0,758,0,0,0,0,0,0,0,0,Arial 0 "" 25 362 201 432 3 T 1 LANG:1 5 STATE 1 1 LANG:1 0 E E 0 0 0 0 0 T 1 LANG:1 7 COMMAND 0 1 LANG:1 0 E E 0 0 0 0 0 T 1 LANG:1 15 EXECTUTE ACTION 0 1 LANG:1 0 E E 0 0 0 0 0 1 E E EE0 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 3 0 "Group2" "objects\\fwGeneral\\fwHelpButton.pnl" 580 0 T 31 1 0 1 -160 0 1 "$sPanelRelativePath""dcsFsmChart/dcsFsmChartSet.pnl" 0