plc
parent
7ef5eefdd3
commit
c8c3f53ba5
|
@ -212,6 +212,11 @@ public class WmsPlcController extends BaseController {
|
||||||
System.out.println("connect success");
|
System.out.println("connect success");
|
||||||
}else{
|
}else{
|
||||||
System.out.println("connect error");
|
System.out.println("connect error");
|
||||||
|
try{
|
||||||
|
siemensS7Net.ConnectClose();
|
||||||
|
}catch (Exception e){
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
String comCons = wmsPlc.getComCons();
|
String comCons = wmsPlc.getComCons();
|
||||||
String query01 = wmsPlc.getQuery01();
|
String query01 = wmsPlc.getQuery01();
|
||||||
|
|
Loading…
Reference in New Issue