Browse Source

清洁度标准语言更改中文

zhangjiaxin 7 months ago
parent
commit
9a5e40f925

+ 35 - 30
OTSIncAReportApp/1-UI/OTSReportExport/Template/DataTemplate.Designer.cs

@@ -30,6 +30,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
         private void InitializeComponent()
         {
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OTS_DEVReport));
+            DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
             this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
             this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
             this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
@@ -292,7 +293,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel11.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel11.StylePriority.UseTextAlignment = false;
-            this.xrLabel11.Text = "NON-METALLIC <600m";
+            this.xrLabel11.Text = "非金属颗粒 <600m";
             this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel11.Visible = false;
             // 
@@ -304,7 +305,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel10.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel10.StylePriority.UseTextAlignment = false;
-            this.xrLabel10.Text = "METALLIC <400um";
+            this.xrLabel10.Text = "金属颗粒<400um";
             this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel10.Visible = false;
             // 
@@ -316,7 +317,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel9.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel9.StylePriority.UseTextAlignment = false;
-            this.xrLabel9.Text = "PARTICLES SIZE ALLOWED:";
+            this.xrLabel9.Text = "允许的颗粒尺寸:";
             this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel9.Visible = false;
             // 
@@ -328,7 +329,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel8.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel8.StylePriority.UseTextAlignment = false;
-            this.xrLabel8.Text = "PARTICLES WITH HARDNESS >40OHV ARE NOT ALLOWED";
+            this.xrLabel8.Text = "不允许超过硬度>400HV的颗粒存在";
             this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel8.Visible = false;
             // 
@@ -340,7 +341,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel7.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel7.StylePriority.UseTextAlignment = false;
-            this.xrLabel7.Text = "MAX WEIGHT OF PARTICLES 0.5mg";
+            this.xrLabel7.Text = "最大颗粒重量0.5mg";
             this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel7.Visible = false;
             // 
@@ -352,7 +353,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel6.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel6.StylePriority.UseTextAlignment = false;
-            this.xrLabel6.Text = "CLEANLINESS ACC.TO PDT NVX 10039";
+            this.xrLabel6.Text = "清洁度遵循PDT NVX 10039标准";
             this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel6.Visible = false;
             // 
@@ -364,7 +365,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel5.SizeF = new System.Drawing.SizeF(486.4583F, 23F);
             this.xrLabel5.StylePriority.UseTextAlignment = false;
-            this.xrLabel5.Text = "about hardness,we only need >15um data for particles.";
+            this.xrLabel5.Text = "关于标准评估,我们只需要>15um的颗粒数据。";
             this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel5.Visible = false;
             // 
@@ -376,7 +377,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
             this.xrLabel4.SizeF = new System.Drawing.SizeF(457.9165F, 23F);
             this.xrLabel4.StylePriority.UseTextAlignment = false;
-            this.xrLabel4.Text = "test standard as below: please be attention.";
+            this.xrLabel4.Text = "测试标准如下:请注意。";
             this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel4.Visible = false;
             // 
@@ -524,7 +525,8 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // xt_TCleannessA
             // 
-            this.xt_TCleannessA.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.xt_TCleannessA.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
+            new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
             this.xt_TCleannessA.LocationFloat = new DevExpress.Utils.PointFloat(0F, 1834.986F);
             this.xt_TCleannessA.Name = "xt_TCleannessA";
             this.xt_TCleannessA.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
@@ -901,7 +903,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.TCCleannessA_side.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
             | DevExpress.XtraPrinting.BorderSide.Right) 
             | DevExpress.XtraPrinting.BorderSide.Bottom)));
-            this.TCCleannessA_side.Font = new System.Drawing.Font("Arial", 12F);
+            this.TCCleannessA_side.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
             this.TCCleannessA_side.LocationFloat = new DevExpress.Utils.PointFloat(73.54202F, 1554.557F);
             this.TCCleannessA_side.Name = "TCCleannessA_side";
             this.TCCleannessA_side.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
@@ -928,7 +930,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             this.xrTableCell4.Multiline = true;
             this.xrTableCell4.Name = "xrTableCell4";
-            this.xrTableCell4.Text = "Requirement: No Particles >15µm with > 400 HV";
+            this.xrTableCell4.Text = "要求:颗粒尺寸>15µm 颗粒硬度>400 HV";
             this.xrTableCell4.Weight = 3.6584617041781855D;
             // 
             // xrTableCell5
