V 10 1 LANG:1 8 (NoName) PANEL,-1 -1 373 43 N "dcsUiZoneBack" 2 "$node" "$sysName" "main() { }" 0 E E E E 1 0 0 0 120 10 ""0 1 E E 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 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 2 0 "Text16" "" 1 141 12 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E E E 1 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { EP_textFieldIn(); } EP_textFieldIn() { setMultiValue(\"\",\"text\",\"...\",\"\",\"backCol\",\"FwDead\"); //fwCU_connectState(\"EP_textFieldInCB\", $node); if( !dcsUi_FsmConnectState(\"EP_textFieldInCB\", $node) ) { setMultiValue(\"\",\"backCol\",\"_dpdoesnotexist\",\"\",\"text\",\"NOT EXISTS\"); return; } } EP_textFieldInCB(string dp, string state) { string color; fwCU_getStateColor(dp, state, color); setMultiValue(\"\",\"text\",state,\"\",\"backCol\",color); }" 0 E 0 1 1 0 1 E U 1 E 143 14 243 28 1 2 0 "0s" 0 0 0 65 0 0 143 14 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 Text8 2 1 "Text43" "" 1 247 12 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E E E 2 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { EP_textFieldIn(); } EP_textFieldIn() { setMultiValue(\"\",\"text\",\"DEAD\",\"\",\"backCol\",\"FwDead\"); dcsUi_FsmConnectModeBits(\"EP_textFieldInCB\", $node, $node, \"\"); } //EP_textFieldInCB(string dp, int operation) EP_textFieldInCB() { string id; bit32 statusBits; string color; // Then try to decode the type statusBits = fwFsmUi_getOwnModeBits(); // Get the Owner id = dcsUi_FsmGetOwnership($node); if(id == \"\")id = \"Not owned !\"; //DebugN(\">>\",$node,id,statusBits); // First verify that it's taken if(getBit(statusBits,FwFreeBit)) { color = \"{204,204,204}\"; // grey for free } else { // If is shared if(!getBit(statusBits,FwExclusiveBit)) color = \"{153,204,255}\"; // blue for shared else if(getBit(statusBits,FwOwnerBit)) color = \"{153,255,204}\"; // green for exl. owned else color = \"{255,153,153}\"; // red for exclusive } // if(!getBit(statusBits,FwSendCommandsBit)) // color = \"{255,255,204}\"; // yellow for send command but free ?? setMultiValue(\"\",\"backCol\",color,\"\",\"text\",id,\"\",\"toolTipText\",id); }" 0 E 0 1 1 0 1 E U 1 E 249 14 358 28 1 2 0 "0s" 0 0 0 64 0 0 249 14 1 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 "" 1 LANG:1 5 Text8 2 4 "Text17" "" 1 10 12 E E E 1 E 1 E N "dcsUiLabelFore" E N "dcsUiLabelBack" E E E E 5 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { this.text = $node; }" 0 E 0 1 1 0 1 E U 1 E 12 14 98 28 1 2 0 "0s" 0 0 0 64 0 0 12 14 1 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 "" 1 LANG:1 6 RICH0 13 2 "Button5" "" 1 101 11 E E E 1 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-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 99 9 123 33 P 13434828 "pictures/dcsUi/restart_small.bmp" 1 LANG:1 0 "main() { dcsUi_FsmRestartTree($node, $sysName ); } " 0 E E E 13 3 "Button6" "" 1 121 11 E E E 1 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-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 119 9 143 33 P 13434828 "pictures/dcsUi/off_small.bmp" 1 LANG:1 0 "main() { dcsUi_FsmStopTree($node, $sysName ); }" 0 E E E 0 0