Skip to content
Snippets Groups Projects
Commit 363c59dc authored by blaakmeer's avatar blaakmeer
Browse files

BugID: 752

Implemented WAN panel, modified CEP hardware panel
parent f38ea3bd
No related branches found
No related tags found
No related merge requests found
Showing
with 2503 additions and 667 deletions
......@@ -600,6 +600,7 @@ MAC/Navigator/pictures/nav_usr/CS1/CEP-node-online-begin.bmp -text
MAC/Navigator/pictures/nav_usr/CS1/CEP-node-online-end.bmp -text
MAC/Navigator/pictures/nav_usr/CS1/CEP-node-online-middle.bmp -text
MAC/Navigator/pictures/nav_usr/CS1/db.bmp -text
MAC/Navigator/pictures/nav_usr/CS1/snapshot_switch_port12.bmp -text
MAC/Navigator/pictures/nav_usr/CS1/station-sized.bmp -text
MAC/Navigator/pictures/nav_usr/STS/LOFAR_main.bmp -text
MAC/Navigator/pictures/nav_usr/STS/LOFAR_main_Drenthe.gif -text
......
This diff is collapsed.
This diff is collapsed.
V 10
1
LANG:1 7 Station
PANEL,303 205 954 746 N "_3DFace" 3
"$configDatapoint"
"$datapoint"
"$referenceDatapoint"
"
" 0
EE E E 1 -1 -1 0 188 128
"" 0 1
E"#uses \"nav_usr/STS/STS-functions.ctl\"" 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
2 2007
"Text11"
""
1 10 0 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
815 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
"main()
{
setValue(\"\", \"text\", \"View: \" + $datapoint);
}" 0
E 0 1 1 0 1 E U 0 E 12 2 44 17
0 2 0 "s" 0 0 0 192 0 0 12 2
1
1
LANG:1 107 -microsoft windows-Arial-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 6 View:
4 2780
"Line12"
""
1 436 251 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
850 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 220 150 148 150
4 2781
"Line13"
""
1 1020 10540 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
851 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 220 140 148 100
4 2782
"Line14"
""
1 1809 29730 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
852 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 230 130 148 50
4 2783
"Line15"
""
1 993 8001 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
853 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 148 200 230 170
4 2836
"Line20"
""
1 17888 1381 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
861 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 5 2 0 1 E 590 150 280 150
1 2837 87 "" 59
0
1 2838 87 "" 56
0
1 2839 76 "" 0
0
1 2840 76 "" 2
0
1 2841 76 "" 3
0
1 2842 76 "" 4
0
1 2843 76 "" 55
0
1 2844 76 "" 1
0
1 2845 76 "" 56
0
1 2846 76 "" 57
0
1 2847 77 "" 0
0
1 2848 77 "" 2
0
1 2849 77 "" 3
0
1 2850 77 "" 4
0
1 2851 77 "" 55
0
1 2852 77 "" 1
0
1 2853 77 "" 56
0
1 2854 77 "" 57
0
1 2855 78 "" 0
0
1 2856 78 "" 2
0
1 2857 78 "" 3
0
1 2858 78 "" 4
0
1 2859 78 "" 55
0
1 2860 78 "" 1
0
1 2861 78 "" 56
0
1 2862 78 "" 57
0
1 2863 80 "" 0
0
1 2864 80 "" 2
0
1 2865 80 "" 3
0
1 2866 80 "" 4
0
1 2867 80 "" 55
0
1 2868 80 "" 1
0
1 2869 80 "" 56
0
1 2870 80 "" 57
0
4 2899
"Line1"
""
1 1773 14935 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
891 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 670 110 720 70
4 2900
"Line2"
""
1 2443 7577 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
892 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 670 130 720 110
4 2901
"Line3"
""
1 3113 528 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
893 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 720 150 670 150
4 2902
"Line4"
""
1 3783 10730 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
894 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 720 190 670 170
4 2903
"Line5"
""
1 4453 21650 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
E E
895 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 3 1 0 1 E 720 230 670 190
1 2904 84 "" 0
0
1 2905 84 "" 2
0
1 2906 84 "" 3
0
1 2907 84 "" 4
0
1 2908 84 "" 55
0
1 2909 84 "" 1
0
1 2910 84 "" 56
0
1 2911 84 "" 57
0
1 2912 84 "" 58
0
1 2913 85 "" 1
0
1 2914 85 "" 2
0
1 2915 85 "" 3
0
1 2916 85 "" 5
0
1 2917 85 "" 6
0
1 2918 85 "" 7
0
1 2919 85 "" 8
0
1 2920 85 "" 10
0
1 2921 85 "" 11
0
1 2922 85 "" 12
0
1 2923 85 "0" 0
0
1 2924 85 "0" 1
0
13 2927
"Button2"
""
1 730 350 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
E E
898 0 0 0 0 0
EE E
0
1
LANG:1 0
0
1
LANG:1 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 ""
728 348 842 375
T
1
LANG:1 8 view CEP
"main()
{
aplViewNavigateTo(\"\", $referenceDatapoint, \"LOFAR_CEP\", \"nav_usr/CEP/CEP_fysical_view.pnl\");
}" 0
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
3 87 ""
"objects\\nav_usr\\CS1\\WAN_concentratornode-CS1.pnl" 510 110 T 874 1 0 1 -305 65
3
"$CnName""CoreCN"
"$configDatapoint""$configDatapoint"
"$referenceDatapoint""$referenceDatapoint"
3 76 "Group56"
"objects\\nav_usr\\CS1\\WAN_switch-small-CS1.pnl" 10 30 T 844 1 0 1 4 60
3
"$Station""CS001"
"$configDatapoint""$configDatapoint"
"$referenceDatapoint""$referenceDatapoint"
3 77 "Group58"
"objects\\nav_usr\\CS1\\WAN_switch-small-CS1.pnl" 440 41 T 845 1 0 1 -426 99
3
"$Station""CS002"
"$configDatapoint""$configDatapoint"
"$referenceDatapoint""$referenceDatapoint"
3 78 "Group60"
"objects\\nav_usr\\CS1\\WAN_switch-small-CS1.pnl" 440 91 T 846 1 0 1 -426 99
3
"$Station""CS003"
"$configDatapoint""$configDatapoint"
"$referenceDatapoint""$referenceDatapoint"
3 80 "Group64"
"objects\\nav_usr\\CS1\\WAN_switch-small-CS1.pnl" 440 191 T 848 1 0 1 -426 49
3
"$Station""CS010"
"$configDatapoint""$configDatapoint"
"$referenceDatapoint""$referenceDatapoint"
3 84 "Group72"
"objects\\nav_usr\\CS1\\WAN_switch-big-CS1.pnl" 570 270 T 858 1 0 1 4 -110
4
"$SwitchName""SwitchCEP"
"$configDatapoint""$configDatapoint"
"$datapoint""$datapoint"
"$referenceDatapoint""$referenceDatapoint"
3 85 "Group74"
"objects\\nav_usr\\CEP\\Cep_logical_cluster.pnl" 113 150 T 873 1 0 1 597 210
1
"$clusterType""Input"
0
\ No newline at end of file
V 10
1
LANG:1 8 (NoName)
PANEL,552 298 572 392 N "_3DFace" 0
EEE E E 1 0 0 0 -1 -1
PANEL,300 211 118 113 N "_3DFace" 1
"$Rack"
"main()
{
text_rackNr.text = $Rack;
Border1.toolTipText = \"Blue Gene/L \" + $Rack;
text_rackNr.toolTipText = Border1.toolTipText;
Text1.toolTipText = Border1.toolTipText;
}" 0
EE E E 1 0 0 0 100 110
"" 0 1
EE 2
"CBRef""1"
......@@ -15,7 +24,7 @@ LANG:1 6 Layer1
6 0
"Border1"
""
1 100 110 E E E 1 E 1 E N "_WindowText" E N "Lofar_cep_BG" E E
1 30 70 E E E 1 E 1 E N "_WindowText" E N "Lofar_cep_BG" E E
E E
1 0 0 0 0 0
EE E
......@@ -24,7 +33,47 @@ EE E
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U 1 E 100 70 140 110
E E 0 1 1 0 1 E U 1 E 30 30 70 70
2 1
"Text1"
""
1 32 30 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U 0 E 34 32 60 48
0 2 0 "s" 0 0 0 192 0 0 34 32
1
1
LANG:1 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 ""
1
LANG:1 3 BGL
2 2
"text_rackNr"
""
1 30 50 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
2 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U 0 E 32 52 68 69
0 2 0 "s" 0 0 0 65 0 0 32 52
1
1
LANG:1 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 ""
1
LANG:1 1 x
0
LAYER, 1
1
......
V 10
1
LANG:1 8 (NoName)
PANEL,258 100 122 129 N "_3DFace" 1
PANEL,300 211 122 129 N "_3DFace" 4
"$Rack"
"$Room"
"$Row"
"$datapoint"
EEE E E 1 0 0 0 100 110
"" 0 1
EE 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 0
"Border1"
""
1 30 70 E E E 1 E 1 E N "_WindowText" E N "Lofar_device_active" E E
E "// SimpleCtrlScriptStart {invalid}
main()
{
EP_childPanelOn();
}
EP_childPanelOn()
{
ChildPanelOnCentralModal(\"objects/nav_usr/CEP/CEP_rack.pnl\",
\"CEP rack view\",
makeDynString(\"$datapoint:\" + $datapoint));
}
// SimpleCtrlScript {EP_childPanelOn}
// Function {ChildPanelOnParentModal}
// File {objects/nav_usr/CEP/CEP_rack.pnl}
// Panel {}
// Parent {CEP rack view}
// Module {}
// OffsetX {0}
// OffsetY {0}
// PanelPara1 {$datapoint:$datapoint}
// SimpleCtrlScriptEnd {EP_childPanelOn}
" 0
1 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
"main()
{
if (dpAccessable($datapoint))
string dpPrefix = $datapoint + \"_Room\" + $Room + \"_Row\" + $Row + \"_Rack\" + $Rack;
text_rackNr.text = $Rack;
Border1.toolTipText = dpPrefix;
text_rackNr.toolTipText = Border1.toolTipText;
Text1.toolTipText = Border1.toolTipText;
if (dpAccessable(dpPrefix))
{
string query = \"SELECT '_online.._value' FROM '\" + $datapoint + \"_Item*.status' REMOTE ALL\";
string query = \"SELECT '_online.._value' FROM '\" + dpPrefix + \"_Item*.status' REMOTE ALL\";
dpQueryConnectAll(\"computeSumAlert\", true, \"sumAlert\", query);
}
else
......@@ -83,7 +46,87 @@ void computeSumAlert(string ident, dyn_dyn_anytype tab)
}
}
" 0
E 0 1 1 0 1 E U 1 E 30 30 70 70
EE E E 1 0 0 0 100 110
"" 0 1
E"showRackDetails()
{
ChildPanelOnCentralModal(\"objects/nav_usr/CEP/CEP_rack.pnl\",
\"CEP rack view\",
makeDynString(\"$datapoint:\" + $datapoint));
}" 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 0
"Border1"
""
1 30 70 E E E 1 E 1 E N "_WindowText" E N "Lofar_device_active" E E
E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
showRackDetails();
}" 0
0 1 1 0 1 E U 1 E 30 30 70 70
2 1
"Text1"
""
1 32 30 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
showRackDetails();
}" 0
0 1 1 0 1 E U 0 E 34 32 64 48
0 2 0 "s" 0 0 0 192 0 0 34 32
1
1
LANG:1 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 ""
1
LANG:1 4 Rack
2 2
"text_rackNr"
""
1 30 50 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
2 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
showRackDetails();
}" 0
0 1 1 0 1 E U 0 E 32 52 68 69
0 2 0 "s" 0 0 0 65 0 0 32 52
1
1
LANG:1 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 ""
1
LANG:1 1 x
0
LAYER, 1
1
......
V 10
1
LANG:1 14 19inch_Subrack
PANEL,293 76 182 113 N "_3DFace" 6
PANEL,300 211 182 113 N "_3DFace" 6
"$RSPBoardNr"
"$RackNr"
"$SubrackNr"
......@@ -11,8 +11,7 @@ PANEL,293 76 182 113 N "_3DFace" 6
"main()
{
EP_setBackColor();
// setValue(\"text_SubrackNr\", \"text\", $SubrackNr );
setValue(\"txt_boardName\",\"text\",\"C\"+$RackNr+\".S\"+$SubrackNr+\".B\"+$RSPBoardNr);
setValue(\"txt_boardName\",\"text\",\"Board \"+$RSPBoardNr);
$configDatapoint;
$referenceDatapoint;
}
......@@ -581,7 +580,7 @@ E E 0 1 1 0 1 E U 0 E 47 33 108 49
LANG:1 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 ""
1
LANG:1 8 Cx.Sx.Bx
LANG:1 7 Board x
0
LAYER, 1
1
......
V 10
1
LANG:1 16 ConcentratorNode
PANEL,300 211 182 152 N "_3DFace" 3
"$CnName"
"$configDatapoint"
"$referenceDatapoint"
"main()
{
EP_setBackColor();
setValue(\"txt_CnName\",\"text\",$CnName);
$configDatapoint;
$referenceDatapoint;
}
EP_setBackColor()
{
dyn_errClass err;
string dpPrefix = \"LOFAR_PIC_WAN_\" + $CnName;
ell_concentratorNode.toolTipText = dpPrefix;
if( !dpAccessable( dpPrefix + \".status:_online.._value\"))
{
setValue(\"ell_concentratorNode\", \"backCol\", \"_dpdoesnotexist\");
return;
}
dpConnect(\"EP_setBackColorCB\",
dpPrefix + \".status:_online.._value\");
err = getLastError();
if (dynlen(err) > 0)
{
setValue(\"ell_concentratorNode\", \"backCol\", \"_dpdoesnotexist\");
}
}
EP_setBackColorCB(string dpSource1, unsigned status)
{
if (status==0)
{
setValue(\"ell_concentratorNode\", \"backCol\", \"Lofar_device_active\");
}
else
{
setValue(\"ell_concentratorNode\", \"backCol\", \"Red\");
}
}" 0
EE E E 1 -1 -1 0 25 85
"" 0 1
E"
" 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
7 59
"ell_concentratorNode"
""
1 60 60 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
55 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U 1 E 60 60 40 40
2 56
"txt_CnName"
""
1 20 50 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
53 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U 0 E 22 52 98 68
0 2 0 "s" 0 0 0 65 0 0 22 52
1
1
LANG:1 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 ""
1
LANG:1 4 <cn>
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
\ No newline at end of file
V 10
1
LANG:1 14 19inch_Subrack
PANEL,294 179 182 152 N "_3DFace" 4
"$SwitchName"
"$configDatapoint"
"$datapoint"
"$referenceDatapoint"
"main()
{
EP_setBackColor();
setValue(\"txt_switchName\",\"text\",$SwitchName);
$configDatapoint;
$referenceDatapoint;
}
EP_setBackColor()
{
dyn_errClass err;
string dpPrefix = \"LOFAR_PIC_WAN_\" + $SwitchName;
rect_Switch.toolTipText = dpPrefix;
icon_maintenance.toolTipText = dpPrefix;
if( !dpAccessable( dpPrefix + \".status:_online.._value\"))
{
setValue(\"rect_Switch\", \"backCol\", \"_dpdoesnotexist\");
return;
}
dpConnect(\"EP_setBackColorCB\",
dpPrefix + \".status:_online.._value\");
err = getLastError();
if (dynlen(err) > 0)
{
setValue(\"rect_Switch\", \"backCol\", \"_dpdoesnotexist\");
}
}
EP_setBackColorCB(string dpSource1, unsigned status)
{
if (status==0)
{
setValue(\"rect_Switch\", \"backCol\", \"Lofar_device_active\");
}
else
{
setValue(\"rect_Switch\", \"backCol\", \"Red\");
}
}" 0
EE E E 1 -1 -1 0 25 85
"" 0 1
E"
" 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 0
"rect_Switch"
""
1 31 120 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
"main()
{
stsSubRackHandleContextMenu();
}" 0
E
1 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
aplViewNavigateTo($datapoint, $referenceDatapoint, \"_WAN_\" + $SwitchName, \"Switch-CS1.pnl\");
}
" 0
0 1 1 0 1 E U 1 E 31 25 128 130
7 2
"Ellipse56"
""
1 33.5 123.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
3 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -8.875 -31.375 1 E 35.5 125.5 2 2
7 3
"Ellipse57"
""
1 120.5 27.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
4 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -30.625 -7.375 1 E 122.5 29.5 2 2
7 4
"Ellipse58"
""
1 120.5 123.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
5 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -30.625 -31.375 1 E 122.5 125.5 2 2
6 55
"icon_maintenance"
""
1 60 87 E E E 1 E 0 E N "_Transparent" E N "_Transparent" E E
"main()
{
stsSubRackHandleContextMenu();
}" 0
E
52 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
aplViewNavigateTo($datapoint, $referenceDatapoint, \"_WAN_\" + $SwitchName, \"Switch-CS1.pnl\");
}" 0
0 1 1 0 1 E U 2 0 1 "pictures/nav_usr/STS/icon_maintenance.gif" 16777215 E 60 48 100 88
7 1
"Ellipse55"
""
1 33.5 27.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
2 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -8.875 -7.375 1 E 35.5 29.5 2 2
2 56
"txt_switchName"
""
1 32 33 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
53 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
aplViewNavigateTo($datapoint, $referenceDatapoint, \"_WAN_\" + $SwitchName, \"Switch-CS1.pnl\");
}" 0
0 1 1 0 1 E U 0 E 34 35 128 51
0 2 0 "s" 0 0 0 65 0 0 34 35
1
1
LANG:1 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 ""
1
LANG:1 8 <switch>
6 57
"Border1"
""
1 45 108 E E E 1 E 1 E N "_Transparent" E N "_Transparent" E E
E E
53 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 0 1 0 1 E U 2 0 3 "pictures/nav_usr/CS1/snapshot_switch_port12.bmp" 13434828 E 45 88 113 108
6 58
"Border2"
""
1 45 129 E E E 1 E 1 E N "_Transparent" E N "_Transparent" E E
E E
54 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 0 1 0 1 E U 2 0 3 "pictures/nav_usr/CS1/snapshot_switch_port12.bmp" 13434828 E 45 109 113 129
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
\ No newline at end of file
V 10
1
LANG:1 14 19inch_Subrack
PANEL,300 211 182 113 N "_3DFace" 3
"$Station"
"$configDatapoint"
"$referenceDatapoint"
"main()
{
EP_setBackColor();
setValue(\"txt_switchName\",\"text\",$Station);
$configDatapoint;
$referenceDatapoint;
}
EP_setBackColor()
{
dyn_errClass err;
string dpPrefix = $Station + \":LOFAR_PIC_WAN_Switch\";
rect_Switch.toolTipText = dpPrefix;
icon_maintenance.toolTipText = dpPrefix;
if( !dpAccessable( dpPrefix + \".status:_online.._value\"))
{
setValue(\"rect_Switch\", \"backCol\", \"_dpdoesnotexist\");
return;
}
dpConnect(\"EP_setBackColorCB\",
dpPrefix + \".status:_online.._value\");
err = getLastError();
if (dynlen(err) > 0)
{
setValue(\"rect_Switch\", \"backCol\", \"_dpdoesnotexist\");
}
}
EP_setBackColorCB(string dpSource1, unsigned status)
{
if (status==0)
{
setValue(\"rect_Switch\", \"backCol\", \"Lofar_device_active\");
}
else
{
setValue(\"rect_Switch\", \"backCol\", \"Red\");
}
}" 0
EE E E 1 -1 -1 0 25 85
"" 0 1
E"
" 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 0
"rect_Switch"
""
1 31 63 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
"main()
{
stsSubRackHandleContextMenu();
}" 0
E
1 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
aplViewNavigateTo(\"\", $referenceDatapoint, $Station + \":LOFAR_PIC_WAN_Switch\", \"Switch-CS1.pnl\");
}
" 0
0 1 1 0 1 E U 1 E 31 25 159 67
7 2
"Ellipse56"
""
1 33.5 60.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
3 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -8.875 -15.625 1 E 35.5 62.5 2 2
7 3
"Ellipse57"
""
1 152.5 27.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
4 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -38.625 -7.375 1 E 154.5 29.5 2 2
7 4
"Ellipse58"
""
1 152.5 60.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
5 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -38.625 -15.625 1 E 154.5 62.5 2 2
6 55
"icon_maintenance"
""
1 117 64 E E E 1 E 0 E N "_Transparent" E N "_Transparent" E E
"main()
{
stsSubRackHandleContextMenu();
}" 0
E
52 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
aplViewNavigateTo(\"\", $referenceDatapoint, $Station + \":LOFAR_PIC_WAN_Switch\", \"Switch-CS1.pnl\");
}" 0
0 1 1 0 1 E U 2 0 1 "pictures/nav_usr/STS/icon_maintenance.gif" 16777215 E 117 25 157 65
7 1
"Ellipse55"
""
1 33.5 27.5 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
E E
2 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E 1.25 0 1.25 -8.875 -7.375 1 E 35.5 29.5 2 2
2 56
"txt_switchName"
""
1 41 26 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
E E
53 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E "main()
{
aplViewNavigateTo(\"\", $referenceDatapoint, $Station + \":LOFAR_PIC_WAN_Switch\", \"Switch-CS1.pnl\");
}" 0
0 1 1 0 1 E U 0 E 43 28 118 44
0 2 0 "s" 0 0 0 64 0 0 43 28
1
1
LANG:1 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 ""
1
LANG:1 9 <station>
6 57
"Border1"
""
1 41 66 E E E 1 E 1 E N "_Transparent" E N "_Transparent" E E
E E
53 0 0 0 0 0
EE E
0
1
LANG:1 0
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U 2 0 3 "pictures/nav_usr/CS1/snapshot_switch_port12.bmp" 13434828 E 41 46 109 66
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
\ No newline at end of file
MAC/Navigator/pictures/nav_usr/CS1/snapshot_switch_port12.bmp

3.84 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment