wu
2025-05-20 aabdaf234ddfe22b0a7d320775d2faf42141aaa5
nglib/src/ng/devices/MysqlService.java
@@ -5,7 +5,7 @@
import builder.Manager;
import builder.S7control;
import builder.httpApi;
import builder.HttpApi;
import com.alibaba.fastjson.JSONObject;
import com.github.xingshuangs.iot.protocol.s7.enums.EPlcType;
import ng.db.DBHelper;
@@ -114,7 +114,7 @@
      //上片
      if(id==2){
         try{
            JSONObject jSONObject=httpApi.selectLoadRack();
            JSONObject jSONObject=HttpApi.selectLoadRack();
//            JSONObject jSONObject=new JSONObject();
//            jSONObject.put("thickness", "4");
//            jSONObject.put("width", "3660");
@@ -141,7 +141,7 @@
               flag= sql.getString(8);//1 表示任务完成数量减一
               if ("1".equals(flag) ){
                  for (int i=0;i<1;){
                     JSONObject loadRackReductionJson=httpApi.loadRackReduction();
                     JSONObject loadRackReductionJson=HttpApi.loadRackReduction();
                     if ("true".equals(loadRackReductionJson.get("success").toString())){
                        //调用成功
                        i++;