Antenna_Config
vbox
false
false
true
3
setprop("/sim/model/ec130/antenna_dialog_active",1);
var p = getprop("/sim/model/ec130/antenna_left");
setprop("/sim/model/ec130/antenna_left_flag_0",0);
setprop("/sim/model/ec130/antenna_left_flag_1",0);
setprop("/sim/model/ec130/antenna_left_flag_2",0);
if ( p == 1 ) { setprop("/sim/model/ec130/antenna_left_flag_0",1); }
if ( p == 0 ) { setprop("/sim/model/ec130/antenna_left_flag_1",1); }
if ( p == 2 ) { setprop("/sim/model/ec130/antenna_left_flag_2",1); }
var p = getprop("/sim/model/ec130/antenna_square_tail");
setprop("/sim/model/ec130/antenna_square_tail_flag_0",0);
setprop("/sim/model/ec130/antenna_square_tail_flag_1",0);
if ( p == 1 ) { setprop("/sim/model/ec130/antenna_square_tail_flag_0",1); }
if ( p == 2 ) { setprop("/sim/model/ec130/antenna_square_tail_flag_1",1); }
if ( getprop("/sim/model/variant") == "1" ) {
setprop("/sim/gui/dialogs/ec130/antenna/dialog/group/text/label", "EC130-B4 Antenna Setup (Alt-a)");
} else {
setprop("/sim/gui/dialogs/ec130/antenna/dialog/group/text/label", "H130 Antenna Setup (Alt-a)");
}
# just kept for educational purposes :-)
hbox
1
true
hbox
5
left
vbox
0
left
table
5
left
0
0
left
1
0
left
table
5
left
0
0
left
0
1
left
sim/model/ec130/antenna_left_flag_0
true
dialog-apply
nasal
0
2
left
sim/model/ec130/antenna_left_flag_1
true
dialog-apply
nasal
0
3
left
sim/model/ec130/antenna_left_flag_2
true
dialog-apply
nasal
table
5
left
1
0
left
table
5
left
0
0
left
0
1
left
/sim/model/ec130/vor_2_roof
true
dialog-apply
1
1
left
/sim/model/ec130/adf_roof
true
dialog-apply
2
1
left
/sim/model/ec130/adf_roof_l
true
dialog-apply
3
0
left
table
5
left
0
0
left
1
0
left
table
5
left
0
0
left
0
1
left
/sim/model/ec130/adf_bottom
true
dialog-apply
1
0
left
vbox
0
left
table
5
left
0
0
left
table
5
left
0
0
left
0
1
left
/sim/model/ec130/antenna_tail_front
true
dialog-apply
1
1
left
/sim/model/ec130/VUHF_front
true
dialog-apply
nasal
2
1
left
/sim/model/ec130/VUHF
true
dialog-apply
nasal
3
1
left
/sim/model/ec130/DME
true
dialog-apply
nasal
4
1
left
/sim/model/ec130/DME_small
true
dialog-apply
nasal
5
1
left
/sim/model/ec130/antenna_square_tail_flag_0
true
dialog-apply
nasal
6
1
left
/sim/model/ec130/antenna_square_tail_flag_1
true
dialog-apply
nasal
7
1
left
/sim/model/ec130/antenna_flat_tail
true
dialog-apply
nasal
8
0
left
hbox
3