报告ReportEngineBase修改语言资源文件,修改模板和报告输出功能。

This commit is contained in:
QI Mingxuan
2026-05-13 17:36:54 +08:00
parent 1d3cacea75
commit 11c69d03fb
8 changed files with 1166 additions and 119 deletions
+62 -15
View File
@@ -1,5 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
@@ -58,15 +117,14 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<!-- Report metadata keys -->
<data name="Report_Title" xml:space="preserve">
<value>Inspection Report</value>
</data>
<data name="Report_Date" xml:space="preserve">
<value>Inspection Date</value>
<value>Inspection Time</value>
</data>
<data name="Report_Sample" xml:space="preserve">
<value>Sample Name</value>
<value>Product Name</value>
</data>
<data name="Report_Operator" xml:space="preserve">
<value>Operator</value>
@@ -80,14 +138,12 @@
<data name="Report_Description" xml:space="preserve">
<value>Description</value>
</data>
<!-- Classification keys -->
<data name="Classification_Pass" xml:space="preserve">
<value>PASS</value>
</data>
<data name="Classification_Fail" xml:space="preserve">
<value>FAIL</value>
</data>
<!-- Inspection type keys -->
<data name="Inspection_LineMeasurement" xml:space="preserve">
<value>Line Measurement</value>
</data>
@@ -100,7 +156,6 @@
<data name="Inspection_FillRate" xml:space="preserve">
<value>Via Fill Rate</value>
</data>
<!-- Table header keys -->
<data name="Table_Index" xml:space="preserve">
<value>No.</value>
</data>
@@ -122,7 +177,6 @@
<data name="Table_CenterY" xml:space="preserve">
<value>Center Y</value>
</data>
<!-- Measurement keys -->
<data name="Measurement_Type" xml:space="preserve">
<value>Measurement Type</value>
</data>
@@ -144,7 +198,6 @@
<data name="Measurement_Limit" xml:space="preserve">
<value>Limit</value>
</data>
<!-- Summary keys -->
<data name="Summary_TotalDefects" xml:space="preserve">
<value>Total Defects</value>
</data>
@@ -157,11 +210,9 @@
<data name="Summary_OverallResult" xml:space="preserve">
<value>Overall Result</value>
</data>
<!-- Image placeholder key -->
<data name="Image_NoImage" xml:space="preserve">
<value>No Image</value>
</data>
<!-- Page title keys -->
<data name="Page_Homepage" xml:space="preserve">
<value>Inspection Report</value>
</data>
@@ -177,7 +228,6 @@
<data name="Page_ViaFillInspection" xml:space="preserve">
<value>Via Fill Rate Inspection</value>
</data>
<!-- BGA inspection keys -->
<data name="Bga_Count" xml:space="preserve">
<value>Ball Count</value>
</data>
@@ -193,7 +243,6 @@
<data name="Bga_BallIndex" xml:space="preserve">
<value>Ball No.</value>
</data>
<!-- Void inspection keys -->
<data name="Void_RoiArea" xml:space="preserve">
<value>ROI Area</value>
</data>
@@ -209,7 +258,6 @@
<data name="Void_Limit" xml:space="preserve">
<value>Void Rate Limit</value>
</data>
<!-- Via fill rate keys -->
<data name="Fill_Rate" xml:space="preserve">
<value>Fill Rate</value>
</data>
@@ -222,7 +270,6 @@
<data name="Fill_THTLimit" xml:space="preserve">
<value>THT Limit</value>
</data>
<!-- Common field keys -->
<data name="Field_Point1" xml:space="preserve">
<value>Point 1</value>
</data>
@@ -238,4 +285,4 @@
<data name="Field_Status" xml:space="preserve">
<value>Status</value>
</data>
</root>
</root>