示例#1
0
 static void InitDataBase(string[] args)
 {
     Console.WriteLine("Initialize the DataBase:");
     Console.WriteLine("Notice: This Command would clear all you record in tables!");
     Console.WriteLine("Tap 'Yes' to continue.");
     string input = Console.ReadLine();
     if (input == "Yes")
     {
         DataBaseCreator creator = new DataBaseCreator(GetScadaSqlFile());
         creator.Execute();
     }
 }
示例#2
0
        static void InitDataBase(string[] args)
        {
            Console.WriteLine("Initialize the DataBase:");
            Console.WriteLine("Notice: This Command would clear all you record in tables!");
            Console.WriteLine("Tap 'Yes' to continue.");
            string input = Console.ReadLine();

            if (input == "Yes")
            {
                DataBaseCreator creator = new DataBaseCreator(GetScadaSqlFile());
                creator.Execute();
            }
        }
示例#3
0
        static void InitDataBaseSilent(string[] args)
        {
            DataBaseCreator creator = new DataBaseCreator(GetScadaSqlFile());

            creator.Execute();
        }
示例#4
0
文件: Program.cs 项目: oisy/scada
 static void InitDataBaseSilent(string[] args)
 {
     DataBaseCreator creator = new DataBaseCreator(GetScadaSqlFile());
     creator.Execute();
 }