| | |
| | | // String MesSend=S7control.getinstance().ReadWord("DB14.170", 1).get(0)+""; |
| | | |
| | | //获取测量的长,宽 |
| | | boolean istest = true; |
| | | boolean istest = false; |
| | | // String PlcRequest = "1"; |
| | | // String MesSend = "0"; |
| | | // double width = 402; |
| | |
| | | nullQueue.setglassId(""); |
| | | nullQueue.setglassheight(0); |
| | | nullQueue.setglasswidth(0); |
| | | nullQueue.setglassheightmm(0); |
| | | nullQueue.setglasswidthmm(0); |
| | | jsonObject.append("LastQueue", nullQueue); |
| | | }else{ |
| | | if (LastQueue.getstate()<1) { |
| | | LastQueue.setglasswidth(0); |
| | | LastQueue.setglassheight(0); |
| | | } |
| | | jsonObject.append("LastQueue", LastQueue); |
| | | } |
| | | // String E01id = new String( S7controlLK.getinstance().ReadByte("DB17.0",16)); |