Esempio n. 1
0
        public override void makeElements()
        {
            for (int i = 0; i < 1; i++)
            {
                screenInputs.Add(null);                                     // Initialize Inputs
            }
            for (int i = 0; i < 2; i++)
            {
                screenLabels.Add(null);                                     // Initialize Labels
            }
            for (int i = 0; i < 5; i++)
            {
                screenIndicators.Add(null);                                     // Initialize Indicators
            }
            for (int i = 0; i < 5; i++)
            {
                screenButtons.Add(null);                                    // Initialize Buttons
            }
            screenInputs[0] = Helper.CreateInput(-2, -2, 1, 2);             // Every page must have an input to capture keypresses on Unix

            // FDAI
            screenFDAI          = new FDAI();
            screenFDAI.Font     = form.buttonFont;
            screenFDAI.Location = new Point(100, 0);
            screenFDAI.Size     = new Size(form.ClientSize.Width - 100, form.ClientSize.Height);
            form.Controls.Add(screenFDAI);

            // MODE BUTTONS/INDICATORS
            screenLabels[0]         = Helper.CreateLabel(2.5, 0, 4, 1, "MODE");
            screenIndicators[0]     = Helper.CreateIndicator(0, 1, 5, 1, "SURF");
            screenButtons[0]        = Helper.CreateButton(5, 1, 4, 1, "");
            screenButtons[0].Click += (sender, e) => setMode(FDAIMode.SURF);
            screenIndicators[1]     = Helper.CreateIndicator(0, 2, 5, 1, "INER");
            screenButtons[1]        = Helper.CreateButton(5, 2, 4, 1, "");
            screenButtons[1].Click += (sender, e) => setMode(FDAIMode.INER);

            // RATE BUTTONS/INDICATORS
            screenLabels[1]         = Helper.CreateLabel(0, 4, 9, 1, "E|R SCALE");
            screenIndicators[2]     = Helper.CreateIndicator(0, 5, 5, 1, "5|1");
            screenButtons[2]        = Helper.CreateButton(5, 5, 4, 1, "");
            screenButtons[2].Click += (sender, e) => setScale(5, 1);
            screenIndicators[3]     = Helper.CreateIndicator(0, 6, 5, 1, "5|5");
            screenButtons[3]        = Helper.CreateButton(5, 6, 4, 1, "");
            screenButtons[3].Click += (sender, e) => setScale(5, 5);
            screenIndicators[4]     = Helper.CreateIndicator(0, 7, 5, 1, "15|10");
            screenButtons[4]        = Helper.CreateButton(5, 7, 4, 1, "");
            screenButtons[4].Click += (sender, e) => setScale(15, 10);

            // Load PySSSMQ-DATA
            loadPySSSMQData();
        }
Esempio n. 2
0
        public override void makeElements()
        {
            for (int i = 0; i < 1; i++)
            {
                screenMaps.Add(null);                                     // Initialize Map
            }
            for (int i = 0; i < 1; i++)
            {
                screenInputs.Add(null);                                     // Initialize Inputs
            }
            for (int i = 0; i < 70; i++)
            {
                screenIndicators.Add(null);                                      // Initialize Indicators
            }
            for (int i = 0; i < 80; i++)
            {
                screenButtons.Add(null);                                      // Initialize Buttons
            }
            for (int i = 0; i < 1; i++)
            {
                screenLabels.Add(null);                                                                // Initialize Labels
            }
            screenInputs[0]              = Helper.CreateInput(7, 29, 6, 1, HorizontalAlignment.Right); // Every page must have an input to capture keypresses on Unix
            screenInputs[0].Text         = taillength.ToString();
            screenInputs[0].TextChanged += (sender, e) => updateTailLength(sender, e);

            screenLabels[0] = Helper.CreateLabel(7, 28, 6, 1, "LENGTH");

            screenMaps[0]          = Helper.CreateMap(0, 0, 120, 28);
            screenMaps[0].bodyName = "Kerbin";

            screenButtons[0]        = Helper.CreateButton(1, 29, 5, 1, "TAIL");
            screenButtons[0].Font   = form.buttonFont;
            screenButtons[0].Click += (sender, e) => this.toggleTail(sender, e);

            screenButtons[1]        = Helper.CreateButton(14, 29, 5, 1, "FADE");
            screenButtons[1].Font   = form.buttonFont;
            screenButtons[1].Click += (sender, e) => this.toggleFade(sender, e);

            screenIndicators[0] = Helper.CreateIndicator(1, 28, 5, 1, "");
            screenIndicators[1] = Helper.CreateIndicator(14, 28, 5, 1, "");
        }
