コード例 #1
0
ファイル: Program.cs プロジェクト: mrddos/planisphere
 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();
 }