|  |  | 
 |  |  |         String slotCode = jsonObject.get("slotCode").toString(); | 
 |  |  |  | 
 |  |  |         Map<String,String> map = new HashMap<>(); | 
 |  |  |         if(currentStationInfoMap.get(slotCode)){ | 
 |  |  |         if(!currentStationInfoMap.get(slotCode)){ | 
 |  |  |             map.put("allow","true"); | 
 |  |  |         }else { | 
 |  |  |             map.put("allow","false"); | 
 
 |  |  | 
 |  |  |     private short heartBeatVal = 1; | 
 |  |  |     private int barcodeSize = 1; | 
 |  |  |     public static final ArrayList<Integer> staNos = new ArrayList<Integer>() {{ | 
 |  |  |         add(313);add(312); | 
 |  |  |         add(311);add(310); | 
 |  |  |         add(316);add(314); | 
 |  |  |         add(312);add(310); | 
 |  |  |     }}; | 
 |  |  |  | 
 |  |  |     public SiemensDevpThread3(Devp2Slave slave) { | 
 |  |  | 
 |  |  |         for (int i=0; i<staNos.size();i++){ | 
 |  |  |  | 
 |  |  |             String station = staNos.get(i) + "-1"; | 
 |  |  |             currentStationInfoMap.put(station,booleans[0]); | 
 |  |  |             currentStationInfoMap.put(station,booleans[i]); | 
 |  |  |  | 
 |  |  |  | 
 |  |  | //            StaProtocol staProtocol = station.get(staNos.get(i)); |