diff --git a/Models/Instruments/MCDU1/INITB/INITB.xml b/Models/Instruments/MCDU1/INITB/INITB.xml index 1be882fd..03ab58a3 100644 --- a/Models/Instruments/MCDU1/INITB/INITB.xml +++ b/Models/Instruments/MCDU1/INITB/INITB.xml @@ -48,7 +48,31 @@ - page + page-blockset + + -0.001 + 0.0 + 0.083 + + center-center + yz-plane + text-value + INIT FUEL PREDICTION + false + BoeingCDU-Large.ttf + autopilot/serviceable + true + false + false + 0.0050 + + 64 + 64 + + + + + pagearrows -0.001 0.04 @@ -552,11 +576,35 @@ 64 + + + select + page + + + /FMGC/internal/block-set + 0 + + + + + + select + page-blockset + + + /FMGC/internal/block-set + 1 + + + material page + pagearrows + page-blockset taxi triptime triptime2 diff --git a/Models/Instruments/MCDU2/INITB/INITB.xml b/Models/Instruments/MCDU2/INITB/INITB.xml index 1be882fd..03ab58a3 100644 --- a/Models/Instruments/MCDU2/INITB/INITB.xml +++ b/Models/Instruments/MCDU2/INITB/INITB.xml @@ -48,7 +48,31 @@ - page + page-blockset + + -0.001 + 0.0 + 0.083 + + center-center + yz-plane + text-value + INIT FUEL PREDICTION + false + BoeingCDU-Large.ttf + autopilot/serviceable + true + false + false + 0.0050 + + 64 + 64 + + + + + pagearrows -0.001 0.04 @@ -552,11 +576,35 @@ 64 + + + select + page + + + /FMGC/internal/block-set + 0 + + + + + + select + page-blockset + + + /FMGC/internal/block-set + 1 + + + material page + pagearrows + page-blockset taxi triptime triptime2 diff --git a/Nasal/MCDU2/INITA.nas b/Nasal/MCDU2/INITA.nas index 3c059a50..3470925a 100644 --- a/Nasal/MCDU2/INITA.nas +++ b/Nasal/MCDU2/INITA.nas @@ -141,20 +141,20 @@ var initInputA = func(key) { if (scratchpad == "CLR") { setprop("/FMGC/internal/tropo", 36090); setprop("/FMGC/internal/tropo-set", 0); - setprop("/MCDU[0]/scratchpad-msg", "0"); - setprop("/MCDU[0]/scratchpad", ""); + setprop("/MCDU[1]/scratchpad-msg", "0"); + setprop("/MCDU[1]/scratchpad", ""); } else { var tropo = size(scratchpad); if (tropo == 5) { setprop("/FMGC/internal/tropo-set", 1); setprop("/FMGC/internal/tropo", scratchpad); - setprop("/MCDU[0]/scratchpad", ""); + setprop("/MCDU[1]/scratchpad", ""); } else { - if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") { - setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad")); + if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") { + setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad")); } - setprop("/MCDU[0]/scratchpad-msg", "1"); - setprop("/MCDU[0]/scratchpad", "NOT ALLOWED"); + setprop("/MCDU[1]/scratchpad-msg", "1"); + setprop("/MCDU[1]/scratchpad", "NOT ALLOWED"); } } }