Esempio n. 1
0
        public void My_Analyzers(string path)
        {
            Open_Analyzer oa   = new Open_Analyzer();
            var           name = Path.GetFileNameWithoutExtension(path);

            oa.OpenFile(A_table, path);

            if (!Name_List.Contains(name))
            {
                Name_List.Add(name);
                A_table.TableName = name;
                Analyzers_List.Add(A_table);
            }
        }
Esempio n. 2
0
        public void My_Analyzers(string path)
        {
            Open_Analyzer oa = new Open_Analyzer();

            var name = Path.GetFileNameWithoutExtension(path);

            oa.OpenFile(A_table, path);

            if (!Name_List.Contains(name))
            {
                Name_List.Add(name);
                A_table.TableName = name;
                Analyzers_List.Add(A_table);
            }

            if (Path.GetFileNameWithoutExtension(path).Contains(VALUES_FROM_CAFE.Cafe) &&
                Path.GetFileNameWithoutExtension(path).ToUpper().Contains("PRE"))
            {
                ZIP  = Convert.ToDouble(A_table.Rows[2][6].ToString().Replace("%", ""));
                ZIP4 = Convert.ToDouble(A_table.Rows[4][6].ToString().Replace("%", ""));
                DPBC = Convert.ToDouble(A_table.Rows[5][6].ToString().Replace("%", ""));
            }
        }