|  |  | 
 |  |  |  | 
 |  |  |             DynamicNode dynamicNode = dynamicMatrix[codeMatrixIdx[0]][codeMatrixIdx[1]]; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |             Integer serial = dynamicNode.getSerial(); | 
 |  |  |             long time = dynamicNode.getTime(); | 
 |  |  |  | 
 |  |  |             List<String> resetCodeList = new ArrayList<>(); | 
 |  |  |  | 
 |  |  |             for (int i = 0; i < dynamicMatrix.length; i++) { | 
 |  |  |                 for (int j = 0; j < dynamicMatrix[i].length; j++) { | 
 |  |  |  | 
 |  |  |                     if (i == codeMatrixIdx[0] && j == codeMatrixIdx[1]) { continue; } | 
 |  |  |  | 
 |  |  |                     DynamicNode node = dynamicMatrix[i][j]; | 
 |  |  |                     if (node.getVehicle().equals(agvNo) && node.getSerial() < serial) { | 
 |  |  |                         resetCodeList.add(codeMatrix[i][j]); | 
 |  |  |                     if (node.getVehicle().equals(agvNo)) { | 
 |  |  |                         if (node.getSerial() < serial || node.getTime() != time) { | 
 |  |  |                             resetCodeList.add(codeMatrix[i][j]); | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |             } |