First commit

This commit is contained in:
2024-11-15 11:06:37 +07:00
parent a9c6bbef56
commit c9794d0e30
2 changed files with 15 additions and 0 deletions

View File

@@ -1,7 +1,10 @@
import AASMini.AASMini;
import ProtegeGX.ProtegeGX;
public class Main {
private static AASMini aas;
private static ProtegeGX protegeGX;
private static String aasIP = "192.168.10.10";
private static int aasPort = 8080;
public static void main(String[] args) {
@@ -9,10 +12,14 @@ public class Main {
public void run() {
System.out.println("Shutting down...");
if (aas!=null) aas.Disconnect();
if (protegeGX!=null) protegeGX.Disconnect();
}
});
System.out.println("Protege to AAS Mini Connector");
protegeGX = new ProtegeGX();
aas = new AASMini(aasIP, aasPort);
aas.Connect();
}

View File

@@ -1,4 +1,12 @@
package ProtegeGX;
public class ProtegeGX {
public ProtegeGX(){
System.out.println("ProtegeGX Constructor");
//TODO belum ada codingan, tunggu apache cxf jar nya
}
public void Disconnect(){
//TODO belum ada codingan, tunggu apache cxf jar nya
}
}