From 7dc60e19f9a1803fc2fcb469d0cc5b48a4819580 Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 27 Nov 2018 10:06:20 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-11969=20=E6=B3=A8=E5=86=8C=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=201.=20=E4=BF=AE=E6=94=B9=20el=20=E5=90=8E=E7=BC=80?= =?UTF-8?q?=EF=BC=8C=20=E9=80=9A=E7=94=A8=20win/linux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fine-sense4/src/Sense4/EliteLockIO32.java | 7 ++++--- fine-sense4/src/Sense4/Sense32.java | 2 +- fine-sense4/src/Sense4/Sense64.java | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fine-sense4/src/Sense4/EliteLockIO32.java b/fine-sense4/src/Sense4/EliteLockIO32.java index d362da901..35b5c9e81 100755 --- a/fine-sense4/src/Sense4/EliteLockIO32.java +++ b/fine-sense4/src/Sense4/EliteLockIO32.java @@ -1,12 +1,13 @@ package Sense4; +import java.io.File; +import java.io.FileInputStream; + import Sense4.Sense32.S4CREATEDIRINFO; import Sense4.Sense32.S4OPENINFO; import Sense4.Sense32.SENSE4_CONTEXT; -import com.sun.jna.ptr.IntByReference; -import java.io.File; -import java.io.FileInputStream; +import com.sun.jna.ptr.IntByReference; /** * @author Lanlan diff --git a/fine-sense4/src/Sense4/Sense32.java b/fine-sense4/src/Sense4/Sense32.java index ef9fe3d63..20e67b016 100755 --- a/fine-sense4/src/Sense4/Sense32.java +++ b/fine-sense4/src/Sense4/Sense32.java @@ -9,7 +9,7 @@ import java.util.List; public interface Sense32 extends com.sun.jna.Library { - Sense32 instance = (Sense32) Native.loadLibrary("Sense32.dll", Sense32.class); + Sense32 instance = (Sense32) Native.loadLibrary("EL", Sense32.class); public static final int S4_USER_PIN = 0x000000a1; public static final int S4_DEV_PIN = 0x000000a2; diff --git a/fine-sense4/src/Sense4/Sense64.java b/fine-sense4/src/Sense4/Sense64.java index a582ac250..55ece95ec 100755 --- a/fine-sense4/src/Sense4/Sense64.java +++ b/fine-sense4/src/Sense4/Sense64.java @@ -10,7 +10,7 @@ import java.util.List; public interface Sense64 extends com.sun.jna.Library { - Sense64 instance = (Sense64) Native.loadLibrary("Sense64.dll", Sense64.class); + Sense64 instance = (Sense64) Native.loadLibrary("EL", Sense64.class); public static final long S4_USER_PIN = 0x000000a1; public static final long S4_DEV_PIN = 0x000000a2;