/// <summary> /// Добавить столбцы в таблицу минутных данных /// </summary> private void AddMinTableColumns(Table table) { Column colTemplate = table.Columns[1]; int colIndex = colTemplate.Index + 1; for (int i = 1, cnlCnt = cnlNums.Length; i < cnlCnt; i++) { Column col = colTemplate.Clone(); table.InsertColumn(colIndex, col); colIndex++; Cell valColCell = valColCellTemplate.Clone(); valColCell.DataNode.InnerText = string.Format(MinDataRepPhrases.ValColTitle, cnlNums[i]); dataHdrRow.AppendCell(valColCell); Cell emptyCell = valCellTemplate.Clone(); dateRowTemplate.AppendCell(emptyCell); Cell valCell = valCellTemplate.Clone(); dataRowTemplate.AppendCell(valCell); } }