示例#1
0
        List <BaseDataModel> GetFormulaModel()
        {
            List <BaseDataModel> result = new List <BaseDataModel>();

            for (int i = _formulaList.Count - 1; i >= 0; i--)
            {
                FormulaDataModel formula = new FormulaDataModel();
                formula.Create(_formulaList[i].FormulaID);
                result.Add(formula);
            }
            return(result);
        }