Esempio n. 3
0
        public override void makeElements()
        {
            for (int i = 0; i < 100; i++)
            {
                screenLabels.Add(null);                                       // Initialize Labels
            }
            for (int i = 0; i < 12; i++)
            {
                screenIndicators.Add(null);                                                                                                              // Initialize Indicators
            }
            screenLabels[0]  = Helper.CreateLabel(16, 1, 13);                                                                                            // Local Time
            screenLabels[1]  = Helper.CreateLabel(0, 1, 14);                                                                                             // MET Time
            screenLabels[2]  = Helper.CreateLabel(39, 0, 42, 1, "============ ASCENSION MODULE ============");                                           // Screen Title
            screenLabels[3]  = Helper.CreateLabel(84, 0, 39, 1, "├───────────── STATUS ─────────────┤");                                                 // Status Headline
            screenLabels[4]  = Helper.CreateLabel(84, 1, 1, 1, "│");
            screenLabels[5]  = Helper.CreateLabel(0, 2, 85, 1, "────────────────── ORBIT ──────────────────┬─────────────── POSITION ───────────────┤"); // Obrit/Position headline
            screenLabels[6]  = Helper.CreateLabel(0, 3, 44, 1, "                 CUR       TGT       DTA   │");                                          // Orbit subheadlines
            screenLabels[7]  = Helper.CreateLabel(43, 4, 1, 1, "│");
            screenLabels[8]  = Helper.CreateLabel(43, 5, 1, 1, "│");
            screenLabels[9]  = Helper.CreateLabel(43, 6, 1, 1, "│");
            screenLabels[10] = Helper.CreateLabel(43, 7, 1, 1, "│");
            screenLabels[11] = Helper.CreateLabel(43, 8, 1, 1, "│");
            screenLabels[12] = Helper.CreateLabel(43, 9, 1, 1, "│");
            screenLabels[13] = Helper.CreateLabel(43, 10, 1, 1, "│");
            screenLabels[14] = Helper.CreateLabel(43, 11, 1, 1, "│");
            screenLabels[15] = Helper.CreateLabel(43, 12, 1, 1, "│");
            screenLabels[16] = Helper.CreateLabel(84, 3, 1, 1, "│");
            screenLabels[17] = Helper.CreateLabel(84, 4, 1, 1, "│");
            screenLabels[18] = Helper.CreateLabel(84, 5, 1, 1, "│");
            screenLabels[19] = Helper.CreateLabel(84, 6, 1, 1, "│");
            screenLabels[20] = Helper.CreateLabel(84, 7, 36, 1, "│┌─────────── SUPPLIES ────────────┐");
            screenLabels[21] = Helper.CreateLabel(84, 8, 1, 1, "│");
            screenLabels[22] = Helper.CreateLabel(84, 9, 1, 1, "│");
            screenLabels[23] = Helper.CreateLabel(84, 10, 1, 1, "│");
            screenLabels[24] = Helper.CreateLabel(84, 11, 1, 1, "│");
            screenLabels[25] = Helper.CreateLabel(84, 12, 1, 1, "│");
            screenLabels[26] = Helper.CreateLabel(43, 13, 1, 1, "│");
            screenLabels[27] = Helper.CreateLabel(43, 14, 1, 1, "│");
            screenLabels[28] = Helper.CreateLabel(84, 13, 1, 1, "│");
            screenLabels[29] = Helper.CreateLabel(84, 14, 1, 1, "│");

            // Orbit data
            screenLabels[30] = Helper.CreateLabel(2, 4, 20, 1, "      Alt: ");             // Altitude
            screenLabels[31] = Helper.CreateLabel(2, 5, 20, 1, " Apoapsis: ");             // Apoapsis
            screenLabels[32] = Helper.CreateLabel(2, 6, 20, 1, "Periapsis: ");             // Periapasis
            screenLabels[33] = Helper.CreateLabel(2, 7, 20, 1, "      TtA: ");             // Time to Apoapsis
            screenLabels[34] = Helper.CreateLabel(2, 8, 20, 1, "      TtP: ");             // Time to Periapsis
            screenLabels[35] = Helper.CreateLabel(2, 9, 20, 1, "      Inc: ");             // Inclination
            screenLabels[36] = Helper.CreateLabel(2, 10, 20, 1, "      Ecc: ");            // Eccentricity
            screenLabels[37] = Helper.CreateLabel(2, 12, 20, 1, " Orb. Vel: ");            // Orbit Velocity
            screenLabels[38] = Helper.CreateLabel(2, 13, 20, 1, " Sur. Vel: ");            // Surface Velocity

            // Position data
            screenLabels[40] = Helper.CreateLabel(44, 4, 20, 1, "  Body: ");           // Sphere of Influence
            screenLabels[41] = Helper.CreateLabel(44, 5, 20, 1, "   Lat: ");           // Latitude
            screenLabels[42] = Helper.CreateLabel(44, 6, 20, 1, "   Lon: ");           // Longitude
            screenLabels[43] = Helper.CreateLabel(44, 9, 39, 1, " Atm.Den: ");         // Atmosphere Density AND Radar Alt
            screenLabels[44] = Helper.CreateLabel(44, 10, 20, 1, " Atm.Pre: ");        // Atmosphere Pressure
            screenLabels[45] = Helper.CreateLabel(44, 11, 20, 1, " Dyn.Pre: ");        // Dynamic Pressure
            screenLabels[46] = Helper.CreateLabel(64, 5, 19, 1, "R: ");                // Roll
            screenLabels[47] = Helper.CreateLabel(64, 6, 19, 1, "P: ");                // Pitch
            screenLabels[48] = Helper.CreateLabel(64, 7, 19, 1, "Y: ");                // Yaw
            screenLabels[49] = Helper.CreateLabel(64, 4, 19, 1, "     SURF     ORBT"); // RPY Headlines

            // Supplies
            screenLabels[50] = Helper.CreateLabel(85, 8, 35, 1, "                     ");                // Supply line 1
            screenLabels[51] = Helper.CreateLabel(85, 9, 35, 1, "                     ");                // Supply line 2
            screenLabels[52] = Helper.CreateLabel(85, 10, 35, 1, "                     ");               // Supply line 3
            screenLabels[53] = Helper.CreateLabel(85, 11, 35, 1, "                     ");               // Supply line 4
            screenLabels[54] = Helper.CreateLabel(85, 12, 35, 1, "                     ");               // Supply line 5
            screenLabels[55] = Helper.CreateLabel(85, 13, 35, 1, "                     ");               // Supply line 5
            screenLabels[58] = Helper.CreateLabel(85, 14, 35, 1, "└─────────────────────────────────┘"); // Supply line 6

            // Orbit Targets and Deltas
            screenLabels[60] = Helper.CreateLabel(24, 10, 8, 1, "");            // Target Eccentricity
            screenLabels[61] = Helper.CreateLabel(24, 12, 8, 1, "");            // Target Orbital Velocity

            screenLabels[65] = Helper.CreateLabel(34, 5, 8, 1, "");             // Delta Apoapsis
            screenLabels[66] = Helper.CreateLabel(34, 6, 8, 1, "");             // Delta Periapsis
            screenLabels[67] = Helper.CreateLabel(34, 10, 8, 1, "");            // Delta Eccentricity
            screenLabels[68] = Helper.CreateLabel(34, 12, 8, 1, "");            // Delta Orbital Velocty

            // Status
            screenIndicators[0]  = Helper.CreateIndicator(86, 1, 10, 1, "SAS");
            screenIndicators[1]  = Helper.CreateIndicator(97, 1, 10, 1, "RCS");
            screenIndicators[2]  = Helper.CreateIndicator(108, 1, 10, 1, "GEAR");
            screenIndicators[3]  = Helper.CreateIndicator(86, 2, 10, 1, "BRAKES");
            screenIndicators[4]  = Helper.CreateIndicator(97, 2, 10, 1, "LIGHTS");
            screenIndicators[5]  = Helper.CreateIndicator(108, 2, 10, 1, "ABORT");
            screenIndicators[6]  = Helper.CreateIndicator(86, 4, 10, 1, "POWER HI");
            screenIndicators[7]  = Helper.CreateIndicator(97, 4, 10, 1, "G HIGH");
            screenIndicators[8]  = Helper.CreateIndicator(108, 4, 10, 1, "LOX LOW");
            screenIndicators[9]  = Helper.CreateIndicator(86, 5, 10, 1, "POWER LOW");
            screenIndicators[10] = Helper.CreateIndicator(97, 5, 10, 1, "MONO LOW");
            screenIndicators[11] = Helper.CreateIndicator(108, 5, 10, 1, "FUEL LOW");

            // Get target apo/peri from PySSSMQ if they exsists there. If they don't write them in.
            string tgtapo  = form.dataStorage.getData("TGTAPO");
            string tgtperi = form.dataStorage.getData("TGTPERI");

            if (tgtapo == "")
            {
                tgtapo = "120000";
                form.dataStorage.setData("TGTAPO", tgtapo);
            }

            if (tgtperi == "")
            {
                tgtperi = "120000";
                form.dataStorage.setData("TGTPERI", tgtperi);
            }

            for (int i = 0; i < 5; i++)
            {
                screenInputs.Add(null);                                                                // Initialize Inputs
            }
            screenInputs[0]              = Helper.CreateInput(24, 5, 8, 1, HorizontalAlignment.Right); // Target Apoapsis
            screenInputs[0].Text         = tgtapo;
            screenInputs[0].TextChanged += (sender, e) => updateApo(sender, e, screenInputs[0].Text);
            screenInputs[1]              = Helper.CreateInput(24, 6, 8, 1, HorizontalAlignment.Right); // Target Periapsis
            screenInputs[1].Text         = tgtperi;
            screenInputs[1].TextChanged += (sender, e) => updatePeri(sender, e, screenInputs[1].Text);


            for (int i = 0; i < 2; i++)
            {
                screenCharts.Add(null);                                     // Initialize Charts
            }
            // Altitude vs. Time Graph
            screenCharts[0]             = Helper.CreatePlot(0, 15, 60, 15, -1, -1, 0, -1);
            screenCharts[0].fixedXwidth = 600;
            screenCharts[0].setSeriesColor(0, Color.FromArgb(100, 251, 251, 251));
            screenCharts[0].setSeriesColor(1, Color.FromArgb(100, 251, 251, 251));
            screenCharts[0].setSeriesColor(2, Color.FromArgb(200, 0, 169, 51));
            screenCharts[0].setSeriesColor(3, Color.FromArgb(200, 0, 51, 204));
            screenCharts[0].setSeriesColor(4, Color.FromArgb(200, 204, 51, 0));

            // Gee-Force vs. Time Graph
            screenCharts[1]             = Helper.CreatePlot(60, 15, 60, 15, -1, -1);
            screenCharts[1].fixedXwidth = 600;
        }
