From bd5297c64f39c360a7bf41435a88ae5e70840fc2 Mon Sep 17 00:00:00 2001 From: jace.tang <1536884497@qq.com> Date: 星期二, 14 六月 2022 14:28:54 +0800 Subject: [PATCH] merge --- MainForm.cs | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/MainForm.cs b/MainForm.cs index 81c164a..14a03ac 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -629,18 +629,13 @@ //{ - // double preValue = 0.0; - // double uAvg = 0.0; - // Type t = opcConfig.standardCompensationZ.GetType(); - // FieldInfo fi = t.GetField(string.Format("station{0}", (CommonUtil.mainForm.PlateID + 1) % 5 + 1)); - // preValue = (double)fi.GetValue(opcConfig.standardCompensationZ); - // double curCompensation = standardHeightValue - uAvg + preValue; + // string resultStr = $"宸ヤ綅 {plateId}锛屾娴嬮」 {u.Name}锛屽師鍏堣ˉ鍋垮�硷細{preValue}锛岃绠楄ˉ鍋垮�硷細{curCompensation}锛屾爣鍑嗗�硷細{standardHeightValue}锛屽钩鍧囧�硷細{uAvg}"; - //Trace.TraceWarning(resultStr); + // Trace.TraceWarning(resultStr); - //File.AppendAllText(standardCSVFileName, $"\r\n{resultStr}\r\n"); + // File.AppendAllText(standardCSVFileName, $"\r\n{resultStr}\r\n"); //}); //_standardResultList.Clear(); } -- Gitblit v1.8.0