@@ -954,7 +956,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             this.xrTableCell6.Multiline = true;
             this.xrTableCell6.Name = "xrTableCell6";
-            this.xrTableCell6.Text = "Requirement: Metallic particles < 400µm";
+            this.xrTableCell6.Text = "要求:金属颗粒尺寸<400µm";
             this.xrTableCell6.Weight = 3.6584617041781855D;
             // 
             // xrTableCell7
@@ -982,7 +984,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrTableCell8.Name = "xrTableCell8";
             this.xrTableCell8.StylePriority.UseBorderColor = false;
             this.xrTableCell8.StylePriority.UseForeColor = false;
-            this.xrTableCell8.Text = "Requirement: Non-metallic particles < 600µm";
+            this.xrTableCell8.Text = "要求:非金属颗粒尺寸<600µm";
             this.xrTableCell8.Weight = 3.6584617041781855D;
             // 
             // xrTableCell9
@@ -996,7 +998,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // xrLabel3
             // 
-            this.xrLabel3.Font = new System.Drawing.Font("Arial", 16F);
+            this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 16F);
             this.xrLabel3.ForeColor = System.Drawing.Color.Green;
             this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(73.54177F, 1211.375F);
             this.xrLabel3.Multiline = true;
@@ -1006,13 +1008,13 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel3.StylePriority.UseFont = false;
             this.xrLabel3.StylePriority.UseForeColor = false;
             this.xrLabel3.StylePriority.UseTextAlignment = false;
-            this.xrLabel3.Text = "Sauberkeit n.i.O. / Cleanliness ok";
+            this.xrLabel3.Text = "评估合格";
             this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel3.Visible = false;
             // 
             // xrLabel2
             // 
-            this.xrLabel2.Font = new System.Drawing.Font("Arial", 18F);
+            this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 18F);
             this.xrLabel2.ForeColor = System.Drawing.Color.MediumBlue;
             this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(73.54177F, 1152F);
             this.xrLabel2.Multiline = true;
@@ -1022,7 +1024,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.xrLabel2.StylePriority.UseFont = false;
             this.xrLabel2.StylePriority.UseForeColor = false;
             this.xrLabel2.StylePriority.UseTextAlignment = false;
-            this.xrLabel2.Text = "Bewertung / Evaluation";
+            this.xrLabel2.Text = "结果评估";
             this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
             this.xrLabel2.Visible = false;
             // 
@@ -1088,7 +1090,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // xrTableCell1
             // 
             this.xrTableCell1.BackColor = System.Drawing.Color.DarkGray;
-            this.xrTableCell1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
+            this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
             this.xrTableCell1.Multiline = true;
             this.xrTableCell1.Name = "xrTableCell1";
             this.xrTableCell1.StylePriority.UseBackColor = false;
@@ -1232,7 +1234,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // xrTable_kllb
             // 
             this.xrTable_kllb.BackColor = System.Drawing.Color.DarkGray;
-            this.xrTable_kllb.Font = new System.Drawing.Font("Arial", 9.75F);
+            this.xrTable_kllb.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
             this.xrTable_kllb.Multiline = true;
             this.xrTable_kllb.Name = "xrTable_kllb";
             this.xrTable_kllb.StylePriority.UseBackColor = false;
@@ -1360,7 +1362,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // dev_ypsm
             // 
             this.dev_ypsm.BackColor = System.Drawing.Color.DarkGray;
-            this.dev_ypsm.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
+            this.dev_ypsm.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
             this.dev_ypsm.Multiline = true;
             this.dev_ypsm.Name = "dev_ypsm";
             this.dev_ypsm.StylePriority.UseBackColor = false;
@@ -1406,7 +1408,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // dev_cljggk
             // 
             this.dev_cljggk.BackColor = System.Drawing.Color.DarkGray;
-            this.dev_cljggk.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
+            this.dev_cljggk.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
             this.dev_cljggk.Multiline = true;
             this.dev_cljggk.Name = "dev_cljggk";
             this.dev_cljggk.StylePriority.UseBackColor = false;
@@ -1608,7 +1610,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // dev_bgsj_text_up
             // 
