예제 #1
0
        public static void Main(string[] args)
        {
            NIOCForDVS app = new NIOCForDVS();

            cb = AppUtil.AppUtil.initialize("NIOCForDVS", NIOCForDVS.constructOptions(), args);
            Boolean valid = app.customValidation();

            if (valid)
            {
                try
                {
                    cb.connect();
                    app.DoNIOC();
                    cb.disConnect();
                }
                catch (Exception e)
                {
                    Console.WriteLine(e.Message);
                }
            }
            Console.WriteLine("Please enter to exit: ");
            Console.Read();
        }
예제 #2
0
 public static void Main(string[] args)
 {
     NIOCForDVS app = new NIOCForDVS();
     cb = AppUtil.AppUtil.initialize("NIOCForDVS", NIOCForDVS.constructOptions(), args);
     Boolean valid = app.customValidation();
     if (valid)
     {
         try
         {
             cb.connect();
             app.DoNIOC();
             cb.disConnect();
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
     Console.WriteLine("Please enter to exit: ");
     Console.Read();
 }