예제 #1
0
        static void WriteWellHeader(ISheet sheet)
        {
            var header = sheet.CreateRow(0);
            int i      = 0;

            header.CreateCell(i).SetCellValue(Well.GetDisplayName(nameof(Well.Name)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.X)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Y)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Z)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Latitude)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Longitude)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.WellType)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Height)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Exists)));
            header.CreateCell(++i).SetCellValue(Well.GetDisplayName(nameof(Well.Bottom)));
        }