package com.iailab.module.model.mpk.common;
|
|
/**
|
* @Description
|
* @Author Forrest
|
* @Mail 1255187617@qq.com
|
* @Date 2021/1/12
|
*/
|
public class Environment {
|
private native int jniInit();
|
|
private native int jniIsInit();
|
|
private native void jniRelease();
|
|
private native int statusCode();
|
|
/**
|
* 初始化环境
|
*/
|
public int init() {
|
return jniInit();
|
}
|
|
/**
|
* 获取初始化状态
|
*/
|
public int isInit() {
|
return jniIsInit();
|
}
|
|
/**
|
* 释放资源
|
*/
|
public void release() {
|
jniRelease();
|
}
|
/**
|
*校验机器码
|
* */
|
// public int checkMachineCode(String mCode){
|
// return statusCode();
|
// }
|
}
|