X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.fmil.core%2Fsrc%2Forg%2Fsimantics%2Ffmil%2Fcore%2FFMIL.java;h=ec63279c89feb1e982b3e79e254f77713afccac6;hb=bc0dbe3b8e68fb3373b6b5865b69eccadad4b2fc;hp=06d1fd2b2b97acf142db5532f2c547337b2f4966;hpb=03fa301b5bc7d636da1ff9f331af83504db484a4;p=simantics%2Ffmil.git diff --git a/org.simantics.fmil.core/src/org/simantics/fmil/core/FMIL.java b/org.simantics.fmil.core/src/org/simantics/fmil/core/FMIL.java index 06d1fd2..ec63279 100644 --- a/org.simantics.fmil.core/src/org/simantics/fmil/core/FMIL.java +++ b/org.simantics.fmil.core/src/org/simantics/fmil/core/FMIL.java @@ -39,6 +39,7 @@ public class FMIL { */ private static int OK = 0; private static int ERROR = 1; + private static int PENDING = 2; private static String UNSATISFIED_LINK = "Method not found. DLL might not be loaded properly."; public static final String TEMP_FMU_DIRECTORY_NAME = "fmil"; public static String TEMP_FMU_COMMON_DIRECTORY; @@ -183,7 +184,7 @@ public class FMIL { * @throws FMILException */ private int fmuN = 0; - private boolean fmuLoaded = false; + private boolean instantiated = false; public void loadFMUFile(String path) throws FMILException { if (!Files.exists(Paths.get(path))) @@ -228,8 +229,8 @@ public class FMIL { for(int i=0;i