Exemplo n.º 1
0
        public void TestPrepare()
        {
            string pluginPath     = DataUpdateConst.PLUGINPATH;
            string srcDataPath    = DataUpdateConst.SRCDATAPATH_BIAOPUYONGHUA;
            string targetDataPath = DataUpdateConst.DATACENTERSOURCEPATH;

            dataprovider.IDataProvider dataProvider = new DataProvider_BiaoPuYongHua(srcDataPath, pluginPath);
            StepPreparer stepPreparer = new StepPreparer(pluginPath, srcDataPath, targetDataPath, false, dataProvider);
            List <IStep> steps        = stepPreparer.GetAllSteps();

            AssertUtils.PrintLineList(steps);
        }
Exemplo n.º 2
0
 public UpdateStepGetter_CnFutures(PluginHelper pluginHelper, IDataProvider dataProvider, string srcDataPath, string targetDataPath, bool updateFillUp)
 {
     this.stepPreparer = new StepPreparer(pluginHelper.PluginDirPath, srcDataPath, targetDataPath, updateFillUp, dataProvider);
 }