예제 #1
0
        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);
        }
예제 #2
0
 public MainWindowViewModel(IView view) : base(null)
 {
     SetView(view);
     ChemicalAnalysis.CreateParamtersDictionary();
     Initialize();
 }