Ejemplo n.º 1
0
        private void Init()
        {
            string srcDataPath       = (string)GetValue(SRCDATAPATH);
            string pluginSrcDataPath = (string)GetValue(PLUGINSRCDATAPATH);
            //string dataCenterUri = (string)GetValue(DATACENTERURI);
            bool updateFillUp = (bool)GetValue(UPDATEFILLUP);

            args = new List <PreparerArgument>();
            args.Add(new PreparerArgument(SRCDATAPATH, "源数据目录", srcDataPath));
            args.Add(new PreparerArgument(PLUGINSRCDATAPATH, "目标目录", pluginSrcDataPath));
            args.Add(new PreparerArgument(UPDATEFILLUP, "补充历史数据?", updateFillUp.ToString()));
            this.stepGetter = new UpdateStepGetter_CnStock(pluginHelper, srcDataPath, pluginSrcDataPath, updateFillUp);
        }
Ejemplo n.º 2
0
 public StepPreparer(UpdateStepGetter_CnStock updateStepGetter_CnStock, PluginHelper pluginHelper)
 {
     this.updateStepGetter_CnStock = updateStepGetter_CnStock;
     this.pluginHelper             = pluginHelper;
 }