static IRow CreateAnalysisRow(ChemicalAnalysis analysis, ISheet sheet, int rowIndex, ICellStyle cellDateStyle) { var row = sheet.CreateRow(rowIndex); row.CreateCell(0).SetCellValue(analysis.WellName); var cell = row.CreateCell(1, CellType.Numeric); cell.SetCellValue(analysis.Date); cell.CellStyle = cellDateStyle; return(row); }
public MainWindowViewModel(IView view) : base(null) { SetView(view); ChemicalAnalysis.CreateParamtersDictionary(); Initialize(); }