Esempio n. 4
0
        public override void makeElements()
        {
            for (int i = 0; i < 100; i++)
            {
                screenLabels.Add(null);                                       // Initialize Labels
            }
            for (int i = 0; i < 70; i++)
            {
                screenIndicators.Add(null);                                      // Initialize Indicators
            }
            for (int i = 0; i < 80; i++)
            {
                screenButtons.Add(null);                                      // Initialize Buttons
            }
            for (int i = 0; i < 6; i++)
            {
                screenSegDisps.Add(null);                                     // Initialize 7-Segment Displays
            }
            for (int i = 0; i < 1; i++)
            {
                screenInputs.Add(null);                                     // Initialize Inputs
            }
            screenInputs[0] = Helper.CreateInput(-2, -2, 1, 2);             // Every page must have an input to capture keypresses on Unix


            // BUTTONS
            screenButtons[0]             = Helper.CreateButton(12, 300, 46, 46, "VERB", true);
            screenButtons[0].MouseDown  += verbPress;
            screenButtons[1]             = Helper.CreateButton(12, 350, 46, 46, "NOUN", true);
            screenButtons[1].MouseDown  += nounPress;
            screenButtons[2]             = Helper.CreateButton(62, 275, 46, 46, "+", true);
            screenButtons[2].MouseDown  += (sender, e) => keyPress(sender, e, "PLUS");
            screenButtons[3]             = Helper.CreateButton(62, 325, 46, 46, "-", true);
            screenButtons[3].MouseDown  += (sender, e) => keyPress(sender, e, "MINUS");
            screenButtons[4]             = Helper.CreateButton(62, 375, 46, 46, "0", true);
            screenButtons[4].MouseDown  += (sender, e) => numPress(sender, e, 0);
            screenButtons[5]             = Helper.CreateButton(112, 275, 46, 46, "7", true);
            screenButtons[5].MouseDown  += (sender, e) => numPress(sender, e, 7);
            screenButtons[6]             = Helper.CreateButton(112, 325, 46, 46, "4", true);
            screenButtons[6].MouseDown  += (sender, e) => numPress(sender, e, 4);
            screenButtons[7]             = Helper.CreateButton(112, 375, 46, 46, "1", true);
            screenButtons[7].MouseDown  += (sender, e) => numPress(sender, e, 1);
            screenButtons[8]             = Helper.CreateButton(162, 275, 46, 46, "8", true);
            screenButtons[8].MouseDown  += (sender, e) => numPress(sender, e, 8);
            screenButtons[9]             = Helper.CreateButton(162, 325, 46, 46, "5", true);
            screenButtons[9].MouseDown  += (sender, e) => numPress(sender, e, 5);
            screenButtons[10]            = Helper.CreateButton(162, 375, 46, 46, "2", true);
            screenButtons[10].MouseDown += (sender, e) => numPress(sender, e, 2);
            screenButtons[11]            = Helper.CreateButton(212, 275, 46, 46, "9", true);
            screenButtons[11].MouseDown += (sender, e) => numPress(sender, e, 9);
            screenButtons[12]            = Helper.CreateButton(212, 325, 46, 46, "6", true);
            screenButtons[12].MouseDown += (sender, e) => numPress(sender, e, 6);
            screenButtons[13]            = Helper.CreateButton(212, 375, 46, 46, "3", true);
            screenButtons[13].MouseDown += (sender, e) => numPress(sender, e, 3);
            screenButtons[14]            = Helper.CreateButton(262, 275, 46, 46, "CLR", true);
            screenButtons[14].MouseDown += (sender, e) => keyPress(sender, e, "CLR");
            screenButtons[15]            = Helper.CreateButton(262, 325, 46, 46, "PRO", true);
            screenButtons[15].MouseDown += (sender, e) => keyPress(sender, e, "PRO");
            screenButtons[16]            = Helper.CreateButton(262, 375, 46, 46, "KEY\nREL", true);
            screenButtons[16].MouseDown += (sender, e) => keyPress(sender, e, "KEYREL");
            screenButtons[17]            = Helper.CreateButton(312, 300, 46, 46, "ENTR", true);
            screenButtons[17].MouseDown += entrPress;
            screenButtons[18]            = Helper.CreateButton(312, 350, 46, 46, "RSET", true);
            screenButtons[18].MouseDown += (sender, e) => keyPress(sender, e, "RSET");

            // 7-SEG DISPLAYS
            screenSegDisps[0]       = Helper.CreateSegDisp(202, 132, 148, 36, 5, true, "R1", true);
            screenSegDisps[0].style = SegDisp.SegDispStyle.NO_BORDER;
            screenSegDisps[1]       = Helper.CreateSegDisp(202, 174, 148, 36, 5, true, "R2", true);
            screenSegDisps[1].style = SegDisp.SegDispStyle.NO_BORDER;
            screenSegDisps[2]       = Helper.CreateSegDisp(202, 216, 148, 36, 5, true, "R3", true);
            screenSegDisps[2].style = SegDisp.SegDispStyle.NO_BORDER;

            screenSegDisps[3]       = Helper.CreateSegDisp(214, 84, 49, 36, 2, false, "V", true);
            screenSegDisps[3].style = SegDisp.SegDispStyle.NO_BORDER;
            screenSegDisps[4]       = Helper.CreateSegDisp(300, 84, 49, 36, 2, false, "N", true);
            screenSegDisps[4].style = SegDisp.SegDispStyle.NO_BORDER;

            screenSegDisps[5]       = Helper.CreateSegDisp(300, 32, 49, 36, 2, false, "P", true);
            screenSegDisps[5].style = SegDisp.SegDispStyle.NO_BORDER;

            // 7-SEG LABELS
            screenLabels[1]           = Helper.CreateLabel(300, 18, 49, 13, "PROG", false, true);
            screenLabels[1].Font      = form.smallFontB;
            screenLabels[1].align     = CustomLabel.Alignment.CENTER;
            screenLabels[1].BackColor = Color.FromArgb(255, 0, 200, 0);
            screenLabels[1].ForeColor = Color.FromArgb(255, 0, 0, 0);
            screenLabels[1].setlineOffset(3);
            screenLabels[2]           = Helper.CreateLabel(214, 70, 49, 13, "VERB", false, true);
            screenLabels[2].Font      = form.smallFontB;
            screenLabels[2].align     = CustomLabel.Alignment.CENTER;
            screenLabels[2].BackColor = Color.FromArgb(255, 0, 200, 0);
            screenLabels[2].ForeColor = Color.FromArgb(255, 0, 0, 0);
            screenLabels[2].setlineOffset(3);
            screenLabels[3]           = Helper.CreateLabel(300, 70, 49, 13, "NOUN", false, true);
            screenLabels[3].Font      = form.smallFontB;
            screenLabels[3].align     = CustomLabel.Alignment.CENTER;
            screenLabels[3].BackColor = Color.FromArgb(255, 0, 200, 0);
            screenLabels[3].ForeColor = Color.FromArgb(255, 0, 0, 0);
            screenLabels[3].setlineOffset(3);

            // DSKY INDICATORS
            screenIndicators[50]      = Helper.CreateIndicator(25, 18, 70, 30, "UPLINK\nACTY", true);
            screenIndicators[50].Font = form.smallFont;
            screenIndicators[51]      = Helper.CreateIndicator(25, 52, 70, 30, "NO ATT", true);
            screenIndicators[51].Font = form.buttonFont;
            screenIndicators[52]      = Helper.CreateIndicator(25, 86, 70, 30, "STBY", true);
            screenIndicators[52].Font = form.buttonFont;
            screenIndicators[53]      = Helper.CreateIndicator(25, 120, 70, 30, "KEY REL", true);
            screenIndicators[53].Font = form.buttonFont;
            screenIndicators[54]      = Helper.CreateIndicator(25, 154, 70, 30, "OPR ERR", true);
            screenIndicators[54].Font = form.buttonFont;
            screenIndicators[55]      = Helper.CreateIndicator(25, 188, 70, 30, "", true);
            screenIndicators[55].Font = form.buttonFont;
            screenIndicators[56]      = Helper.CreateIndicator(25, 222, 70, 30, "", true);
            screenIndicators[56].Font = form.buttonFont;

            screenIndicators[57]      = Helper.CreateIndicator(101, 18, 70, 30, "TEMP", true);
            screenIndicators[57].Font = form.smallFont;
            screenIndicators[58]      = Helper.CreateIndicator(101, 52, 70, 30, "GIMBAL\nLOCK", true);
            screenIndicators[58].Font = form.buttonFont;
            screenIndicators[59]      = Helper.CreateIndicator(101, 86, 70, 30, "PROG", true);
            screenIndicators[59].Font = form.buttonFont;
            screenIndicators[60]      = Helper.CreateIndicator(101, 120, 70, 30, "RESTART", true);
            screenIndicators[60].Font = form.buttonFont;
            screenIndicators[61]      = Helper.CreateIndicator(101, 154, 70, 30, "TRACKER", true);
            screenIndicators[61].Font = form.buttonFont;
            screenIndicators[62]      = Helper.CreateIndicator(101, 188, 70, 30, "ALT", true);
            screenIndicators[62].Font = form.buttonFont;
            screenIndicators[63]      = Helper.CreateIndicator(101, 222, 70, 30, "VEL", true);
            screenIndicators[63].Font = form.buttonFont;

            screenIndicators[64]      = Helper.CreateIndicator(214, 18, 49, 49, "COMP\nACTY", true);
            screenIndicators[64].Font = form.buttonFont;

            // Backplate (Custom control-class that can go into labels)
            screenLabels[0] = new DSKYBackplate();
            form.Controls.Add(screenLabels[0]);
            screenLabels[0].Location = new System.Drawing.Point(0, 0);
            screenLabels[0].Size     = new System.Drawing.Size(width, height);
        }
