From e88fba9645a57535d858ce48da8e9d9a3dc84adc Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期四, 02 一月 2025 16:48:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/common/enums/ModelOutResultType.java |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/common/enums/ModelOutResultType.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/common/enums/ModelOutResultType.java
new file mode 100644
index 0000000..410cea7
--- /dev/null
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/common/enums/ModelOutResultType.java
@@ -0,0 +1,33 @@
+package com.iailab.module.model.common.enums;
+
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
+/**
+ * @author DongYukun
+ * @Description
+ * @createTime 2024年1月2日
+ */
+@Getter
+@AllArgsConstructor
+public enum ModelOutResultType {
+    D("double", "double"),
+    D1("double[]", "double[]"),
+    D2("double[][]", "double[][]");
+
+    private String code;
+    private String desc;
+
+    public static ModelOutResultType getEumByCode(String code) {
+        if (code == null) {
+            return null;
+        }
+
+        for (ModelOutResultType statusEnum : ModelOutResultType.values()) {
+            if (statusEnum.getCode().equals(code)) {
+                return statusEnum;
+            }
+        }
+        return null;
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3