修改进度报表

This commit is contained in:
2023-05-15 09:59:34 +08:00
parent 1099969de5
commit c6979e492f
3 changed files with 44 additions and 42 deletions
@@ -183,8 +183,28 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
mSPI = mBCWP / mBCWS;
}
DataTable table2 = new DataTable();
//this.txt2.Text = "总体施工进度赢得值参数 BCWP" + BCWP.ToString("0.####") + " BCWS" + BCWS.ToString("0.####") + " ACWP" + ACWP.ToString("0.####") + "\r\n赢得值四个评价指标 CV" + CV.ToString("0.####") + " SV" + SV.ToString("0.####") + " CPI" + CPI.ToString("0.####") + " SPI" + SPI.ToString("0.####");
table2.Columns.Add(new DataColumn("Id", typeof(String)));
table2.Columns.Add(new DataColumn("BCWP", typeof(String)));
table2.Columns.Add(new DataColumn("BCWS", typeof(String)));
table2.Columns.Add(new DataColumn("ACWP", typeof(String)));
table2.Columns.Add(new DataColumn("CV", typeof(String)));
table2.Columns.Add(new DataColumn("SV", typeof(String)));
table2.Columns.Add(new DataColumn("CPI", typeof(String)));
table2.Columns.Add(new DataColumn("SPI", typeof(String)));
DataRow row2;
row2 = table2.NewRow();
row2[0] = SQLHelper.GetNewID();
row2[1] = BCWP.ToString("0.####");
row2[2] = BCWS.ToString("0.####");
row2[3] = ACWP.ToString("0.####");
row2[4] = CV.ToString("0.####");
row2[5] = SV.ToString("0.####");
row2[6] = CPI.ToString("0.####");
row2[7] = SPI.ToString("0.####");
table2.Rows.Add(row2);
this.Grid2.DataSource = table2;
this.Grid2.DataBind();
this.txt3.Text = "施工进度赢得值参数 BCWP" + mBCWP.ToString("0.####") + " BCWS" + mBCWS.ToString("0.####") + " ACWP" + mACWP.ToString("0.####") + "\r\n赢得值四个评价指标 CV" + mCV.ToString("0.####") + " SV" + mSV.ToString("0.####") + " CPI" + mCPI.ToString("0.####") + " SPI" + mSPI.ToString("0.####");