Esempio n. 5
0
        public override void makeElements()
        {
            for (int i = 0; i < 1; i++)
            {
                screenLabels.Add(null);                                     // Initialize Labels
            }
            for (int i = 0; i < 20; i++)
            {
                screenIndicators.Add(null);                                      // Initialize Buttons
            }
            for (int i = 0; i < 1; i++)
            {
                screenInputs.Add(null);                                     // Initialize Inputs
            }
            for (int i = 0; i < 4; i++)
            {
                screenScrews.Add(null);                                     // Initialize Screws
            }
            screenInputs[0] = Helper.CreateInput(-2, -2, 1, 2);             // Every page must have an input to capture keypresses on Unix

            //screenLabels[0] = Helper.CreateLabel(4, 0.25, 60, 1.5, "CONTROLLER STATUS");
            //screenLabels[0].type = CustomLabel.LabelType.ENGRAVED;

            screenIndicators[0]          = Helper.CreateIndicator(56, 14, 70, 56, "BOOSTER", true);
            screenIndicators[0].indStyle = Indicator.style.BORDER;

            screenIndicators[1]          = Helper.CreateIndicator(126, 14, 70, 56, "RETRO", true);
            screenIndicators[1].indStyle = Indicator.style.BORDER;

            screenIndicators[2]          = Helper.CreateIndicator(196, 14, 70, 56, "FIDO", true);
            screenIndicators[2].indStyle = Indicator.style.BORDER;

            screenIndicators[3]          = Helper.CreateIndicator(266, 14, 70, 56, "GUIDO", true);
            screenIndicators[3].indStyle = Indicator.style.BORDER;

            screenIndicators[4]          = Helper.CreateIndicator(336, 14, 70, 56, "", true);
            screenIndicators[4].indStyle = Indicator.style.BORDER;

            screenIndicators[5]          = Helper.CreateIndicator(406, 14, 70, 56, "", true);
            screenIndicators[5].indStyle = Indicator.style.BORDER;

            screenIndicators[6]          = Helper.CreateIndicator(56, 70, 70, 56, "SURGEON", true);
            screenIndicators[6].indStyle = Indicator.style.BORDER;

            screenIndicators[7]          = Helper.CreateIndicator(126, 70, 70, 56, "CAPCOM", true);
            screenIndicators[7].indStyle = Indicator.style.BORDER;

            screenIndicators[8]          = Helper.CreateIndicator(196, 70, 70, 56, "EECOM", true);
            screenIndicators[8].indStyle = Indicator.style.BORDER;

            screenIndicators[9]          = Helper.CreateIndicator(266, 70, 70, 56, "GNC", true);
            screenIndicators[9].indStyle = Indicator.style.BORDER;

            screenIndicators[10]          = Helper.CreateIndicator(336, 70, 70, 56, "TELMU", true);
            screenIndicators[10].indStyle = Indicator.style.BORDER;

            screenIndicators[11]          = Helper.CreateIndicator(406, 70, 70, 56, "CONTROL", true);
            screenIndicators[11].indStyle = Indicator.style.BORDER;

            screenIndicators[12]          = Helper.CreateIndicator(56, 126, 70, 56, "INCO", true);
            screenIndicators[12].indStyle = Indicator.style.BORDER;

            screenIndicators[13]          = Helper.CreateIndicator(126, 126, 70, 56, "O&P", true);
            screenIndicators[13].indStyle = Indicator.style.BORDER;

            screenIndicators[14]          = Helper.CreateIndicator(196, 126, 70, 56, "AFLIGHT", true);
            screenIndicators[14].indStyle = Indicator.style.BORDER;

            screenIndicators[15]          = Helper.CreateIndicator(266, 126, 70, 56, "FAO", true);
            screenIndicators[15].indStyle = Indicator.style.BORDER;

            screenIndicators[16]          = Helper.CreateIndicator(336, 126, 70, 56, "NETWORK", true);
            screenIndicators[16].indStyle = Indicator.style.BORDER;

            screenIndicators[17]          = Helper.CreateIndicator(406, 126, 70, 56, "", true);
            screenIndicators[17].indStyle = Indicator.style.BORDER;

            screenScrews[0] = Helper.CreateScrew(4, 36, true);
            screenScrews[1] = Helper.CreateScrew(500, 36, true);
            screenScrews[2] = Helper.CreateScrew(4, 134, true);
            screenScrews[3] = Helper.CreateScrew(500, 134, true);

            form.dataStorage.Pull();
        }