private void cmdLoadVat_Click(object sender, EventArgs e)
        {
            S7VATBlock tmpVat = SelectProjectPart.SelectVAT();

            if (tmpVat != null)
            {
                myValues = tmpVat.VATRows;
                reload();
                mySymtable = (SymbolTable)((S7ProgrammFolder)tmpVat.ParentFolder.Parent).SymbolTable;
                refresh();
            }
        }
Exemplo n.º 2
0
        private void cmdImportVarTab_Click(object sender, RoutedEventArgs e)
        {
            var s7Vat = SelectProjectPart.SelectVAT();

            if (s7Vat != null)
            {
                foreach (var S7VatRow in s7Vat.VATRows)
                {
                    varTabRows.Add(new VarTabRowWithConnection(S7VatRow));
                }
            }

            RefreshSymbols();
        }