微調 月報表單位
This commit is contained in:
parent
8c096317e8
commit
ff84bd70a3
@ -432,7 +432,7 @@ namespace SolarPower.Controllers
|
|||||||
"日照小時(hr)",
|
"日照小時(hr)",
|
||||||
"有效發電小時",
|
"有效發電小時",
|
||||||
"PR%",
|
"PR%",
|
||||||
"累積日照量(kWh)",
|
"累積日照量(W/㎡)",
|
||||||
"日平均模組溫度(°C)"
|
"日平均模組溫度(°C)"
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -545,12 +545,13 @@ namespace SolarPower.Controllers
|
|||||||
cell.SetCellValue("裝置容量");
|
cell.SetCellValue("裝置容量");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
index++;
|
index++;
|
||||||
|
|
||||||
|
if (Formhead.Result.Data.ShowMoney == 1)
|
||||||
|
{
|
||||||
cell = row.CreateCell(index);
|
cell = row.CreateCell(index);
|
||||||
cell.SetCellValue("每度獲利");
|
cell.SetCellValue("每度獲利");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
index++;
|
index++;
|
||||||
if (Formhead.Result.Data.ShowMoney == 1)
|
|
||||||
{
|
|
||||||
cell = row.CreateCell(index);
|
cell = row.CreateCell(index);
|
||||||
cell.SetCellValue("售電金額(NTD)(月)");
|
cell.SetCellValue("售電金額(NTD)(月)");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
@ -590,12 +591,13 @@ namespace SolarPower.Controllers
|
|||||||
cell.SetCellValue(Convert.ToDouble(monthGeneratingCapacity));
|
cell.SetCellValue(Convert.ToDouble(monthGeneratingCapacity));
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
index++;
|
index++;
|
||||||
cell = row.CreateCell(index);
|
|
||||||
cell.SetCellValue(Math.Round(Convert.ToDouble(monthKWH)/Convert.ToDouble(monthGeneratingCapacity),3) );
|
|
||||||
cell.CellStyle = styleLine12;
|
|
||||||
index++;
|
|
||||||
if (Formhead.Result.Data.ShowMoney == 1)
|
if (Formhead.Result.Data.ShowMoney == 1)
|
||||||
{
|
{
|
||||||
|
cell = row.CreateCell(index);
|
||||||
|
cell.SetCellValue(Math.Round(Convert.ToDouble(monthmoney) / Convert.ToDouble(monthGeneratingCapacity), 3));
|
||||||
|
cell.CellStyle = styleLine12;
|
||||||
|
index++;
|
||||||
cell = row.CreateCell(index);
|
cell = row.CreateCell(index);
|
||||||
cell.SetCellValue(Convert.ToDouble(monthmoney));
|
cell.SetCellValue(Convert.ToDouble(monthmoney));
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
@ -1261,7 +1263,7 @@ namespace SolarPower.Controllers
|
|||||||
"日照小時(hr)",
|
"日照小時(hr)",
|
||||||
"有效發電小時",
|
"有效發電小時",
|
||||||
"PR%",
|
"PR%",
|
||||||
"累積日照量(kWh)",
|
"累積日照量(W/㎡)",
|
||||||
"日平均模組溫度(°C)"
|
"日平均模組溫度(°C)"
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -1374,12 +1376,13 @@ namespace SolarPower.Controllers
|
|||||||
cell.SetCellValue("裝置容量");
|
cell.SetCellValue("裝置容量");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
index++;
|
index++;
|
||||||
|
|
||||||
|
if (Formhead.Result.Data.ShowMoney == 1)
|
||||||
|
{
|
||||||
cell = row.CreateCell(index);
|
cell = row.CreateCell(index);
|
||||||
cell.SetCellValue("每度獲利");
|
cell.SetCellValue("每度獲利");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
index++;
|
index++;
|
||||||
if (Formhead.Result.Data.ShowMoney == 1)
|
|
||||||
{
|
|
||||||
cell = row.CreateCell(index);
|
cell = row.CreateCell(index);
|
||||||
cell.SetCellValue("月售電金額(NTD)");
|
cell.SetCellValue("月售電金額(NTD)");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
@ -1419,12 +1422,13 @@ namespace SolarPower.Controllers
|
|||||||
cell.SetCellValue(Convert.ToDouble(monthGeneratingCapacity));
|
cell.SetCellValue(Convert.ToDouble(monthGeneratingCapacity));
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
index++;
|
index++;
|
||||||
cell = row.CreateCell(index);
|
|
||||||
cell.SetCellValue(Math.Round(Convert.ToDouble(monthKWH) / Convert.ToDouble(monthGeneratingCapacity), 3));
|
|
||||||
cell.CellStyle = styleLine12;
|
|
||||||
index++;
|
|
||||||
if (Formhead.Result.Data.ShowMoney == 1)
|
if (Formhead.Result.Data.ShowMoney == 1)
|
||||||
{
|
{
|
||||||
|
cell = row.CreateCell(index);
|
||||||
|
cell.SetCellValue(Math.Round(Convert.ToDouble(monthmoney) / Convert.ToDouble(monthGeneratingCapacity), 3));
|
||||||
|
cell.CellStyle = styleLine12;
|
||||||
|
index++;
|
||||||
cell = row.CreateCell(index);
|
cell = row.CreateCell(index);
|
||||||
cell.SetCellValue(Convert.ToDouble(monthmoney));
|
cell.SetCellValue(Convert.ToDouble(monthmoney));
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
|
|||||||
@ -789,7 +789,7 @@
|
|||||||
str += "<th>日照小時(hr)</th>";
|
str += "<th>日照小時(hr)</th>";
|
||||||
str += "<th>有效發電小時</th>";
|
str += "<th>有效發電小時</th>";
|
||||||
str += "<th>PR%</th>";
|
str += "<th>PR%</th>";
|
||||||
str += "<th>累積日照量(kWh)</th>";
|
str += "<th>累積日照量(W/㎡)</th>";
|
||||||
str += "<th>日<br />平均<br />模組溫度<br />(°C)</th>";
|
str += "<th>日<br />平均<br />模組溫度<br />(°C)</th>";
|
||||||
if (rel.data.showMoney == 1) {
|
if (rel.data.showMoney == 1) {
|
||||||
str += "<th>日<br />售電金額<br />(NTD)</th>";
|
str += "<th>日<br />售電金額<br />(NTD)</th>";
|
||||||
@ -1033,8 +1033,9 @@
|
|||||||
stc += "<th>" + '發電量平均(kWh)(日)' + "</th>";
|
stc += "<th>" + '發電量平均(kWh)(日)' + "</th>";
|
||||||
stc += "<th>" + '發電量(kWh)(月)' + "</th>";
|
stc += "<th>" + '發電量(kWh)(月)' + "</th>";
|
||||||
stc += "<th>" + '裝置容量' + "</th>";
|
stc += "<th>" + '裝置容量' + "</th>";
|
||||||
stc += "<th>" + '每度獲利' + "</th>";
|
|
||||||
if (showmoney == 1) {
|
if (showmoney == 1) {
|
||||||
|
stc += "<th>" + '每度獲利' + "</th>";
|
||||||
stc += "<th>" + '售電金額(NTD)(月)' + "</th>";
|
stc += "<th>" + '售電金額(NTD)(月)' + "</th>";
|
||||||
stc += "<th>" + '售電單價(NTD)(月)' + "</th>";
|
stc += "<th>" + '售電單價(NTD)(月)' + "</th>";
|
||||||
}
|
}
|
||||||
@ -1060,9 +1061,9 @@
|
|||||||
stb += "<td>" + (avgdayKWH / monthday).toFixed(2) + "</td>";
|
stb += "<td>" + (avgdayKWH / monthday).toFixed(2) + "</td>";
|
||||||
stb += "<td>" + monthKWH + "</td>";
|
stb += "<td>" + monthKWH + "</td>";
|
||||||
stb += "<td>" + GeneratingCapacity + "</td>";
|
stb += "<td>" + GeneratingCapacity + "</td>";
|
||||||
stb += "<td>" + (monthKWH / GeneratingCapacity).toFixed(3) + "</td>";
|
|
||||||
if (showmoney == 1) {
|
|
||||||
|
|
||||||
|
if (showmoney == 1) {
|
||||||
|
stb += "<td>" + (monthmoney / GeneratingCapacity).toFixed(3) + "</td>";
|
||||||
stb += "<td>" + toThousands(Math.round(monthmoney)) + "</td>";
|
stb += "<td>" + toThousands(Math.round(monthmoney)) + "</td>";
|
||||||
stb += "<td>" + Math.round(monthmoneyone / monthday*10000)/10000 + "</td>";
|
stb += "<td>" + Math.round(monthmoneyone / monthday*10000)/10000 + "</td>";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user