-            this.dev_bgsj_text_up.Font = new System.Drawing.Font("宋体", 9.75F);
+            this.dev_bgsj_text_up.Font = new DevExpress.Drawing.DXFont("宋体", 9.75F);
             this.dev_bgsj_text_up.LocationFloat = new DevExpress.Utils.PointFloat(345.4168F, 562.0046F);
             this.dev_bgsj_text_up.Multiline = true;
             this.dev_bgsj_text_up.Name = "dev_bgsj_text_up";
@@ -1621,7 +1623,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // dev_ypbh_text_up
             // 
-            this.dev_ypbh_text_up.Font = new System.Drawing.Font("宋体", 9.75F);
+            this.dev_ypbh_text_up.Font = new DevExpress.Drawing.DXFont("宋体", 9.75F);
             this.dev_ypbh_text_up.LocationFloat = new DevExpress.Utils.PointFloat(345.4168F, 527.0833F);
             this.dev_ypbh_text_up.Multiline = true;
             this.dev_ypbh_text_up.Name = "dev_ypbh_text_up";
@@ -1634,7 +1636,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // dev_bgsj_up
             // 
-            this.dev_bgsj_up.Font = new System.Drawing.Font("宋体", 9.75F);
+            this.dev_bgsj_up.Font = new DevExpress.Drawing.DXFont("宋体", 9.75F);
             this.dev_bgsj_up.LocationFloat = new DevExpress.Utils.PointFloat(29.79177F, 562.0046F);
             this.dev_bgsj_up.Multiline = true;
             this.dev_bgsj_up.Name = "dev_bgsj_up";
@@ -1647,7 +1649,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // dev_ypbh_up
             // 
-            this.dev_ypbh_up.Font = new System.Drawing.Font("宋体", 9.75F);
+            this.dev_ypbh_up.Font = new DevExpress.Drawing.DXFont("宋体", 9.75F);
             this.dev_ypbh_up.LocationFloat = new DevExpress.Utils.PointFloat(29.79177F, 527.0833F);
             this.dev_ypbh_up.Multiline = true;
             this.dev_ypbh_up.Name = "dev_ypbh_up";
@@ -1660,7 +1662,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // dev_fbt
             // 
-            this.dev_fbt.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold);
+            this.dev_fbt.Font = new DevExpress.Drawing.DXFont("宋体", 18F, DevExpress.Drawing.DXFontStyle.Bold);
             this.dev_fbt.LocationFloat = new DevExpress.Utils.PointFloat(30.41687F, 188.5416F);
             this.dev_fbt.Multiline = true;
             this.dev_fbt.Name = "dev_fbt";
@@ -1673,7 +1675,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             // 
             // dev_zbt
             // 
-            this.dev_zbt.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold);
+            this.dev_zbt.Font = new DevExpress.Drawing.DXFont("宋体", 24F, DevExpress.Drawing.DXFontStyle.Bold);
             this.dev_zbt.LocationFloat = new DevExpress.Utils.PointFloat(30.41687F, 107.2917F);
             this.dev_zbt.Multiline = true;
             this.dev_zbt.Name = "dev_zbt";
@@ -1690,9 +1692,12 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             this.TopMargin,
             this.BottomMargin,
             this.Detail});
-            this.Font = new System.Drawing.Font("Arial", 9.75F);
-            this.Margins = new System.Drawing.Printing.Margins(77, 84, 73, 67);
-            this.Version = "21.2";
+            this.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
+            this.Margins = new DevExpress.Drawing.DXMargins(77F, 84F, 73F, 67F);
+            this.Version = "24.1";
+            xrWatermark1.Id = "Watermark1";
+            this.Watermarks.AddRange(new DevExpress.XtraPrinting.Drawing.Watermark[] {
+            xrWatermark1});
             ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.xt_TCleannessA)).EndInit();

+ 1 - 1
OTSIncAReportApp/1-UI/OTSReportExport/Template/DataTemplate.cs

@@ -630,7 +630,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
                 }
                 if (!b1||!b2||!b3)
                 {
-                    xrLabel3.Text = "Sauberkeit n.i.O. / Cleanliness not ok";
+                    xrLabel3.Text = "评估不合格";
                     xrLabel3.ForeColor= Color.Red;
                     break;
                 }