| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.persistence.criteria.CriteriaBuilder; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 平方仓的解析,解析需要考虑当前是否启用的一分机多仓 |
| | | * |
| | | * @param depotConf |
| | | * @param msg |
| | | * @param ser |
| | | * @param exeRequest |
| | | * @param packetMap |
| | | * @param sumPackets |
| | | */ |
| | |
| | | int cableX = Integer.valueOf(attCable[2]); |
| | | |
| | | // 根据层行列获取指定长度 |
| | | int start = 4 * (device.getCableStart() - 1) * cableZ * cableY; |
| | | int start = 4 * (Integer.valueOf(device.getCableStart()) - 1) * cableZ * cableY; |
| | | int len = 4 * cableZ * cableY * cableX; |
| | | |
| | | log.info("分机------>>>平台:返回粮情完整信息,分机={}", device.getDeviceName()); |