예제 #1
0
        public void RunExcelInit(OrdersParser parser, IDataUpdater dataUpdater)
        {
            DataUpdater = dataUpdater;

            OrdersParser._Form = parser;

            Excel.init();
            Outlook.init();

            // create temp results folder
            Utils.createResultsFolder();

            // parse local DB
            Excel.getDetailsFromLocalDb();

            // fetch and save to file the most updated orders excel file
            Outlook.readLastOrdersFile();

            // parse the orders DB
            Excel.getOrderDetails();
        }
예제 #2
0
 public OrdersParserTest()
 {
     _parser = new OrdersParser();
 }