public ModelBase(RunSettings rs, Policy p, ScenarioManager sm, ProjVars v_) { // 속성 할당 RunP = rs; Pol = p; SM = sm; v = v_; //ResultVals = new Result(); }
protected void SetMonthlyResult(ProjParams p, ProjVars v) { if (p.ProjMth == 1) { MthlyVars = new List <object[]>(); List <object> names = new List <object>(); names.AddRange(GetObjNames(p)); names.AddRange(GetObjNames(v)); MthlyVars.Add(names.ToArray()); } List <object> vals = new List <object>(); vals.AddRange(GetObjValues(p)); vals.AddRange(GetObjValues(v)); MthlyVars.Add(vals.ToArray()); }