예제 #1
0
        public void GrpThePlan(bool IsBackTest)
        {
            //Log("初始化服务器设置","分组准备运行计划列表");
            Dictionary <string, CalcStragGroupClass> outret = null;

            this.AllRunningPlanGrps = InitServerClass.InitCalcStrags(ref outret, this.AllStrags, this.AllRunPlannings, this.AllAssetUnits, true, IsBackTest);
        }
예제 #2
0
 public void Init(GlobalClass gc)
 {
     if (gc == null)
     {
         gc = new GlobalClass();
     }
     this.gc = gc;
     LogableClass.ToLog("初始化服务器设置", "初始化策略列表");
     this.AllStrags = InitServerClass.Init_StragList();
     LogableClass.ToLog("初始化服务器设置", "初始化运行计划列表");
     this.AllRunPlannings = InitServerClass.Init_StragPlans();
     LogableClass.ToLog("初始化服务器设置", "初始资产单元列表");
     this.AllAssetUnits         = InitServerClass.Init_AssetUnits();
     this.AllNoClosedChanceList = new Dictionary <string, ChanceClass>();
 }