PLC调度
parent
b034d508a2
commit
0f023698bc
|
@ -223,7 +223,7 @@ public class WmsPlcController extends BaseController {
|
||||||
Float stepTime = Float.parseFloat(wmsPlc.getSetpTime());
|
Float stepTime = Float.parseFloat(wmsPlc.getSetpTime());
|
||||||
comCons = StringUtils.replace(comCons,"{query01}",query01);
|
comCons = StringUtils.replace(comCons,"{query01}",query01);
|
||||||
comCons = StringUtils.replace(comCons,"{query02}",query02);
|
comCons = StringUtils.replace(comCons,"{query02}",query02);
|
||||||
String[] coms = wmsPlc.getComCons().split(";");
|
String[] coms = comCons.split(";");
|
||||||
for (String com : coms) {
|
for (String com : coms) {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(500);
|
Thread.sleep(500);
|
||||||
|
|
Loading…
Reference in New Issue