diff --git a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/51b23025-ef73-4443-b763-9755a60983ee.vsidx b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/8b86239a-abb3-40de-a73b-65249ddd420f.vsidx similarity index 57% rename from .vs/LonglslandExhibitionCenterAPI/FileContentIndex/51b23025-ef73-4443-b763-9755a60983ee.vsidx rename to .vs/LonglslandExhibitionCenterAPI/FileContentIndex/8b86239a-abb3-40de-a73b-65249ddd420f.vsidx index 94760ee..b6949c5 100644 Binary files a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/51b23025-ef73-4443-b763-9755a60983ee.vsidx and b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/8b86239a-abb3-40de-a73b-65249ddd420f.vsidx differ diff --git a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/965e7255-390f-442b-aca6-ae4368f02b42.vsidx b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/965e7255-390f-442b-aca6-ae4368f02b42.vsidx new file mode 100644 index 0000000..a362339 Binary files /dev/null and b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/965e7255-390f-442b-aca6-ae4368f02b42.vsidx differ diff --git a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/a082f7ef-6e77-4995-9baa-eac53b94f0c7.vsidx b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/a082f7ef-6e77-4995-9baa-eac53b94f0c7.vsidx new file mode 100644 index 0000000..a4cd8d5 Binary files /dev/null and b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/a082f7ef-6e77-4995-9baa-eac53b94f0c7.vsidx differ diff --git a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/af1f28ee-a80c-4568-bcf7-f15a33a1ede4.vsidx b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/af1f28ee-a80c-4568-bcf7-f15a33a1ede4.vsidx deleted file mode 100644 index 3a3448b..0000000 Binary files a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/af1f28ee-a80c-4568-bcf7-f15a33a1ede4.vsidx and /dev/null differ diff --git a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/bfe20f48-84d9-448c-86ab-d4a1ee820e7d.vsidx b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/bfe20f48-84d9-448c-86ab-d4a1ee820e7d.vsidx deleted file mode 100644 index 10b9c5a..0000000 Binary files a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/bfe20f48-84d9-448c-86ab-d4a1ee820e7d.vsidx and /dev/null differ diff --git a/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/e9c8a2d4-7025-4dcb-a21b-3eb10e244a10.vsidx b/.vs/LonglslandExhibitionCenterAPI/FileContentIndex/caa54d5d-8338-4e5f-9c4f-c54cec7448de.vsidx similarity index 100% rename from .vs/LonglslandExhibitionCenterAPI/FileContentIndex/e9c8a2d4-7025-4dcb-a21b-3eb10e244a10.vsidx rename to .vs/LonglslandExhibitionCenterAPI/FileContentIndex/caa54d5d-8338-4e5f-9c4f-c54cec7448de.vsidx diff --git a/.vs/LonglslandExhibitionCenterAPI/v17/.suo b/.vs/LonglslandExhibitionCenterAPI/v17/.suo index 3075420..98ecb80 100644 Binary files a/.vs/LonglslandExhibitionCenterAPI/v17/.suo and b/.vs/LonglslandExhibitionCenterAPI/v17/.suo differ diff --git a/.vs/LonglslandExhibitionCenterAPI/v17/HierarchyCache.v1.txt b/.vs/LonglslandExhibitionCenterAPI/v17/HierarchyCache.v1.txt index 5677602..838e6e0 100644 Binary files a/.vs/LonglslandExhibitionCenterAPI/v17/HierarchyCache.v1.txt and b/.vs/LonglslandExhibitionCenterAPI/v17/HierarchyCache.v1.txt differ diff --git a/DataService/DataService.csproj b/DataService/DataService.csproj index b6c8230..5344f3a 100644 --- a/DataService/DataService.csproj +++ b/DataService/DataService.csproj @@ -50,6 +50,7 @@ + diff --git a/DataService/api/export_carbon_trendData.cs b/DataService/api/export_carbon_trendData.cs new file mode 100644 index 0000000..c5a7c4b --- /dev/null +++ b/DataService/api/export_carbon_trendData.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DataService.api +{ + public class export_carbon_trendData + { + public string time { get; set; } + public decimal? EH { get; set; } + public decimal? carbon { get; set; } + } +} diff --git a/DataService/bin/Debug/DataService.dll b/DataService/bin/Debug/DataService.dll index 929ba68..a7fc922 100644 Binary files a/DataService/bin/Debug/DataService.dll and b/DataService/bin/Debug/DataService.dll differ diff --git a/DataService/bin/Debug/DataService.pdb b/DataService/bin/Debug/DataService.pdb index 9b1b517..528d605 100644 Binary files a/DataService/bin/Debug/DataService.pdb and b/DataService/bin/Debug/DataService.pdb differ diff --git a/DataService/obj/Debug/DataService.csproj.CoreCompileInputs.cache b/DataService/obj/Debug/DataService.csproj.CoreCompileInputs.cache index f2dc0a4..1765a0a 100644 --- a/DataService/obj/Debug/DataService.csproj.CoreCompileInputs.cache +++ b/DataService/obj/Debug/DataService.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -c3cf913734ddb361f6463ef3db77ddcaf8233bc9 +6017feb255b2d0674f29d5c15533bc86cfcc26f7 diff --git a/DataService/obj/Debug/DataService.dll b/DataService/obj/Debug/DataService.dll index 929ba68..a7fc922 100644 Binary files a/DataService/obj/Debug/DataService.dll and b/DataService/obj/Debug/DataService.dll differ diff --git a/DataService/obj/Debug/DataService.pdb b/DataService/obj/Debug/DataService.pdb index 9b1b517..528d605 100644 Binary files a/DataService/obj/Debug/DataService.pdb and b/DataService/obj/Debug/DataService.pdb differ diff --git a/LonglslandExhibitionCenter/Controllers/api/ExportCarbonTrendController.cs b/LonglslandExhibitionCenter/Controllers/api/ExportCarbonTrendController.cs new file mode 100644 index 0000000..e4d6075 --- /dev/null +++ b/LonglslandExhibitionCenter/Controllers/api/ExportCarbonTrendController.cs @@ -0,0 +1,188 @@ +using DataService.api; +using Newtonsoft.Json; +using NPOI.XWPF.UserModel; +using System; +using System.Collections.Generic; +using System.Configuration; +using System.IO; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Text; +using System.Web.Hosting; +using System.Web.Http; +using System.Web.Mvc; +using System.Web.Http.Results; // 添加对System.Web.Http.Results的引用 +using System.Net.Http.Headers; +using NPOI.SS.Formula; + +namespace LonglslandExhibitionCenter.Controllers.api +{ + /// + /// 碳排放-导出碳排放趋势 + /// + public class ExportCarbonTrendController : ApiController + { + DataService.BLL.electricity_data bll = new DataService.BLL.electricity_data(); + + public HttpResponseMessage Get() + { + try + { + var date_base = ConfigurationManager.AppSettings["MySQLDataBase"].ToString(); + var data = new List(); + var now = DateTime.Now; + var time_count = Convert.ToInt32(DateTime.Now.Month); + for (int i = 0; i < time_count; i++) + { + string sdate; + if (i == 0) + { + sdate = now.AddHours(-1).ToString("yyyy-MM-dd HH:00:00"); + } + else + { + sdate = now.AddMonths(-i + 1).ToString("yyyy-MM-01 00:00:00"); + //sdate = Convert.ToDateTime(sdate1).AddDays(-1).ToString("yyyy-MM-dd 00:00:00"); + } + var edate = now.AddMonths(-i).ToString("yyyy-MM-01 00:00:00"); + var etime = Convert.ToDateTime(edate).ToString("yyyyMM"); + var b = bll.IsExistsTable(date_base, "electricity_data_" + etime); + if (b == false) + { + bll.CreateTable(etime); + } + string stime = Convert.ToDateTime(sdate).ToString("yyyyMM"); + var c = bll.IsExistsTable(date_base, "electricity_data_" + stime); + if (c == false) + { + bll.CreateTable(stime); + } + var alist = bll.GetModelListDate(" EntireTime='" + sdate + "' and Reserve1='配电室低压'", stime); + var blist = bll.GetModelListDate(" EntireTime='" + edate + "' and Reserve1='配电室低压'", etime); + var model = new export_carbon_trendData() + { + time = DateTime.Now.AddMonths(-i).ToString("MM月"), + EH = Convert.ToDecimal(alist.Sum(x => x.EH) - blist.Sum(x => x.EH)), + carbon = Convert.ToDecimal(Math.Round(Convert.ToDouble(alist.Sum(x => x.EH) - blist.Sum(x => x.EH)) / 1000 * 0.5703, 3)) + }; + if (model.EH < 0) + { + model.EH = 0; + } + data.Add(model); + } + var adata = data.OrderBy(x => x.time).ToList(); + + // 1. 加载模板 + var templatePath = HostingEnvironment.MapPath("/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx"); + + // 使用单独的流加载模板 + using (var templateStream = File.OpenRead(templatePath)) + { + // 创建 XWPFDocument 实例 + using (var docStream = new MemoryStream()) + { + templateStream.CopyTo(docStream); + docStream.Position = 0; // 重置流的位置 + var doc = new XWPFDocument(docStream); + + // 3. 替换占位符 + ReplacePlaceholders(doc, adata); + + // 4. 生成内存中的字节流 + var memoryStream = new MemoryStream(); + doc.Write(memoryStream); + memoryStream.Position = 0; // 重置流的位置以便读取 + + HttpResponseMessage response = new HttpResponseMessage(System.Net.HttpStatusCode.OK); + + response.Content = new StreamContent(memoryStream); + response.Content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/docx"); + response.Content.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue("attachment") + { + FileName = $"{now.ToString("yyyy年")}长岛海洋生态文明展览馆碳排放统计报表.docx" + }; + return response; + } + } + } + catch (Exception ex) + { + HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(JsonConvert.SerializeObject(new { code = 500, msg = "失败:" + ex.Message }), Encoding.GetEncoding("UTF-8"), "application/json") }; + return result; + } + } + + private void ReplacePlaceholders(XWPFDocument doc, List data) + { + // 替换标题部分的占位符 + ReplaceTextInDocument(doc, "year-month", DateTime.Now.ToString("yyyy年MM月")); + ReplaceTextInDocument(doc, "electricity", data.Where(a => a.time == DateTime.Now.ToString("MM月")).FirstOrDefault().EH.ToString()); + ReplaceTextInDocument(doc, "carbon", data.Where(a => a.time == DateTime.Now.ToString("MM月")).FirstOrDefault().carbon.ToString()); + + // 替换表格中的数据 + var table = doc.Tables.First(); + if (table != null) + { + for (int i = 1; i < table.Rows.Count; i++) + { + var month_str = table.Rows[i].GetCell(0).GetText(); + if (month_str != "合计") + { + string month1 = month_str.Replace("月", ""); + month1 = month1.Length < 2 ? "0" + month1 + "月" : month1 + "月"; + var data_model = data.Where(a => a.time == month1).FirstOrDefault(); + if (data_model != null) + { + //table.Rows[i].GetCell(1).SetText(data_model.EH.ToString()); + //table.Rows[i].GetCell(2).SetText(data_model.carbon.ToString()); + SetTextWithFontAndSize(table.Rows[i].GetCell(1), data_model.EH.ToString(), "SimSun", 14); + SetTextWithFontAndSize(table.Rows[i].GetCell(2), data_model.carbon.ToString(), "SimSun", 14); + } + } + else + { + //table.Rows[i].GetCell(1).SetText(data.Sum(a => a.EH).ToString()); + //table.Rows[i].GetCell(2).SetText(data.Sum(a => a.carbon).ToString()); + SetTextWithFontAndSize(table.Rows[i].GetCell(1), data.Sum(a => a.EH).ToString(), "SimSun", 14); + SetTextWithFontAndSize(table.Rows[i].GetCell(2), data.Sum(a => a.carbon).ToString(), "SimSun", 14); + } + } + } + } + + private void SetTextWithFontAndSize(XWPFTableCell cell, string text, string fontName, int fontSize) + { + // 创建新的段落 + XWPFParagraph paragraph1 = cell.Paragraphs[0]; + + // 创建新的 Run + XWPFRun run = paragraph1.CreateRun(); + + // 设置字体和字号 + run.SetFontFamily(fontName, FontCharRange.None); // 设置字体 + run.FontSize = fontSize; // 设置字号大小 + + // 设置文本 + run.SetText(text); + } + + private void ReplaceTextInDocument(XWPFDocument doc, string placeholder, string replacement) + { + foreach (XWPFParagraph paragraph in doc.Paragraphs) + { + foreach (XWPFRun run in paragraph.Runs) + { + if (run.Text != null) + { + } + if (run.Text != null && run.Text.Contains(placeholder)) + { + run.SetText(run.Text.Replace(placeholder, replacement), 0); + } + } + } + } + } +} diff --git a/LonglslandExhibitionCenter/LonglslandExhibitionCenter.csproj b/LonglslandExhibitionCenter/LonglslandExhibitionCenter.csproj index 15c5fc6..0271abc 100644 --- a/LonglslandExhibitionCenter/LonglslandExhibitionCenter.csproj +++ b/LonglslandExhibitionCenter/LonglslandExhibitionCenter.csproj @@ -236,6 +236,7 @@ + @@ -340,6 +341,9 @@ + + Always + diff --git a/LonglslandExhibitionCenter/Properties/PublishProfiles/FolderProfile.pubxml.user b/LonglslandExhibitionCenter/Properties/PublishProfiles/FolderProfile.pubxml.user index 318adfb..62588c4 100644 --- a/LonglslandExhibitionCenter/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/LonglslandExhibitionCenter/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. <_PublishTargetUrl>F:\项目\长岛展览馆\发布文件 - True|2024-08-21T03:09:27.6586574Z;True|2024-08-19T10:17:16.4446095+08:00;True|2024-08-15T13:20:14.7663530+08:00;True|2024-08-14T10:07:28.2388461+08:00;True|2024-08-14T10:07:03.3134871+08:00;True|2024-08-14T10:06:43.4199921+08:00;True|2024-08-14T10:05:39.6303984+08:00;True|2024-08-14T10:00:18.4168360+08:00;True|2024-08-14T09:50:15.7791885+08:00;True|2024-08-11T20:53:54.5556138+08:00;True|2024-08-10T16:00:18.6655642+08:00;True|2024-08-10T10:41:02.8962798+08:00;True|2024-08-10T10:31:34.0807175+08:00;True|2024-08-10T10:11:01.4518697+08:00;True|2024-08-09T17:46:23.3977253+08:00;True|2024-08-09T14:57:51.6409237+08:00;True|2024-08-09T14:12:02.8124286+08:00;True|2024-08-09T13:57:09.6566238+08:00;True|2024-08-09T13:55:09.1957591+08:00;True|2024-08-09T13:53:12.0978886+08:00;True|2024-08-09T10:21:25.5364378+08:00;True|2024-08-08T17:30:17.0495176+08:00;True|2024-08-08T14:01:01.6427032+08:00;True|2024-08-08T10:26:20.9380493+08:00;True|2024-08-06T16:16:42.4971554+08:00;True|2024-04-15T08:46:26.1708600+08:00;True|2024-04-15T08:43:47.1675051+08:00;True|2024-03-20T09:52:41.5444999+08:00;True|2024-03-20T09:52:28.9463180+08:00;True|2024-03-19T16:26:27.2407972+08:00;True|2024-03-19T15:50:07.1464827+08:00;True|2024-03-14T15:48:46.0852411+08:00;True|2024-03-12T11:15:35.2934238+08:00;True|2024-03-07T16:29:08.9381292+08:00;True|2024-03-05T14:31:05.6269677+08:00;True|2024-03-04T14:37:08.7040845+08:00;True|2024-02-28T11:11:35.8506164+08:00; + True|2024-08-27T13:03:21.5928516Z;True|2024-08-21T11:09:27.6586574+08:00;True|2024-08-19T10:17:16.4446095+08:00;True|2024-08-15T13:20:14.7663530+08:00;True|2024-08-14T10:07:28.2388461+08:00;True|2024-08-14T10:07:03.3134871+08:00;True|2024-08-14T10:06:43.4199921+08:00;True|2024-08-14T10:05:39.6303984+08:00;True|2024-08-14T10:00:18.4168360+08:00;True|2024-08-14T09:50:15.7791885+08:00;True|2024-08-11T20:53:54.5556138+08:00;True|2024-08-10T16:00:18.6655642+08:00;True|2024-08-10T10:41:02.8962798+08:00;True|2024-08-10T10:31:34.0807175+08:00;True|2024-08-10T10:11:01.4518697+08:00;True|2024-08-09T17:46:23.3977253+08:00;True|2024-08-09T14:57:51.6409237+08:00;True|2024-08-09T14:12:02.8124286+08:00;True|2024-08-09T13:57:09.6566238+08:00;True|2024-08-09T13:55:09.1957591+08:00;True|2024-08-09T13:53:12.0978886+08:00;True|2024-08-09T10:21:25.5364378+08:00;True|2024-08-08T17:30:17.0495176+08:00;True|2024-08-08T14:01:01.6427032+08:00;True|2024-08-08T10:26:20.9380493+08:00;True|2024-08-06T16:16:42.4971554+08:00;True|2024-04-15T08:46:26.1708600+08:00;True|2024-04-15T08:43:47.1675051+08:00;True|2024-03-20T09:52:41.5444999+08:00;True|2024-03-20T09:52:28.9463180+08:00;True|2024-03-19T16:26:27.2407972+08:00;True|2024-03-19T15:50:07.1464827+08:00;True|2024-03-14T15:48:46.0852411+08:00;True|2024-03-12T11:15:35.2934238+08:00;True|2024-03-07T16:29:08.9381292+08:00;True|2024-03-05T14:31:05.6269677+08:00;True|2024-03-04T14:37:08.7040845+08:00;True|2024-02-28T11:11:35.8506164+08:00; @@ -82,10 +82,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121. 05/08/2024 00:05:28 - 08/21/2024 10:53:04 + 08/27/2024 16:21:01 - 08/21/2024 10:53:04 + 08/27/2024 16:21:01 11/19/2022 06:40:50 @@ -106,10 +106,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121. 08/13/2024 17:44:43 - 08/22/2024 08:47:34 + 08/27/2024 21:03:15 - 08/22/2024 08:47:34 + 08/27/2024 21:03:15 04/03/2022 22:02:06 @@ -378,6 +378,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121. 08/13/2024 17:44:44 + + 08/27/2024 17:56:50 + 08/13/2024 17:44:45 @@ -627,6 +630,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121. 08/13/2024 17:44:43 + + 08/27/2024 17:56:50 + 02/23/2024 18:15:19 @@ -646,7 +652,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. 08/13/2024 17:44:43 - 08/21/2024 11:09:23 + 08/27/2024 21:03:16 \ No newline at end of file diff --git a/LonglslandExhibitionCenter/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx b/LonglslandExhibitionCenter/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx new file mode 100644 index 0000000..5b4531a --- /dev/null +++ b/LonglslandExhibitionCenter/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx @@ -0,0 +1,61 @@ + 长岛海洋生态文明展览馆 + 碳排放统计报表 +2021年,烟台市提出打造`长岛国际零碳岛',组织专家团队进行了科学研究,规划成果在2023年联合国气候变化迪拜大会发布,目标是到2035年长岛全域实现净零排放。" +year-month,长岛海洋生态文明展览馆用电量为electricity千瓦时,二氧化碳排放量为carbon吨。 + 月份 + 用电量(kWh) + 碳排放量(tCO2) + 备注 + 1月 + + + + 2月 + + + + 3月 + + + + 4月 + + + + 5月 + + + + 6月 + + + + 7月 + + + + 8月 + + + + 9月 + + + + 10月 + + + + 11月 + + + + 12月 + + + + 合计 + + + + diff --git a/LonglslandExhibitionCenter/bin/DataService.dll b/LonglslandExhibitionCenter/bin/DataService.dll index 929ba68..a7fc922 100644 Binary files a/LonglslandExhibitionCenter/bin/DataService.dll and b/LonglslandExhibitionCenter/bin/DataService.dll differ diff --git a/LonglslandExhibitionCenter/bin/DataService.pdb b/LonglslandExhibitionCenter/bin/DataService.pdb index 9b1b517..528d605 100644 Binary files a/LonglslandExhibitionCenter/bin/DataService.pdb and b/LonglslandExhibitionCenter/bin/DataService.pdb differ diff --git a/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.dll b/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.dll index 9d4c2de..47d528b 100644 Binary files a/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.dll and b/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.dll differ diff --git a/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.pdb b/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.pdb index f7b4955..1d10e49 100644 Binary files a/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.pdb and b/LonglslandExhibitionCenter/bin/LonglslandExhibitionCenter.pdb differ diff --git a/LonglslandExhibitionCenter/bin/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx b/LonglslandExhibitionCenter/bin/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx new file mode 100644 index 0000000..5b4531a --- /dev/null +++ b/LonglslandExhibitionCenter/bin/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx @@ -0,0 +1,61 @@ + 长岛海洋生态文明展览馆 + 碳排放统计报表 +2021年,烟台市提出打造`长岛国际零碳岛',组织专家团队进行了科学研究,规划成果在2023年联合国气候变化迪拜大会发布,目标是到2035年长岛全域实现净零排放。" +year-month,长岛海洋生态文明展览馆用电量为electricity千瓦时,二氧化碳排放量为carbon吨。 + 月份 + 用电量(kWh) + 碳排放量(tCO2) + 备注 + 1月 + + + + 2月 + + + + 3月 + + + + 4月 + + + + 5月 + + + + 6月 + + + + 7月 + + + + 8月 + + + + 9月 + + + + 10月 + + + + 11月 + + + + 12月 + + + + 合计 + + + + diff --git a/LonglslandExhibitionCenter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/LonglslandExhibitionCenter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index f51ae25..e5ecd0f 100644 Binary files a/LonglslandExhibitionCenter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/LonglslandExhibitionCenter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.AssemblyReference.cache b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.AssemblyReference.cache index 09692c7..3d1bfcc 100644 Binary files a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.AssemblyReference.cache and b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.AssemblyReference.cache differ diff --git a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache index 2c98d5b..800af92 100644 --- a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache +++ b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -4b591e42a6dd7d138363b45be2e425a31b74a7b6 +dcca6df9edb39b80de334543423b2ffe45b3e4f9 diff --git a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt index 1645abe..6b52bcd 100644 --- a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt +++ b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt @@ -359,3 +359,4 @@ F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibition F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\System.Text.Encoding.CodePages.xml F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\System.Threading.Tasks.Extensions.xml F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\System.ValueTuple.xml +F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\Upload\长岛海洋生态文明展览馆碳排放统计报表.docx diff --git a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.dll b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.dll index 41a8003..6bbab64 100644 Binary files a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.dll and b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.dll differ diff --git a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.pdb b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.pdb index e9fae1a..e16caef 100644 Binary files a/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.pdb and b/LonglslandExhibitionCenter/obj/Debug/LonglslandExhibitionCenter.pdb differ diff --git a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.AssemblyReference.cache b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.AssemblyReference.cache index 6ab105f..24e2174 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.AssemblyReference.cache and b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.AssemblyReference.cache differ diff --git a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache index 22d42d8..4354ee3 100644 --- a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache +++ b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -1130d80daa9fc1cd10922448edfc6b9291466279 +50b9a3ad61bd81ee30edc846430d43764af1d686 diff --git a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt index ffbff6f..121d636 100644 --- a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt +++ b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.csproj.FileListAbsolute.txt @@ -359,3 +359,4 @@ F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibition F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\System.Text.Encoding.CodePages.xml F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\System.Threading.Tasks.Extensions.xml F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\System.ValueTuple.xml +F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\bin\Upload\长岛海洋生态文明展览馆碳排放统计报表.docx diff --git a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.dll b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.dll index 9d4c2de..47d528b 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.dll and b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.dll differ diff --git a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.pdb b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.pdb index f7b4955..1d10e49 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.pdb and b/LonglslandExhibitionCenter/obj/Release/LonglslandExhibitionCenter.pdb differ diff --git a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx new file mode 100644 index 0000000..5b4531a --- /dev/null +++ b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx @@ -0,0 +1,61 @@ + 长岛海洋生态文明展览馆 + 碳排放统计报表 +2021年,烟台市提出打造`长岛国际零碳岛',组织专家团队进行了科学研究,规划成果在2023年联合国气候变化迪拜大会发布,目标是到2035年长岛全域实现净零排放。" +year-month,长岛海洋生态文明展览馆用电量为electricity千瓦时,二氧化碳排放量为carbon吨。 + 月份 + 用电量(kWh) + 碳排放量(tCO2) + 备注 + 1月 + + + + 2月 + + + + 3月 + + + + 4月 + + + + 5月 + + + + 6月 + + + + 7月 + + + + 8月 + + + + 9月 + + + + 10月 + + + + 11月 + + + + 12月 + + + + 合计 + + + + diff --git a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.dll b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.dll index 929ba68..a7fc922 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.dll and b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.dll differ diff --git a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.pdb b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.pdb index 9b1b517..528d605 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.pdb and b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/DataService.pdb differ diff --git a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.dll b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.dll index 9d4c2de..47d528b 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.dll and b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.dll differ diff --git a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.pdb b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.pdb index f7b4955..1d10e49 100644 Binary files a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.pdb and b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/LonglslandExhibitionCenter.pdb differ diff --git a/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx new file mode 100644 index 0000000..5b4531a --- /dev/null +++ b/LonglslandExhibitionCenter/obj/Release/Package/PackageTmp/bin/Upload/长岛海洋生态文明展览馆碳排放统计报表.docx @@ -0,0 +1,61 @@ + 长岛海洋生态文明展览馆 + 碳排放统计报表 +2021年,烟台市提出打造`长岛国际零碳岛',组织专家团队进行了科学研究,规划成果在2023年联合国气候变化迪拜大会发布,目标是到2035年长岛全域实现净零排放。" +year-month,长岛海洋生态文明展览馆用电量为electricity千瓦时,二氧化碳排放量为carbon吨。 + 月份 + 用电量(kWh) + 碳排放量(tCO2) + 备注 + 1月 + + + + 2月 + + + + 3月 + + + + 4月 + + + + 5月 + + + + 6月 + + + + 7月 + + + + 8月 + + + + 9月 + + + + 10月 + + + + 11月 + + + + 12月 + + + + 合计 + + + + diff --git a/Security/bin/Debug/DataService.dll b/Security/bin/Debug/DataService.dll index 929ba68..a7fc922 100644 Binary files a/Security/bin/Debug/DataService.dll and b/Security/bin/Debug/DataService.dll differ diff --git a/Security/bin/Debug/DataService.pdb b/Security/bin/Debug/DataService.pdb index 9b1b517..528d605 100644 Binary files a/Security/bin/Debug/DataService.pdb and b/Security/bin/Debug/DataService.pdb differ diff --git a/Security/bin/Debug/ServiceSecurity.application b/Security/bin/Debug/ServiceSecurity.application index 56afb39..ce4ab52 100644 --- a/Security/bin/Debug/ServiceSecurity.application +++ b/Security/bin/Debug/ServiceSecurity.application @@ -14,7 +14,7 @@ - am/UoKx1xcbJZe2j6qPEiRFzkrkEoJm0CaKgQWbU5QI= + iv32QMruZnKNEzz+kjmmksq99mmjWfL88nEu1GZD+2g= diff --git a/Security/bin/Debug/ServiceSecurity.exe.manifest b/Security/bin/Debug/ServiceSecurity.exe.manifest index 0b43221..df4e3b2 100644 --- a/Security/bin/Debug/ServiceSecurity.exe.manifest +++ b/Security/bin/Debug/ServiceSecurity.exe.manifest @@ -42,14 +42,14 @@ - + - ofUi/SXQiFo/xrBGmLMyy2R9zKdk7aWMJ95SkwBIhCA= + a/nR4DV6YEQ/KwyHLMWEtpI6EpPcs7wguD1ag2UAtTg= diff --git a/Security/obj/Debug/Security.csproj.AssemblyReference.cache b/Security/obj/Debug/Security.csproj.AssemblyReference.cache index 900cfaa..c2dcdde 100644 Binary files a/Security/obj/Debug/Security.csproj.AssemblyReference.cache and b/Security/obj/Debug/Security.csproj.AssemblyReference.cache differ diff --git a/Security/obj/Debug/ServiceSecurity.application b/Security/obj/Debug/ServiceSecurity.application index 56afb39..ce4ab52 100644 --- a/Security/obj/Debug/ServiceSecurity.application +++ b/Security/obj/Debug/ServiceSecurity.application @@ -14,7 +14,7 @@ - am/UoKx1xcbJZe2j6qPEiRFzkrkEoJm0CaKgQWbU5QI= + iv32QMruZnKNEzz+kjmmksq99mmjWfL88nEu1GZD+2g= diff --git a/Security/obj/Debug/ServiceSecurity.exe.manifest b/Security/obj/Debug/ServiceSecurity.exe.manifest index 0b43221..df4e3b2 100644 --- a/Security/obj/Debug/ServiceSecurity.exe.manifest +++ b/Security/obj/Debug/ServiceSecurity.exe.manifest @@ -42,14 +42,14 @@ - + - ofUi/SXQiFo/xrBGmLMyy2R9zKdk7aWMJ95SkwBIhCA= + a/nR4DV6YEQ/KwyHLMWEtpI6EpPcs7wguD1ag2UAtTg= diff --git a/Supplement/bin/Debug/DataService.dll b/Supplement/bin/Debug/DataService.dll index 929ba68..a7fc922 100644 Binary files a/Supplement/bin/Debug/DataService.dll and b/Supplement/bin/Debug/DataService.dll differ diff --git a/Supplement/bin/Debug/DataService.pdb b/Supplement/bin/Debug/DataService.pdb index 9b1b517..528d605 100644 Binary files a/Supplement/bin/Debug/DataService.pdb and b/Supplement/bin/Debug/DataService.pdb differ diff --git a/Supplement/obj/Debug/Supplement.csproj.AssemblyReference.cache b/Supplement/obj/Debug/Supplement.csproj.AssemblyReference.cache index 3757c96..de2a2be 100644 Binary files a/Supplement/obj/Debug/Supplement.csproj.AssemblyReference.cache and b/Supplement/obj/Debug/Supplement.csproj.AssemblyReference.cache differ