PLC调度

master
erzhongxmu 2022-10-22 13:21:09 +08:00
parent b034d508a2
commit 0f023698bc
1 changed files with 1 additions and 1 deletions

View File

@ -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);