public Kaifa_B2B_SZDImportService()
        {
            InitializeComponent();
            string connectionstring = System.Configuration.ConfigurationManager.AppSettings["connectionstring"];
            string alldir           = System.Configuration.ConfigurationManager.AppSettings["allocDir"];
            string allbakdir        = System.Configuration.ConfigurationManager.AppSettings["allocBakDir"];
            string warehouse        = System.Configuration.ConfigurationManager.AppSettings["warehouse"];

            allTask = new AllocTask(alldir, allbakdir, connectionstring, warehouse);
            string caldir    = System.Configuration.ConfigurationManager.AppSettings["calDir"];
            string calbakdir = System.Configuration.ConfigurationManager.AppSettings["calBakDir"];

            calTask = new CalendarTask(caldir, calbakdir, connectionstring, warehouse);
        }
        public Kaifa_B2B_ImportService()
        {
            InitializeComponent();
            string connectionstring = System.Configuration.ConfigurationManager.AppSettings["connectionstring"];
            string alldir = System.Configuration.ConfigurationManager.AppSettings["allocDir"];
            string allbakdir = System.Configuration.ConfigurationManager.AppSettings["allocBakDir"];
            string warehouse = System.Configuration.ConfigurationManager.AppSettings["warehouse"];

            allTask = new AllocTask(alldir, allbakdir, connectionstring,warehouse);
            string caldir = System.Configuration.ConfigurationManager.AppSettings["calDir"];
            string calbakdir = System.Configuration.ConfigurationManager.AppSettings["calBakDir"];

            calTask = new CalendarTask(caldir, calbakdir, connectionstring, warehouse);
        }
示例#3
0
        public static void run()
        {
            string connectionstring = System.Configuration.ConfigurationManager.AppSettings["connectionstring"];
            string alldir           = System.Configuration.ConfigurationManager.AppSettings["allocDir"];
            string allbakdir        = System.Configuration.ConfigurationManager.AppSettings["allocBakDir"];

            AllocTask allTask   = new AllocTask(alldir, allbakdir, connectionstring, "wmwhse2");
            string    caldir    = System.Configuration.ConfigurationManager.AppSettings["calDir"];
            string    calbakdir = System.Configuration.ConfigurationManager.AppSettings["calBakDir"];

            CalendarTask calTask = new CalendarTask(caldir, calbakdir, connectionstring, "wmwhse2");

            allTask.Start();
            calTask.Start();
        }
示例#4
0
        static void Main(string[] args)
        {
            string connectionstring = System.Configuration.ConfigurationManager.AppSettings["connectionstring"];
            string alldir = System.Configuration.ConfigurationManager.AppSettings["allocDir"];
            string allbakdir = System.Configuration.ConfigurationManager.AppSettings["allocBakDir"];
            string warehouse = System.Configuration.ConfigurationManager.AppSettings["warehouse"];

             AllocTask allTask = new AllocTask(alldir, allbakdir, connectionstring, warehouse);
            string caldir = System.Configuration.ConfigurationManager.AppSettings["calDir"];
            string calbakdir = System.Configuration.ConfigurationManager.AppSettings["calBakDir"];

            CalendarTask calTask = new CalendarTask(caldir, calbakdir, connectionstring, warehouse);
            allTask.Start();
            calTask.Start();
            System.Console.ReadLine();

        }
示例#5
0
        static void Main(string[] args)
        {
            string connectionstring = System.Configuration.ConfigurationManager.AppSettings["connectionstring"];
            string alldir           = System.Configuration.ConfigurationManager.AppSettings["allocDir"];
            string allbakdir        = System.Configuration.ConfigurationManager.AppSettings["allocBakDir"];
            string warehouse        = System.Configuration.ConfigurationManager.AppSettings["warehouse"];

            AllocTask allTask   = new AllocTask(alldir, allbakdir, connectionstring, warehouse);
            string    caldir    = System.Configuration.ConfigurationManager.AppSettings["calDir"];
            string    calbakdir = System.Configuration.ConfigurationManager.AppSettings["calBakDir"];

            CalendarTask calTask = new CalendarTask(caldir, calbakdir, connectionstring, warehouse);

            allTask.Start();
            calTask.Start();
            System.Console.ReadLine();
        }
示例#6
0
        public static void run() {

            string connectionstring = System.Configuration.ConfigurationManager.AppSettings["connectionstring"];
            string alldir = System.Configuration.ConfigurationManager.AppSettings["allocDir"];
            string allbakdir = System.Configuration.ConfigurationManager.AppSettings["allocBakDir"];

            AllocTask allTask = new AllocTask(alldir, allbakdir, connectionstring, "wmwhse2");
            string caldir = System.Configuration.ConfigurationManager.AppSettings["calDir"];
            string calbakdir = System.Configuration.ConfigurationManager.AppSettings["calBakDir"];

            CalendarTask calTask = new CalendarTask(caldir, calbakdir, connectionstring, "wmwhse2");

            allTask.Start();
            calTask.Start();
        
        
        }