Example #1
0
        private static IList <TechnologyGroupItem> GetTechnologies(int currentRow, int nextGroupRowNumber, string column, ExcelWorker worker)
        {
            var technologyGroupList = new List <TechnologyGroupItem>();

            for (int row = currentRow; row < nextGroupRowNumber; row++)
            {
                TechnologyGroupItem item = new TechnologyGroupItem();
                item.Technology = worker.GetAValue(row);
                item.Scale      = worker.GetValue(row, column);
                technologyGroupList.Add(item);
            }
            return(technologyGroupList);
        }
Example #2
0
 private static string GetTechnologyName(int currentRow, ExcelWorker worker)
 {
     return(worker.GetAValue(currentRow));
 }