Commit 3521530f authored by 潘栩锋's avatar 潘栩锋 🚴

修复 DbViewer 导出 收卷 的 旋转塔电流(A) 出错。

parent f01f5668
...@@ -229,7 +229,7 @@ namespace FLY.Blowing.DbViewer.Core ...@@ -229,7 +229,7 @@ namespace FLY.Blowing.DbViewer.Core
ToSheet(sheet, dataTable); ToSheet(sheet, dataTable);
} }
void SaveToXlsxWinder(ExcelPackage p, DbProfilePack profilePack) void SaveToXlsxWinder(ExcelPackage p, DbProfilePack profilePack)
{ {
if (profilePack.WinderInfos == null || profilePack.WinderInfos.Count() == 0) if (profilePack.WinderInfos == null || profilePack.WinderInfos.Count() == 0)
...@@ -247,7 +247,7 @@ namespace FLY.Blowing.DbViewer.Core ...@@ -247,7 +247,7 @@ namespace FLY.Blowing.DbViewer.Core
dataTable.Columns.Add(new DataColumn() { ColumnName = "二牵引张力(Kg)", DataType = typeof(double), Caption = "0.0" }); dataTable.Columns.Add(new DataColumn() { ColumnName = "二牵引张力(Kg)", DataType = typeof(double), Caption = "0.0" });
dataTable.Columns.Add(new DataColumn() { ColumnName = "内收卷张力(Kg)", DataType = typeof(double), Caption = "0.0" }); dataTable.Columns.Add(new DataColumn() { ColumnName = "内收卷张力(Kg)", DataType = typeof(double), Caption = "0.0" });
dataTable.Columns.Add(new DataColumn() { ColumnName = "外收卷张力(Kg)", DataType = typeof(double), Caption = "0.0" }); dataTable.Columns.Add(new DataColumn() { ColumnName = "外收卷张力(Kg)", DataType = typeof(double), Caption = "0.0" });
dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔电流(Kg)", DataType = typeof(double), Caption = "0.0" }); dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔电流(A)", DataType = typeof(double), Caption = "0.0" });
dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔频率(Hz)", DataType = typeof(double), Caption = "0.0" }); dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔频率(Hz)", DataType = typeof(double), Caption = "0.0" });
dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔正转", DataType = typeof(bool)}); dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔正转", DataType = typeof(bool)});
dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔反转", DataType = typeof(bool)}); dataTable.Columns.Add(new DataColumn() { ColumnName = "旋转塔反转", DataType = typeof(bool)});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment