From 771a0e7b6b1276087515bbe94de28358cb92963b Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 04 六月 2026 10:32:27 +0800
Subject: [PATCH] 优化老化;
---
Plugin.TestResult/Util/CommonCodeParser.cs | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/Plugin.TestResult/Util/CommonCodeParser.cs b/Plugin.TestResult/Util/CommonCodeParser.cs
index 605ea69..6f4eae3 100644
--- a/Plugin.TestResult/Util/CommonCodeParser.cs
+++ b/Plugin.TestResult/Util/CommonCodeParser.cs
@@ -1,13 +1,10 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+锘縰sing Plugin.TestResult.Util;
using Plugin.TestResult_WPF.Model;
+using System;
namespace Plugin.TestResult_WPF.Util
{
- public class CommonCodeParser
+ public class CommonCodeParser : ICodeParser
{
public CellInfo GetCellInfoByCode(string code)
{
@@ -18,10 +15,16 @@
}
return new CellInfo()
{
+ OriginCode = code,
MachineName = arr[0],
OvenName = arr[1],
Index = int.Parse(arr[2]) - 1,
};
}
+
+ public CellInfo GetCellInfoByCode(string model, int columns, int rows, string code)
+ {
+ return GetCellInfoByCode(code);
+ }
}
}
--
Gitblit v1.9.1