Exemplo n.º 1
0
        public ModelBase(RunSettings rs, Policy p, ScenarioManager sm, ProjVars v_)
        {
            // 속성 할당
            RunP = rs;
            Pol  = p;
            SM   = sm;
            v    = v_;

            //ResultVals = new Result();
        }
Exemplo n.º 2
0
        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());
        }