Esempio n. 1
0
        public void LoadElf(String elfFileName)
        {
            parser = new ElfParser(elfFileName);

            variablesList = new MainVariablesList(parser);

            valuesUpdater.SetVariablesList(variablesList);
            PrintVariables();

            this.Text = elfFileName;
        }
Esempio n. 2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            parser = new ElfParser(@"D:\Projects\MASS\MCU\Debug\SuspensionStand.elf");

            variablesList = new MainVariablesList(parser);

            variablesList.UpdateVariable("cinADCDriver", null, "cinADCDriver");
            variablesList.UpdateVariable("cinBatteryVoltageProvider", null, "cinBatteryVoltageProvider");

            valuesUpdater.SetVariablesList(variablesList);
            PrintVariables();
        }