From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 Plugin.TestResult/Util/JKCodeParser.cs |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/Plugin.TestResult/Util/JKCodeParser.cs b/Plugin.TestResult/Util/JKCodeParser.cs
new file mode 100644
index 0000000..4fc2c09
--- /dev/null
+++ b/Plugin.TestResult/Util/JKCodeParser.cs
@@ -0,0 +1,32 @@
+锘縰sing Plugin.TestResult.Util;
+using Plugin.TestResult_WPF.Model;
+using System;
+
+namespace Plugin.TestResult_WPF.Util
+{
+    public class JKCodeParser : ICodeParser
+    {
+        public CellInfo GetCellInfoByCode(string code)
+        {
+            string[] arr = code.Split('-');
+            if (arr == null || arr.Length != 3)
+            {
+                throw new Exception("鎵爜鏍煎紡寮傚父");
+            }
+            int row = int.Parse(arr[1]);
+            int index = int.Parse(arr[2]);
+
+            return new CellInfo()
+            {
+                OriginCode = code,
+                OvenName = arr[0],
+                Index = (row - 1) * 4 + (index - 1),
+            };
+        }
+
+        public CellInfo GetCellInfoByCode(string model, int columns, int rows, string code)
+        {
+            return GetCellInfoByCode(code);
+        }
+    }
+}

--
Gitblit v1.9.1