beautypg.com

1 programming interface definitions – Metrohm 846 Driver Toolbox User Manual

Page 31

background image

3.1 Programming interface definitions

Dosing Interface USB Toolbox, Annex

27

/** only for JNI, don't use it */

public static final native int callStatus(int ifNo, int msbNo);

/** only for JNI, don't use it */

public static final void setDosinoState(int iDosinoState) {dosinoState = iDosinoState;}

/** only for JNI, don't use it */

public static final native int callInterfaceError(int ifNo, int msbNo, int errorNumber);

/** only for JNI, don't use it */

public static final void setErrorCode(String sErrorCode) {errorCode = sErrorCode;}

/** only for JNI, don't use it */

public static final native int callStopType(int ifNo, int msbNo);

/** only for JNI, don't use it */

public static final void setStopType(int iStopType) {stopType = iStopType;}

/** only for JNI, don't use it */

public static final native int callInterfaceId(int ifNo);

/** only for JNI, don't use it */

public static final void setInterfaceId(int lInterfaceId) {interfaceId = lInterfaceId;}

/** only for JNI, don't use it */

public static final native int callProgramVersion(int ifNo);

/** only for JNI, don't use it */

public static final void setProgramVersion(String sProgramVersion) {programVersion =

sProgramVersion;}

// private data members

private static int dosinoVolume = 0;

private static int dosinoState = 0;

private static String errorCode = "";

private static int stopType = 0;

private static int interfaceId = 0;

private static String programVersion = "";

}