diff --git a/Common/Epost.Common.csproj b/Common/Epost.Common.csproj
index 9e3fba7..f36da5b 100644
--- a/Common/Epost.Common.csproj
+++ b/Common/Epost.Common.csproj
@@ -70,6 +70,9 @@
..\packages\Portable.BouncyCastle.1.8.6\lib\net40\BouncyCastle.Crypto.dll
+
+ ..\DLL\FastReport.dll
+
..\packages\SharpZipLib.1.2.0\lib\net45\ICSharpCode.SharpZipLib.dll
@@ -112,6 +115,7 @@
+
diff --git a/Common/FastReportHelper.cs b/Common/FastReportHelper.cs
new file mode 100644
index 0000000..2936774
--- /dev/null
+++ b/Common/FastReportHelper.cs
@@ -0,0 +1,208 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using FastReport;
+using FastReport.Export.Pdf;
+namespace Epost.Common
+{
+ public class FastReportHelper
+ {
+ #region 打印方法(winform)
+ public static void Report_SKU(string filename, string batchid, string goodsname, string sku, string z_quantity, string quantity, string barcode, string z_unit, string unit, string block, string senddate, out Report reps/*,out MemoryStream strm1*/)
+ {
+ Report rep = null;
+ try
+ {
+ if (block != "总分")
+ {
+ block = block + "通道";
+ }
+ rep = new Report();
+ rep.Load(filename);//读取配置文件
+ rep.SetParameterValue("batchid", batchid); // p1参数名
+ rep.SetParameterValue("goodsname", goodsname); // p1参数名
+ rep.SetParameterValue("sku", sku); // p1参数名
+ rep.SetParameterValue("barcode", barcode); // p1参数名
+ rep.SetParameterValue("z_quantity", z_quantity); // p1参数名
+ rep.SetParameterValue("quantity", quantity); // p1参数名
+ rep.SetParameterValue("z_unit", z_unit); // p1参数名
+ rep.SetParameterValue("unit", unit); // p1参数名
+ rep.SetParameterValue("block", block); // p1参数名
+ rep.SetParameterValue("senddate", senddate); // p1参数名
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss开始打印\r\n"));
+ rep.Prepare();
+ rep.PrintSettings.ShowDialog = false;
+ rep.Print();
+ reps = rep;
+ }
+ catch (Exception ex)
+ {
+ reps = null;
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ex.ToString());
+ }
+
+ }
+#endregion
+
+
+ #region 打印方法(winform)
+ public static void Report_Box(string filename, string boxno, string shopid, string shopname, string barcode, string orderid, string city, string orderway, string totalcount, string printstate, string senddate, string loc, out Report reps/*,out MemoryStream strm1*/)
+ {
+ Report rep = null;
+ try
+ {
+ rep = new Report();
+ rep.Load(filename);//读取配置文件
+ rep.SetParameterValue("boxno", boxno); // p1参数名
+ rep.SetParameterValue("shopid", shopid); // p1参数名
+ rep.SetParameterValue("shopname", shopname); // p1参数名
+ rep.SetParameterValue("barcode", barcode); // p1参数名
+ rep.SetParameterValue("orderid", orderid); // p1参数名
+ rep.SetParameterValue("city", city); // p1参数名
+ rep.SetParameterValue("orderway", orderway); // p1参数名
+ rep.SetParameterValue("totalcount", totalcount); // p1参数名
+ rep.SetParameterValue("printstate", printstate); // p1参数名
+ rep.SetParameterValue("senddate", senddate); // p1参数名
+ rep.SetParameterValue("loc", loc); // p1参数名
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss开始打印\r\n"));
+ rep.Prepare();
+ rep.PrintSettings.ShowDialog = false;
+ rep.Print();
+ reps = rep;
+ }
+ catch (Exception ex)
+ {
+ reps = null;
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ex.ToString());
+ }
+
+ }
+ #endregion
+
+
+ #region 打印方法(winform)
+ public static void ReportSkuList(string filename, DataTable table, string boxcode, string boxno, string shopid, string shopname, string senddate, out Report reps/*,out MemoryStream strm1*/)
+ {
+ Report rep = null;
+ try
+ {
+ rep = new Report();
+ rep.Load(filename);//读取配置文件
+ // DataTable table = new DataTable();//设置DataTable
+ table.TableName = "RepList";//设置表名
+ rep.SetParameterValue("boxcode", boxcode); // p1参数名
+ rep.SetParameterValue("boxno", boxno); // p1参数名
+ rep.SetParameterValue("shopid", shopid); // p1参数名
+ rep.SetParameterValue("shopname", shopname); // p1参数名
+
+ rep.SetParameterValue("senddate", senddate); // p1参数名
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss开始打印\r\n"));
+ rep.RegisterData(table, "RepList");
+ rep.Prepare();
+ rep.PrintSettings.ShowDialog = false;
+ rep.Print();
+
+ reps = rep;
+ }
+ catch (Exception ex)
+ {
+ reps = null;
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ex.ToString());
+ }
+
+ }
+ #endregion
+
+
+ #region 打印方法DN(winform)
+ public static void ReportDNList(string filename, DataTable table, string orderwayname, string boxcount, string shopid, string shopname, string address, string city, string readtime, string senddate, string orderid, out Report reps/*,out MemoryStream strm1*/)
+ {
+ Report rep = null;
+ try
+ {
+ rep = new Report();
+ rep.Load(filename);//读取配置文件
+ // DataTable table = new DataTable();//设置DataTable
+
+ rep.SetParameterValue("shopid", shopid); // p1参数名
+ rep.SetParameterValue("shopname", shopname); // p1参数名
+ rep.SetParameterValue("orderwayname", orderwayname); // p1参数名
+ rep.SetParameterValue("boxcount", boxcount); // p1参数名
+ rep.SetParameterValue("address", address); // p1参数名
+ rep.SetParameterValue("lighttime", readtime); // p1参数名
+ rep.SetParameterValue("city", city); // p1参数名
+ rep.SetParameterValue("partcode", address); // p1参数名
+ rep.SetParameterValue("orderid", orderid); // p1参数名
+ var time = Convert.ToDateTime(senddate).ToString("yyyy/MM/dd");
+
+
+ rep.SetParameterValue("senddate", time.Replace("-", "/")); // p1参数名
+ table.TableName = "DNList";//设置表名
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss开始打印\r\n"));
+ rep.RegisterData(table, "DNList");
+ rep.Prepare();
+ rep.PrintSettings.ShowDialog = false;
+ rep.Print();
+ reps = rep;
+ }
+ catch (Exception ex)
+ {
+ reps = null;
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ex.ToString());
+ }
+
+ }
+ #endregion
+
+ #region 打印方法DN(winform)
+ public static void ReportDNList_PDF(string filename, DataTable table, string orderwayname, string boxcount, string shopid, string shopname, string address, string city, string readtime, string senddate, string orderid, out Report reps/*,out MemoryStream strm1*/)
+ {
+ Report rep = null;
+ try
+ {
+ string PDF_File = ConfigurationManager.AppSettings["PDF_File"] + "\\" + DateTime.Now.ToString("yyyyMMdd");
+ rep = new Report();
+ rep.Load(filename);//读取配置文件
+ // DataTable table = new DataTable();//设置DataTable
+
+ rep.SetParameterValue("shopid", shopid); // p1参数名
+ rep.SetParameterValue("shopname", shopname); // p1参数名
+ rep.SetParameterValue("orderwayname", orderwayname); // p1参数名
+ rep.SetParameterValue("boxcount", boxcount); // p1参数名
+ rep.SetParameterValue("address", address); // p1参数名
+ rep.SetParameterValue("lighttime", readtime); // p1参数名
+ rep.SetParameterValue("city", city); // p1参数名
+ rep.SetParameterValue("partcode", address); // p1参数名
+ rep.SetParameterValue("orderid", orderid); // p1参数名
+
+ rep.SetParameterValue("senddate", senddate); // p1参数名
+ table.TableName = "DNList";//设置表名
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss开始打印\r\n"));
+ rep.RegisterData(table, "DNList");
+ rep.Prepare();
+ //rep.PrintSettings.ShowDialog = false;
+ //rep.Print();
+ if (!Directory.Exists(PDF_File))
+ {
+ DirectoryInfo f = System.IO.Directory.CreateDirectory(PDF_File);
+
+ }
+ PDFExport expPdf = new PDFExport();
+ rep.Export(expPdf, PDF_File + "\\" + shopid + "_" + DateTime.Now.ToString("yyyyMMdd") + ".pdf");
+ reps = rep;
+ }
+ catch (Exception ex)
+ {
+ reps = null;
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ex.ToString());
+ }
+
+ }
+ #endregion
+ }
+}
diff --git a/DLL/FastReport.Bars.dll b/DLL/FastReport.Bars.dll
new file mode 100644
index 0000000..2b9b4fc
Binary files /dev/null and b/DLL/FastReport.Bars.dll differ
diff --git a/DLL/FastReport.Editor.dll b/DLL/FastReport.Editor.dll
new file mode 100644
index 0000000..b791036
Binary files /dev/null and b/DLL/FastReport.Editor.dll differ
diff --git a/DLL/FastReport.Service.dll b/DLL/FastReport.Service.dll
new file mode 100644
index 0000000..b0a2eba
Binary files /dev/null and b/DLL/FastReport.Service.dll differ
diff --git a/DLL/FastReport.VSDesign.dll b/DLL/FastReport.VSDesign.dll
new file mode 100644
index 0000000..bb538b6
Binary files /dev/null and b/DLL/FastReport.VSDesign.dll differ
diff --git a/DLL/FastReport.Web.dll b/DLL/FastReport.Web.dll
new file mode 100644
index 0000000..cdc6838
Binary files /dev/null and b/DLL/FastReport.Web.dll differ
diff --git a/DLL/FastReport.Web.xml b/DLL/FastReport.Web.xml
new file mode 100644
index 0000000..56409c7
--- /dev/null
+++ b/DLL/FastReport.Web.xml
@@ -0,0 +1,2671 @@
+
+
+
+ FastReport.Web
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Represents the Web Report.
+
+
+
+
+ Switches a visibility of RTF export in toolbar.
+
+
+
+
+ Gets or sets the quality of Jpeg images in RTF file.
+
+
+ Default value is 90. This property will be used if you select Jpeg
+ in the property.
+
+
+
+
+ Gets or sets the image format that will be used to save pictures in RTF file.
+
+
+ Default value is Metafile. This format is better for exporting such objects as
+ MSChartObject and ShapeObject.
+
+
+
+
+ Gets or sets a value indicating that pictures are enabled.
+
+
+
+
+ Gets or sets a value indicating that page breaks are enabled.
+
+
+
+
+ Gets or sets a value that determines whether the wysiwyg mode should be used
+ for better results.
+
+
+
+
+ Gets or sets the creator of the document.
+
+
+
+
+ Gets or sets a value that determines whether the rows in the resulting table
+ should calculate its height automatically.
+
+
+
+
+ Switches a visibility of MHT (web-archive) export in toolbar.
+
+
+
+
+ Gets or sets a value indicating that pictures are enabled.
+
+
+
+
+ Gets or sets a value that determines whether the wysiwyg mode should be used
+ for better results.
+
+
+
+
+ Switches a visibility of Open Office Spreadsheet (ODS) export in toolbar.
+
+
+
+
+ Gets or sets a value indicating that page breaks are enabled.
+
+
+
+
+ Gets or sets a value that determines whether the wysiwyg mode should be used
+ for better results.
+
+
+
+
+ Gets or sets the creator of the document.
+
+
+
+
+ Switches a visibility of Open Office Text (ODT) export in toolbar
+
+
+
+
+ Gets or sets a value indicating that page breaks are enabled.
+
+
+
+
+ Gets or sets a value that determines whether the wysiwyg mode should be used
+ for better results.
+
+
+
+
+ Gets or sets the creator of the document.
+
+
+
+
+ Switches a visibility of XPS export in toolbar.
+
+
+
+
+ Switches a visibility of DBF export in toolbar.
+
+
+
+
+ Switches a visibility of Word 2007 export in toolbar.
+
+
+
+
+ Enable or disable a matrix view of Word 2007 document.
+
+
+
+
+ Enable or disable the WYSIWYG for Word 2007 document.
+
+
+
+
+ Enable or disable a paragraph view of Word 2007 document.
+
+
+
+
+ Enable or disable the print optimized images in Word 2007 document.
+
+
+
+
+ Gets or sets a value of RowHeightIs Word 2007 document.
+
+
+
+
+ Switches a visibility of Excel 2007 export in toolbar.
+
+
+
+
+ Gets or sets a value indicating that page breaks are enabled.
+
+
+
+
+ Gets or sets a value indicating that table without breaks are enabled.
+
+
+
+
+ Enable or disable the print optimized images in Excel 2007 document.
+
+
+
+
+ Enable or disable the Print Fit in Excel 2007 document.
+
+
+
+
+ Gets or sets a value that determines whether the wysiwyg mode should be used
+ for better results.
+
+
+
+
+ Enable or disable an exporting data without any header/group bands.
+
+
+
+
+ Switches a visibility of PowerPoint 2007 export in toolbar.
+
+
+
+
+ Gets or sets an image format that will be used to save pictures in PowerPoint file.
+
+
+
+
+ Switches a visibility of XML (Excel) export in toolbar.
+
+
+
+
+ Gets or sets a value indicating that page breaks are enabled.
+
+
+
+
+ Gets or sets a value that determines whether the wysiwyg mode should be used
+ for better results.
+
+
+
+
+ Enable or disable an exporting data without any header/group bands.
+
+
+
+
+ Switches a visibility of PDF (Adobe Acrobat) export in toolbar.
+
+
+
+
+ Enable or disable an embedding the TrueType fonts.
+
+
+
+
+ Enable or disable an export text in curves.
+
+
+
+
+ Enable or disable an exporting of the background in PDF.
+
+
+
+
+ Enable or disable an optimization the images for printing.
+
+
+
+
+ Enable or disable a document's Outline.
+
+
+
+
+ Enable or disable a displaying document's title.
+
+
+
+
+ Enable or disable a hiding the toolbar.
+
+
+
+
+ Enable or disable a hiding the menu's bar.
+
+
+
+
+ Enable or disable a hiding the Windows UI.
+
+
+
+
+ Enable or disable a fitting the window.
+
+
+
+
+ Enable or disable a centering the window.
+
+
+
+
+ Enable or disable a scaling the page for shrink to printable area.
+
+
+
+
+ Sets the Title of the document.
+
+
+
+
+ Sets the Author of the document.
+
+
+
+
+ Sets the Subject of the document.
+
+
+
+
+ Sets the Keywords of the document.
+
+
+
+
+ Sets the Creator of the document.
+
+
+
+
+ Sets the Producer of the document.
+
+
+
+
+ Sets the users password.
+
+
+
+
+ Sets the owners password.
+
+
+
+
+ Enable or disable a printing in protected document.
+
+
+
+
+ Enable or disable a modifying in protected document.
+
+
+
+
+ Enable or disable a copying in protected document.
+
+
+
+
+ Enable or disable an annotating in protected document.
+
+
+
+
+ Enable or disable the PDF/A document.
+
+
+
+
+ Enable or disable a showing of Print Dialog.
+
+
+
+
+ Switch visibility the CSV (comma separated values) export in toolbar.
+
+
+
+
+ Gets or sets the cells separator.
+
+
+
+
+ Enable or disable an exporting data without any header/group bands.
+
+
+
+
+ Switch a visibility of prepared report export in toolbar
+
+
+
+
+ Switch a visibility of text (plain text) export in toolbar
+
+
+
+
+ Enable or disable an exporting data without any header/group bands.
+
+
+
+
+ Gets or sets a value indicating that page breaks are enabled.
+
+
+
+
+ Enable or disable the frames in text file.
+
+
+
+
+ Enable or disable the simple (non graphic) frames in text file.
+
+
+
+
+ Enable or disable an empty lines in text file.
+
+
+
+
+ Exports in CSV format.
+
+
+
+
+ Exports in CSV format.
+
+
+
+
+ Exports in Text format.
+
+
+
+
+ Exports in Text format.
+
+
+
+
+ Exports in DBF format.
+
+
+
+
+ Exports in DBF format.
+
+
+
+
+ Exports in PDF format.
+
+
+
+
+ Exports in PDF format.
+
+
+
+
+ Exports in PDF format.
+
+
+
+
+ Exports in PDF format inline.
+
+
+
+
+ Exports in HTML format inline.
+
+
+
+
+ Exports in RTF format.
+
+
+
+
+ Exports in RTF format.
+
+
+
+
+ Exports in MHT format.
+
+
+
+
+ Exports in MHT format.
+
+
+
+
+ Exports in XML (Excel 2003) format.
+
+
+
+
+ Exports in XML (Excel 2003) format.
+
+
+
+
+ Exports in Open Office Spreadsheet format.
+
+
+
+
+ Exports in Open Office Spreadsheet format.
+
+
+
+
+ Exports in Open Office Text format.
+
+
+
+
+ Exports in Open Office Text format.
+
+
+
+
+ Exports in XPS format.
+
+
+
+
+ Exports in XPS format.
+
+
+
+
+ Exports in Excel 2007 format.
+
+
+
+
+ Exports in Excel 2007 format.
+
+
+
+
+ Exports in Word 2007 format.
+
+
+
+
+ Exports in Word 2007 format.
+
+
+
+
+ Exports in PowerPoint 2007 format.
+
+
+
+
+ Exports in PowerPoint 2007 format.
+
+
+
+
+ Exports in prepared report.
+
+
+
+
+ Exports in prepared report.
+
+
+
+
+ Prints in Adobe Acrobat.
+
+
+
+
+ Prints in Adobe Acrobat.
+
+
+
+
+ Prints in Adobe Acrobat.
+
+
+
+
+ Prints in Adobe Acrobat.
+
+
+
+
+ Prints in browser.
+
+
+
+
+ Prints in browser.
+
+
+
+
+ Used only if layers mode is off
+
+
+
+
+ Used only if layers mode is off
+
+
+
+
+ Enable or disable inline object registration
+
+
+
+
+
+
+
+
+
+ Enable or disable using of external jQuery library
+
+
+
+
+ Enable or disable layers mode visualisation
+
+
+
+
+ Gets or sets Padding of Report section
+
+
+
+
+ Timeout in seconds for automatic refresh of report. Zero value disable auto-refresh.
+
+
+
+
+ Delay in cache in minutes
+
+
+
+
+ Priority of items in cache
+
+
+
+
+ Enable or disable the multiple instances environment
+
+
+
+
+ Enable the Report Designer
+
+
+
+
+ Enable code editor in the Report Designer
+
+
+
+
+ Gets or sets path to the Report Designer
+
+
+
+
+ Gets or sets path to a folder for save designed reports
+ If value is empty then designer posts saved report in variable ReportFile on call the DesignerSaveCallBack
+
+
+
+
+ Gets or sets path to callback page after Save from Designer
+
+
+
+
+ Gets or sets the locale of Designer
+
+
+
+
+ Gets or sets the text of configuration of Online Designer
+
+
+
+
+ Report Resource String
+
+
+
+
+ Gets or sets report data source(s).
+
+
+ To pass several datasources, use ';' delimiter, for example:
+ "sqlDataSource1;sqlDataSource2"
+
+
+
+
+ Switches the pictures visibility in report
+
+
+
+
+ Enables or disables embedding pictures in HTML (inline HTML5 images).
+
+
+
+
+ Switches the pages layout between multiple pages (false) and single page (true).
+
+
+
+
+ Gets or sets the name of report file.
+
+
+
+
+ Gets or sets the default path for reports (including inherited).
+
+
+
+
+ Gets or sets the name of localization file.
+
+
+
+
+ Sets the zoom scale factor of previewed page between 0..1f.
+
+
+
+
+ Sets the zoom mode of previewed page.
+
+
+
+
+ Enables or disables showing the report after call Prepare.
+
+
+
+
+ Enables or disables showing any debug information on errors.
+
+
+
+
+ Gets or sets the log file path.
+
+
+
+
+ Enables or disables unlimited width of report pages. This options overrides the report page property value
+ when it set to true.
+
+
+
+
+ Enables or disables unlimited height of report pages. This options overrides the report page property value
+ when it set to true.
+
+
+
+
+ Enables or disables showing the report dialogs.
+
+
+
+
+ Sets the toolbar style - small or large.
+
+
+
+
+ Sets the toolbar icons style.
+
+
+
+
+ Sets the toolbar background style.
+
+
+
+
+ Switches the toolbar visibility.
+
+
+
+
+ Switches the bottom toolbar visibility.
+
+
+
+
+ Sets the path to the custom buttons on site.
+
+
+ Pictures should be named:
+ Checkbox.gif, Progress.gif, toolbar.png, toolbar_background.png, toolbar_big.png, toolbar_disabled.png, toolbar_disabled.png
+
+
+
+
+ Switches the visibility of Exports in toolbar.
+
+
+
+
+ Switches the visibility of Print button in toolbar.
+
+
+
+
+ Switches the visibility of First Button in toolbar.
+
+
+
+
+ Switches the visibility of Previous Button in toolbar.
+
+
+
+
+ Switches the visibility of Next Button in toolbar.
+
+
+
+
+ Switches the visibility of Last Button in toolbar.
+
+
+
+
+ Switches the visibility of Zoom in toolbar.
+
+
+
+
+ Switches the visibility of Refresh in toolbar.
+
+
+
+
+ Switches the visibility of Page Number in toolbar.
+
+
+
+
+ Switches the visibility of closing buttons for Tabs.
+
+
+
+
+ Switches the visibility of Back buttons.
+
+
+
+
+ Selects the position of tabs.
+
+
+
+
+ Sets the Toolbar background color.
+
+
+
+
+ Switches the outline visibility.
+
+
+
+
+ Enable or disable print in PDF.
+
+
+
+
+ Enable or disable print in browser.
+
+
+
+
+ Sets the width of print window.
+
+
+
+
+ Sets the height of print window.
+
+
+
+
+ Direct access to the Properties of report object.
+
+
+
+
+ Direct access to the Tabs.
+
+
+
+
+ Gets or sets the current tab index.
+
+
+
+
+ Gets the current tab.
+
+
+
+
+
+
+
+
+
+ Enables the preview mode for working together the Online Designer.
+
+
+
+
+ Direct access to Report object.
+
+
+
+
+ Gets total pages of current report.
+
+
+
+
+ Gets or sets current state of report.
+
+
+
+
+ Returns true when report done. This property may be set in true for forcing load the prepared report.
+
+
+
+
+ Gets or sets number of current page.
+
+
+
+
+ Gets or sets guid of report.
+
+
+
+
+ Gets or sets the request headers.
+
+
+
+
+ Gets or sets the response headers.
+
+
+
+
+ Occurs when report execution is started.
+
+
+
+
+ Occurs when designed report saving is started.
+
+
+
+
+ Occurs when report drawing is started.
+
+
+
+
+ Runs the OnCustomDraw event.
+
+ CustomDrawEventArgs object.
+
+
+
+ Runs the StartReport event.
+
+ EventArgs object.
+
+
+
+ Runs the SaveDesignedReport event.
+
+ SaveDesignedReportEventArgs object.
+
+
+
+ Forces going to the next report page.
+
+
+
+
+ Forces going to the previous report page.
+
+
+
+
+ Forces going to the first report page.
+
+
+
+
+ Forces going to the last report page.
+
+
+
+
+ Forces going to the "value" report page.
+
+
+
+
+ Prepares the report.
+
+
+
+
+ Forces refreshing of report.
+
+
+
+
+ Adds the new report tab.
+
+
+
+
+
+
+
+ Adds the new report tab.
+
+
+
+
+
+
+ Adds the new report tab.
+
+
+
+
+
+
+
+
+ Adds the new report tab.
+
+
+
+
+
+
+
+
+
+ Registers the ASP.NET application data to use it in the report.
+
+ The Report object.
+ The application data.
+ The name of the data.
+
+
+
+ Registers the ASP.NET application data to use it in the report.
+
+ The Report object.
+ The application data.
+ The name of the data.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns the HTML code of report preview control.
+
+ HtmlString object.
+
+
+
+ Returns the code "" for registration the necessary js libraries.
+
+ HtmlString object.
+
+
+
+ Returns the code for registration the necessary CSS.
+
+ HtmlString object.
+
+
+
+ Sets the size of WebReport object.
+
+ Width of WebReport.
+ Height of WebReport.
+ WebReport object.
+
+
+
+ Sets the StartReport event handler.
+
+ Event handler.
+ WebReport object.
+
+
+
+ Sets the CustomDraw event handler.
+
+ Event handler.
+ WebReport object.
+
+
+
+ Register the DataSet in report dictionary.
+
+ DataSet object.
+ Name for the registered data.
+ WebReport object.
+
+
+
+ Registers the DataRelation in report dictionary.
+
+ DataRelation object.
+ Name for the registered data.
+ WebReport object.
+
+
+
+ Register the DataSet in report dictionary.
+
+ DataSet object.
+ WebReport object.
+
+
+
+ Registers the DataTable in report dictionary.
+
+ DataTable object.
+ Name for the registered data.
+ WebReport object.
+
+
+
+ Registers the DataView in report dictionary.
+
+ DataView object.
+ Name for the registered data.
+ WebReport object.
+
+
+
+ Registers the IEnumerable in report dictionary.
+
+ IEnumerable data.
+ Name for the registered data.
+ WebReport object.
+
+
+
+ Loads the report from file.
+
+ File Name.
+ WebReport object.
+
+
+
+ Loads the report from stream.
+
+ Stream object.
+ WebReport object.
+
+
+
+ Loads the prepared report from file. Also the property will be enabled and
+ will be disabled.
+
+ File Name.
+ WebReport object.
+
+
+
+ Loads the prepared report from stream. Also the property will be enabled and
+ will be disabled.
+
+ Stream object.
+ WebReport object.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Enable registration of JS/CSS footprint inline.
+
+
+
+ Initializes a new instance of the class.
+
+ Enable registration of JS/CSS footprint inline.
+ Creates the control with 100% width and height.
+
+
+
+ Gets the stream with serialized properties data.
+
+ Stream object.
+
+
+
+ Gets the stream with serialized report data.
+
+ Stream object.
+
+
+
+ Gets the stream with serialized prepared report data.
+
+ Stream object.
+
+
+
+ Loads the serialized properties data from stream.
+
+ Stream object.
+
+
+
+ Loads the serialized report data from stream.
+
+ Stream object.
+
+
+
+ Loads the serialized prepared report data from stream.
+
+ Stream object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web handler class
+
+
+ Web handler class
+
+
+
+
+ You will need to configure this handler in the web.config file of your
+ web and register it with IIS before being able to use it. For more information
+ see the following link: http://go.microsoft.com/?linkid=8101007
+
+
+
+
+
+
+
+
+
+ Process Request
+
+
+
+
+
+ Class for export item description
+
+
+
+
+ Binary data of exported files
+
+
+
+
+ Name of exported file
+
+
+
+
+ Format of exported file
+
+
+
+
+ MIME type of exported file
+
+
+
+
+ Represents the static class WebReportGlobals with necessary methods for using in MVC environment.
+
+
+
+
+ Returns the code for registration the necessary scripts with jQuery.
+
+ HtmlString object.
+
+
+
+ Returns the code for registration the necessary scripts without jQuery.
+
+ HtmlString object.
+
+
+
+ Returns the code for registration the necessary CSS.
+
+ HtmlString object.
+
+
+
+ Returns the code for registration the necessary CSS without jQuery styles.
+
+ HtmlString object.
+
+
+
+ Returns the string with code for registration the necessary scripts with jQuery.
+
+ String object.
+
+
+
+ Returns the string with code for registration the necessary scripts without jQuery.
+
+ String object.
+
+
+
+ Returns the string with code for registration the necessary CSS with jQuery.
+
+ String object.
+
+
+
+ Returns the string with code for registration the necessary CSS without jQuery.
+
+ String object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tab position enum
+
+
+
+
+ Tabs inside toolbar
+
+
+
+
+ Tabs under toolbar
+
+
+
+
+ Tabs are hidden
+
+
+
+
+ Event arguments for Save report from Designer
+
+
+
+
+ Contain the stream with designed report
+
+
+
+
+ Zoom mode enum
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Report states enum
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ WebReport Properies class
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Enable or disable showing of Print Dialog
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Assigns another object values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Describes sizes of Toolbar enum
+
+
+
+
+ Small size toolbar
+
+
+
+
+ Big size toolbar
+
+
+
+
+ Toolbar Icons Styles
+
+
+
+
+ Red Icons
+
+
+
+
+ Green Icons
+
+
+
+
+ Blue Icons
+
+
+
+
+ Black Icons
+
+
+
+
+ Custom Icons
+
+
+
+
+ Toolbar Background Styles.
+
+
+
+
+ Transparent background.
+
+
+
+
+ Light background.
+
+
+
+
+ Medium dark background.
+
+
+
+
+ Dark background.
+
+
+
+
+ Custom background.
+
+
+
+
+ Web Toolbar
+
+
+
+
+ Gets or sets the background color.
+
+
+
+
+ Gets or sets current tab index
+
+
+
+
+ Enable or disable fitting
+
+
+
+
+ Report properties
+
+
+
+
+ Current report
+
+
+
+
+ Registration of scripts and styles in ClientScript
+
+
+
+
+
+
+
+
+ Gets Inline Registration as string
+
+
+
+
+
+ Gets CSS of toolbar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor of WebToolbar
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Contain the filename of httphandler
+
+
+
+
+ Determines whether the path is an absolute physical path.
+
+ The path to check.
+ true if the path is absolute physical path.
+
+
+
+
+
+
+
+
+
+
+ Returns the HTML color representation;
+
+
+
+
+
+
+ Check http handlers in web.config
+
+
+
+
+
+ Add http handlers in web.config
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IE8 and older browsers detection.
+
+
+
+
+
+
+ Add NoCache haders in Context.Reponse
+
+
+
+
+
+ Converts Color in HTML format with transparency.
+
+
+
+
+
+
diff --git a/DLL/FastReport.dll b/DLL/FastReport.dll
new file mode 100644
index 0000000..b317cf0
Binary files /dev/null and b/DLL/FastReport.dll differ
diff --git a/DLL/FastReportWebApi.dll b/DLL/FastReportWebApi.dll
new file mode 100644
index 0000000..63fcb6a
Binary files /dev/null and b/DLL/FastReportWebApi.dll differ
diff --git a/DLL/FastReportWebApi.dll.config b/DLL/FastReportWebApi.dll.config
new file mode 100644
index 0000000..c076489
--- /dev/null
+++ b/DLL/FastReportWebApi.dll.config
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Epost.BLL/AddressstorageBLL.cs b/Epost.BLL/AddressstorageBLL.cs
index 9cfeb62..bb6d952 100644
--- a/Epost.BLL/AddressstorageBLL.cs
+++ b/Epost.BLL/AddressstorageBLL.cs
@@ -190,6 +190,13 @@ namespace Epost.BLL
}
#endregion
+ #region 获取所有小区
+ public List GetOrderWayList(string block = "", string shelfid = "")
+ {
+ return dal.GetOrderWayList(block, shelfid);
+ }
+ #endregion
+
#region 获取所有小区
public List GetshelfidList(string block = "")
{
diff --git a/Epost.BLL/CommandBLL.cs b/Epost.BLL/CommandBLL.cs
index 47b21af..aabf18c 100644
--- a/Epost.BLL/CommandBLL.cs
+++ b/Epost.BLL/CommandBLL.cs
@@ -30,63 +30,63 @@ namespace Epost.BLL
public ResultModel Initialization_T(bool isback = true)
{
ResultModel resultModel = new ResultModel();
- //List list = new List();
- //try
- //{
- // DataTable dt = addrBLL.getControlList();
- // bool result = false;
- // if (dt != null && dt.Rows.Count > 0)
- // {
- // foreach (DataRow item in dt.Rows)
- // {
- // LabelParamModel model = new LabelParamModel();
- // model.ControlIP = item["ControlIP"].ToString();
- // model.Address = "9999";
- // model.Command = "FORMAT_JOB_DATA";
- // model.Parameter = "50";
- // model.Timeout = "0.5";
- // list.Add(model);
- // model = new LabelParamModel();
- // model.ControlIP = item["ControlIP"].ToString();
- // model.Address = "9999";
- // model.Command = "CONNECT";
- // model.Parameter = IP;
- // model.Timeout = "0.5";
- // list.Add(model);
- // model = new LabelParamModel();
- // model.ControlIP = item["ControlIP"].ToString();
- // model.Address = "9999";
- // model.Parameter = "11111000";
- // model.Command = "UNLOCK";
- // model.Timeout = "0.5";
- // list.Add(model);
- // model = new LabelParamModel();
- // model.ControlIP = item["ControlIP"].ToString();
- // model.Address = "9999";
- // model.Command = "LED_OFF";
- // model.Timeout = "0.5";
- // list.Add(model);
+ List list = new List();
+ try
+ {
+ DataTable dt = addrBLL.getControlList();
+ bool result = false;
+ if (dt != null && dt.Rows.Count > 0)
+ {
+ foreach (DataRow item in dt.Rows)
+ {
+ LabelParamModel model = new LabelParamModel();
+ model.ControlIP = item["ControlIP"].ToString();
+ model.Address = "9999";
+ model.Command = "FORMAT_JOB_DATA";
+ model.Parameter = "50";
+ model.Timeout = "0.5";
+ list.Add(model);
+ model = new LabelParamModel();
+ model.ControlIP = item["ControlIP"].ToString();
+ model.Address = "9999";
+ model.Command = "CONNECT";
+ model.Parameter = IP;
+ model.Timeout = "0.5";
+ list.Add(model);
+ model = new LabelParamModel();
+ model.ControlIP = item["ControlIP"].ToString();
+ model.Address = "9999";
+ model.Parameter = "11111000";
+ model.Command = "UNLOCK";
+ model.Timeout = "0.5";
+ list.Add(model);
+ model = new LabelParamModel();
+ model.ControlIP = item["ControlIP"].ToString();
+ model.Address = "9999";
+ model.Command = "LED_OFF";
+ model.Timeout = "0.5";
+ list.Add(model);
- // }
- // if (list.Any())
- // {
- // resultModel = SendALL_Init(list);
- // }
+ }
+ if (list.Any())
+ {
+ resultModel = SendALL_Init(list);
+ }
- // }
- // return resultModel;
+ }
+ return resultModel;
- //}
- //catch (Exception ex)
- //{
+ }
+ catch (Exception ex)
+ {
- // resultModel.result = "0";
- // resultModel.msg = "初始化失败!";
- // LogHelper.WriteLogInfo("初始化异常:" + ex.Message);
+ resultModel.result = "0";
+ resultModel.msg = "初始化失败!";
+ LogHelper.WriteLogInfo("初始化异常:" + ex.Message);
- //}
- resultModel.result = "0";
- resultModel.msg = "成功";
+ }
+ //resultModel.result = "0";
+ //resultModel.msg = "成功";
return resultModel;
}
#endregion
diff --git a/Epost.BLL/SkuInfoBLL.cs b/Epost.BLL/SkuInfoBLL.cs
index 76ceb7d..9170d6d 100644
--- a/Epost.BLL/SkuInfoBLL.cs
+++ b/Epost.BLL/SkuInfoBLL.cs
@@ -14,30 +14,30 @@ namespace Epost.BLL
WmsTaskBLL taskbll = new WmsTaskBLL();
public DataTable GetSkuInfoList(string sku)
{
- if (sku.Substring(0, 1) == "2")
- {
- if (sku.Substring(1, 1) == "5")
- {
- if (sku.Length >= 7)
- {
- sku = sku.Substring(2, 6);
- }
- }
- else
- {
- if (sku.Length >= 7)
- {
- sku = sku.Substring(1, 6);
- }
- }
- return dal.GetSkuInfo(sku);
- }
- else
- {
- return dal.GetSkuInfoList(sku);
- }
-
+ //if (sku.Substring(0, 1) == "2")
+ //{
+ // if (sku.Substring(1, 1) == "5")
+ // {
+ // if (sku.Length >= 7)
+ // {
+ // sku = sku.Substring(2, 6);
+ // }
+ // }
+ // else
+ // {
+ // if (sku.Length >= 7)
+ // {
+ // sku = sku.Substring(1, 6);
+ // }
+ // }
+ // return dal.GetSkuInfo(sku);
+ //}
+ //else
+ //{
+ // return dal.GetSkuInfoList(sku);
+ //}
+ return dal.GetSkuInfoList(sku);
}
diff --git a/Epost.BLL/Work_ScanThread.cs b/Epost.BLL/Work_ScanThread.cs
index cc32840..561b5c1 100644
--- a/Epost.BLL/Work_ScanThread.cs
+++ b/Epost.BLL/Work_ScanThread.cs
@@ -409,8 +409,8 @@ namespace Epost.BLL
#region 扫描SKU
//根据扫描商品内码获取商品码
data.ScanCode = data.Parameter;
- DataTable sinfodt = skuBLL.GetSkuInfoList(data.Parameter);
- string location = string.Empty;
+ DataTable sinfodt = skuBLL.GetSkuInfoList(data.Parameter);
+ string location = string.Empty;
if (sinfodt != null && sinfodt.Rows.Count > 0)
{
scanStr = sinfodt.Rows[0]["sku"].ToString();
@@ -510,7 +510,7 @@ namespace Epost.BLL
//show.Islock = false;
//comBLL.ShowBoxMessage_M(show);
//downCacheDAL.UpdateJobDownModelList(new List { data }, EdownCommend.Execute);
- logBLL.SaveShowMesError("商品:" + scanStr + "无任务!", "商品:" + scanStr + "无任务!");
+ logBLL.SaveShowMesError("商品:" + data.ScanCode + "无任务!", "商品:" + data.ScanCode + "无任务!");
}
diff --git a/Epost.DAL/AddressstorageDAL.cs b/Epost.DAL/AddressstorageDAL.cs
index 11dc56e..e1ca2a4 100644
--- a/Epost.DAL/AddressstorageDAL.cs
+++ b/Epost.DAL/AddressstorageDAL.cs
@@ -288,6 +288,26 @@ namespace Epost.DAL
}
#endregion
+ #region 获取所有小区
+ public List GetOrderWayList(string block, string shelfid)
+ {
+ string strwhere = string.Empty;
+ if (!string.IsNullOrEmpty(block))
+ {
+ strwhere += "and block ='" + block + "'";
+ }
+
+ if (!string.IsNullOrEmpty(shelfid))
+ {
+ strwhere += "and shelfid ='" + shelfid + "'";
+ }
+ string sql = string.Format("select area,block,way from Addressstorage where type=1 " + strwhere + " group by area,block,way");
+ DataTable dt = db.GetsqlForDT(sql);
+
+ return ModelConvertHelper.ConvertToList(dt);
+ }
+ #endregion
+
#region 获取所有小区
public List GetshelfidList(string block)
{
diff --git a/Epost.DAL/OrdersDAL.cs b/Epost.DAL/OrdersDAL.cs
index 7e9ca7c..b836394 100644
--- a/Epost.DAL/OrdersDAL.cs
+++ b/Epost.DAL/OrdersDAL.cs
@@ -49,7 +49,7 @@ namespace Epost.DAL
{
strwhere += "and info= '" + usercode + "'";
}
-
+
string sql = string.Empty;
if (!string.IsNullOrEmpty(area))
{
diff --git a/Epost.DAL/Print_BoxDAL.cs b/Epost.DAL/Print_BoxDAL.cs
index 3c20e76..7679fbf 100644
--- a/Epost.DAL/Print_BoxDAL.cs
+++ b/Epost.DAL/Print_BoxDAL.cs
@@ -22,7 +22,7 @@ namespace Epost.DAL
{
strwhere = strwhere + " and block='" + block + "'";
}
- string sql = string.Format("select id, orderid, city , fdate , boxcode, shopname, shopid, orderway, boxno,isnull(totalcount,0) as totalcount , warehouseid, state,block,printstate,senddate,loc from print_box where state=0 " + strwhere + " order by id");
+ string sql = string.Format("select id, orderid, city , fdate , boxcode, shopname, shopid, orderway, boxno,isnull(totalcount,0) as totalcount , warehouseid, state,block,printstate,senddate,loc,matchid from print_box where state=0 " + strwhere + " order by id");
return db.GetsqlForDT(sql);
}
catch (Exception ex)
diff --git a/Epost.DAL/SkuInfoDAL.cs b/Epost.DAL/SkuInfoDAL.cs
index 406986a..d105965 100644
--- a/Epost.DAL/SkuInfoDAL.cs
+++ b/Epost.DAL/SkuInfoDAL.cs
@@ -14,7 +14,7 @@ namespace Epost.DAL
public DataTable GetSkuInfoList(string sku)
{
- string sql = string.Format(" SELECT * FROM skuinfo WHERE (CHARINDEX('{0}',location)>0) or sku='{1}'",
+ string sql = string.Format(" SELECT top 1 * FROM orders WHERE (CHARINDEX('{0}',barcode)>0) or sku='{1}'",
sku, sku);
diff --git a/Epost.TestToolsWeb/Properties/PublishProfiles/Toolsweb.pubxml.user b/Epost.TestToolsWeb/Properties/PublishProfiles/Toolsweb.pubxml.user
index f07cfe1..5dd7b87 100644
--- a/Epost.TestToolsWeb/Properties/PublishProfiles/Toolsweb.pubxml.user
+++ b/Epost.TestToolsWeb/Properties/PublishProfiles/Toolsweb.pubxml.user
@@ -7,7 +7,7 @@
<_PublishTargetUrl>D:\驿传\GuangzhouHuiFeng_DAS
- True|2025-06-23T10:49:19.8150434Z||;False|2025-06-23T18:47:53.8200239+08:00||;True|2025-06-23T18:13:17.9954519+08:00||;True|2025-06-16T16:39:46.1896351+08:00||;True|2025-06-04T15:01:49.8008687+08:00||;True|2025-01-16T15:37:40.8814043+08:00||;True|2024-12-19T15:11:44.2536385+08:00||;True|2024-12-10T19:10:26.6514077+08:00||;True|2024-12-10T18:30:34.7211512+08:00||;True|2024-12-09T14:06:46.4112259+08:00||;True|2024-12-03T14:23:26.2134334+08:00||;True|2024-11-27T18:53:48.7373661+08:00||;True|2024-11-27T14:27:33.0840789+08:00||;True|2024-11-27T14:08:15.6442660+08:00||;True|2024-11-27T12:10:03.9412549+08:00||;True|2024-11-27T11:45:31.3775097+08:00||;True|2024-11-27T11:32:00.8297320+08:00||;True|2024-11-23T20:50:04.5476409+08:00||;False|2024-11-04T17:48:25.2781696+08:00||;True|2024-11-01T16:04:56.3535724+08:00||;True|2024-09-01T10:13:37.1598955+08:00||;True|2024-08-31T17:27:57.5375469+08:00||;True|2022-07-15T16:41:13.9750291+08:00||;True|2022-07-14T14:02:20.7983427+08:00||;True|2022-07-13T17:40:22.7531000+08:00||;True|2022-07-13T17:34:22.9908701+08:00||;True|2022-07-13T17:30:06.3588502+08:00||;True|2022-07-11T10:32:06.9053981+08:00||;True|2021-04-26T10:07:37.4889549+08:00||;True|2021-04-09T10:32:51.9130162+08:00||;True|2021-04-09T10:31:50.4974012+08:00||;
+ True|2025-06-24T06:58:06.2128620Z||;False|2025-06-24T14:57:07.8710970+08:00||;True|2025-06-24T14:54:53.0047658+08:00||;True|2025-06-24T14:21:21.1147627+08:00||;False|2025-06-24T14:20:37.2040902+08:00||;True|2025-06-24T13:14:08.5696828+08:00||;True|2025-06-24T11:28:41.9414169+08:00||;False|2025-06-24T11:28:18.5427055+08:00||;True|2025-06-23T18:49:19.8150434+08:00||;False|2025-06-23T18:47:53.8200239+08:00||;True|2025-06-23T18:13:17.9954519+08:00||;True|2025-06-16T16:39:46.1896351+08:00||;True|2025-06-04T15:01:49.8008687+08:00||;True|2025-01-16T15:37:40.8814043+08:00||;True|2024-12-19T15:11:44.2536385+08:00||;True|2024-12-10T19:10:26.6514077+08:00||;True|2024-12-10T18:30:34.7211512+08:00||;True|2024-12-09T14:06:46.4112259+08:00||;True|2024-12-03T14:23:26.2134334+08:00||;True|2024-11-27T18:53:48.7373661+08:00||;True|2024-11-27T14:27:33.0840789+08:00||;True|2024-11-27T14:08:15.6442660+08:00||;True|2024-11-27T12:10:03.9412549+08:00||;True|2024-11-27T11:45:31.3775097+08:00||;True|2024-11-27T11:32:00.8297320+08:00||;True|2024-11-23T20:50:04.5476409+08:00||;False|2024-11-04T17:48:25.2781696+08:00||;True|2024-11-01T16:04:56.3535724+08:00||;True|2024-09-01T10:13:37.1598955+08:00||;True|2024-08-31T17:27:57.5375469+08:00||;True|2022-07-15T16:41:13.9750291+08:00||;True|2022-07-14T14:02:20.7983427+08:00||;True|2022-07-13T17:40:22.7531000+08:00||;True|2022-07-13T17:34:22.9908701+08:00||;True|2022-07-13T17:30:06.3588502+08:00||;True|2022-07-11T10:32:06.9053981+08:00||;True|2021-04-26T10:07:37.4889549+08:00||;True|2021-04-09T10:32:51.9130162+08:00||;True|2021-04-09T10:31:50.4974012+08:00||;
@@ -33,19 +33,19 @@
04/04/2018 15:45:12
- 06/23/2025 18:13:15
+ 06/24/2025 14:54:49
- 06/23/2025 18:13:15
+ 06/24/2025 14:54:49
02/24/2020 15:29:24
- 06/23/2025 17:11:31
+ 06/24/2025 11:28:02
- 06/23/2025 17:11:31
+ 06/24/2025 11:28:02
04/29/2020 16:50:14
@@ -63,31 +63,31 @@
10/23/2017 13:15:20
- 06/23/2025 17:22:01
+ 06/24/2025 14:54:36
- 06/23/2025 17:22:01
+ 06/24/2025 14:54:36
08/26/2020 18:09:48
- 06/23/2025 17:11:31
+ 06/24/2025 14:54:36
- 06/23/2025 17:11:31
+ 06/24/2025 14:54:36
- 06/23/2025 17:22:03
+ 06/24/2025 14:54:40
- 06/23/2025 17:22:03
+ 06/24/2025 14:54:40
- 06/23/2025 17:11:31
+ 06/24/2025 11:28:01
- 06/23/2025 17:11:31
+ 06/24/2025 11:28:01
09/06/2018 11:57:11
@@ -104,6 +104,15 @@
04/29/2020 16:50:14
+
+ 06/24/2025 09:50:48
+
+
+ 06/24/2025 09:50:48
+
+
+ 06/24/2025 09:50:48
+
08/10/2018 18:51:54
@@ -5652,7 +5661,7 @@
05/30/2022 16:58:47
- 06/23/2025 18:13:08
+ 06/24/2025 14:54:41
04/04/2018 15:45:12
@@ -7572,7 +7581,7 @@
07/04/2022 14:22:38
- 06/23/2025 18:13:07
+ 06/24/2025 11:28:07
\ No newline at end of file
diff --git a/EpostTools.sln b/EpostTools.sln
index 8261205..25c45cc 100644
--- a/EpostTools.sln
+++ b/EpostTools.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.32126.315
+# Visual Studio Version 17
+VisualStudioVersion = 17.14.36121.58 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Epost.TestToolsWeb.Tests", "Epost.TestToolsWeb.Tests\Epost.TestToolsWeb.Tests.csproj", "{4D211913-A049-4F61-AF84-B664002363CE}"
ProjectSection(ProjectDependencies) = postProject
@@ -18,6 +18,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Epost.DAL", "Epost.DAL\Epos
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Epost.BLL", "Epost.BLL\Epost.BLL.csproj", "{A9841460-CC68-4350-BD71-2970E10BBDEC}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PrintBoxFormsApp", "PrintBoxFormsApp\PrintBoxFormsApp.csproj", "{6AF05017-5BC1-41E5-B4E4-747BF25A4B28}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -100,6 +102,18 @@ Global
{A9841460-CC68-4350-BD71-2970E10BBDEC}.Release|x64.Build.0 = Release|x64
{A9841460-CC68-4350-BD71-2970E10BBDEC}.Release|x86.ActiveCfg = Release|x86
{A9841460-CC68-4350-BD71-2970E10BBDEC}.Release|x86.Build.0 = Release|x86
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Debug|x64.Build.0 = Debug|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Debug|x86.Build.0 = Debug|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Release|x64.ActiveCfg = Release|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Release|x64.Build.0 = Release|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Release|x86.ActiveCfg = Release|Any CPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/PrintBoxFormsApp/App.config b/PrintBoxFormsApp/App.config
new file mode 100644
index 0000000..e37a459
--- /dev/null
+++ b/PrintBoxFormsApp/App.config
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/PrintBoxFormsApp/Form1.Designer.cs b/PrintBoxFormsApp/Form1.Designer.cs
new file mode 100644
index 0000000..86ae7ac
--- /dev/null
+++ b/PrintBoxFormsApp/Form1.Designer.cs
@@ -0,0 +1,40 @@
+namespace PrintBoxFormsApp
+{
+ partial class Form1
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows 窗体设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Text = "Form1";
+ }
+
+ #endregion
+ }
+}
+
diff --git a/PrintBoxFormsApp/Form1.cs b/PrintBoxFormsApp/Form1.cs
new file mode 100644
index 0000000..f743ec8
--- /dev/null
+++ b/PrintBoxFormsApp/Form1.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace PrintBoxFormsApp
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/PrintBoxFormsApp/PrintBoxFormsApp.csproj b/PrintBoxFormsApp/PrintBoxFormsApp.csproj
new file mode 100644
index 0000000..52872c2
--- /dev/null
+++ b/PrintBoxFormsApp/PrintBoxFormsApp.csproj
@@ -0,0 +1,104 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {6AF05017-5BC1-41E5-B4E4-747BF25A4B28}
+ WinExe
+ PrintBoxFormsApp
+ PrintBoxFormsApp
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\DLL\FastReport.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+ Form
+
+
+ PrintList.cs
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
+ {44C36CA3-D672-40D1-AC94-91115DE29A2D}
+ Epost.Common
+
+
+ {A9841460-CC68-4350-BD71-2970E10BBDEC}
+ Epost.BLL
+
+
+ {07648CB8-934F-48E1-9DDA-46C8F9A5936D}
+ Epost.Model
+
+
+
+
\ No newline at end of file
diff --git a/PrintBoxFormsApp/PrintList.Designer.cs b/PrintBoxFormsApp/PrintList.Designer.cs
new file mode 100644
index 0000000..60c9fa4
--- /dev/null
+++ b/PrintBoxFormsApp/PrintList.Designer.cs
@@ -0,0 +1,39 @@
+namespace PrintBoxFormsApp
+{
+ partial class PrintList
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Text = "PrintList";
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/PrintBoxFormsApp/PrintList.cs b/PrintBoxFormsApp/PrintList.cs
new file mode 100644
index 0000000..13c144d
--- /dev/null
+++ b/PrintBoxFormsApp/PrintList.cs
@@ -0,0 +1,144 @@
+using Epost.BLL;
+using Epost.Common;
+using Epost.Model;
+using FastReport;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Configuration;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace PrintBoxFormsApp
+{
+ public partial class PrintList : Form
+ {
+
+ Print_BoxBLL boxbll = new Print_BoxBLL();
+ AddressstorageBLL addrBLL = new AddressstorageBLL();
+ private Thread timerThreadDown;//创建线程11111111111111111111111111111
+ private Thread timerThreadUp;//创建线程
+ int SleepTime = 1;
+ public PrintList()
+ {
+
+ if (!string.IsNullOrWhiteSpace(ConfigurationManager.AppSettings["SleepTime"]))
+ {
+ int.TryParse(ConfigurationManager.AppSettings["SleepTime"], out SleepTime);
+ }
+
+ InitializeComponent();
+ if (System.Diagnostics.Process.GetProcessesByName("ReturnDataForms").ToList().Count > 1)
+ {
+ try
+ {
+ //存在
+ MessageBox.Show("请关闭已经启动的程序后再进行尝试");
+ System.Diagnostics.Process[] ps = System.Diagnostics.Process.GetProcessesByName("ReturnDataForms");
+ foreach (System.Diagnostics.Process p in ps)
+ {
+ p.Kill();
+ }
+ MessageBox.Show("已经帮您关闭进程,请您重新启动");
+ }
+ catch (Exception ex)
+ {
+
+ LogHelper.WriteLogInfo("程序已经启动提示异常:" + ex.Message);
+ }
+
+
+ }
+ else
+ {
+
+ LogHelper.WriteLogInfo("程序启动-版本20191228");
+ timerThreadDown = new Thread(new ThreadStart(GetWorkList));
+ timerThreadDown.Start();
+ //timerThreadUp = new Thread(new ThreadStart(GetWorkList_DN));
+ //timerThreadUp.Start();
+
+ }
+ }
+
+ #region 获取订单信息
+ private void GetWorkList()
+ {
+ while (true)
+ {
+ try
+ {
+ LogHelper.WriteLogInfo("打印程序运行中");
+ Print();
+
+ Thread.Sleep(1000 * SleepTime);
+ }
+ catch (Exception ex)
+ {
+ LogHelper.WriteLogInfo(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + ":程序异常!\r\n" + ex.Message);
+
+ }
+ }
+ }
+ #endregion
+
+ #region 打印
+ public void Print()
+ {
+ try
+ {
+ //换箱打印
+ print_box();
+
+
+ }
+ catch (Exception ex)
+ {
+ LogHelper.WriteLogInfo("打印异常:" + ex.Message, LogHelper.Log_Type.ERROR);
+ }
+
+ }
+ #endregion
+
+ #region 换箱打印
+ public void print_box()
+ {
+ List Arealist = addrBLL.GetOrderWayList();
+ if (Arealist.Any())
+ {
+ foreach (AddressstorageModel areaitem in Arealist)
+ {
+ //查询需要打印的列表
+ DataTable dt = boxbll.GetPrintList(areaitem.way);
+ if (dt != null && dt.Rows.Count > 0)
+ {
+ string filePath = ConfigurationManager.AppSettings["Print_Box" + areaitem.area];
+ LogHelper.WriteLogInfo("文件路径" + filePath + "\r\n");
+ foreach (DataRow item in dt.Rows)
+ {
+ string totalcount = string.Empty;
+ //if (Convert.ToInt32(item["totalcount"].ToString()) > 0)
+ //{
+ // totalcount = "共" + item["totalcount"].ToString() + "箱";
+ //}
+ //string boxno = "第" + item["boxno"].ToString() + "箱";
+ FastReportHelper.Report_Box(@filePath, "", item["shopid"].ToString(), item["shopname"].ToString(), item["boxcode"].ToString(), item["matchid"].ToString(), "", item["orderway"].ToString(), totalcount, item["printstate"].ToString(), item["senddate"].ToString(), item["loc"].ToString(), out Report rep);
+ boxbll.UpPrintList(item["id"].ToString());
+
+
+ }
+
+
+ }
+ }
+ }
+
+ }
+ #endregion
+ }
+}
diff --git a/PrintBoxFormsApp/Program.cs b/PrintBoxFormsApp/Program.cs
new file mode 100644
index 0000000..af9f3d1
--- /dev/null
+++ b/PrintBoxFormsApp/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace PrintBoxFormsApp
+{
+ internal static class Program
+ {
+ ///
+ /// 应用程序的主入口点。
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new PrintList());
+ }
+ }
+}
diff --git a/PrintBoxFormsApp/Properties/AssemblyInfo.cs b/PrintBoxFormsApp/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..0aacc00
--- /dev/null
+++ b/PrintBoxFormsApp/Properties/AssemblyInfo.cs
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("PrintBoxFormsApp")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("PrintBoxFormsApp")]
+[assembly: AssemblyCopyright("Copyright © 2025")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
+//请将此类型的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("6af05017-5bc1-41e5-b4e4-747bf25a4b28")]
+
+// 程序集的版本信息由下列四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/PrintBoxFormsApp/Properties/Resources.Designer.cs b/PrintBoxFormsApp/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..b6e875d
--- /dev/null
+++ b/PrintBoxFormsApp/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本: 4.0.30319.42000
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+//
+//------------------------------------------------------------------------------
+
+namespace PrintBoxFormsApp.Properties
+{
+
+
+ ///
+ /// 强类型资源类,用于查找本地化字符串等。
+ ///
+ // 此类是由 StronglyTypedResourceBuilder
+ // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+ // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+ // (以 /str 作为命令选项),或重新生成 VS 项目。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// 返回此类使用的缓存 ResourceManager 实例。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrintBoxFormsApp.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// 重写当前线程的 CurrentUICulture 属性,对
+ /// 使用此强类型资源类的所有资源查找执行重写。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/PrintBoxFormsApp/Properties/Resources.resx b/PrintBoxFormsApp/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/PrintBoxFormsApp/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/PrintBoxFormsApp/Properties/Settings.Designer.cs b/PrintBoxFormsApp/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..3f04009
--- /dev/null
+++ b/PrintBoxFormsApp/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace PrintBoxFormsApp.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/PrintBoxFormsApp/Properties/Settings.settings b/PrintBoxFormsApp/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/PrintBoxFormsApp/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+