From 398a4a498c5aba2cd470e611db85f327a9f55dd4 Mon Sep 17 00:00:00 2001 From: orgin Date: Mon, 9 Oct 2023 16:12:01 +0800 Subject: [PATCH] fix: ceshi --- .../org/jeecg/modules/native_jni/CalValuesHandler.java | 2 ++ .../src/main/java/org/jeecg/modules/native_jni/Demo.java | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/Demo.java diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/CalValuesHandler.java b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/CalValuesHandler.java index d08cf789..d656f226 100644 --- a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/CalValuesHandler.java +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/CalValuesHandler.java @@ -27,4 +27,6 @@ public class CalValuesHandler { public static native String analyseSpectrum(String phd, String mapLines, String phdFilePath); + public static native void demo(Demo demo); + } diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/Demo.java b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/Demo.java new file mode 100644 index 00000000..3d71994f --- /dev/null +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/native_jni/Demo.java @@ -0,0 +1,7 @@ +package org.jeecg.modules.native_jni; + +public class Demo { + public void send(String message){ + System.out.println(message); + } +}