|  |  | 
 |  |  |             crnCommand.setSourcePosX(crnStn.getRow().shortValue());     // 源库位排 | 
 |  |  |             crnCommand.setSourcePosY(crnStn.getBay().shortValue());     // 源库位列 | 
 |  |  |             crnCommand.setSourcePosZ(crnStn.getLev().shortValue());     // 源库位层 | 
 |  |  |             crnCommand.setDestinationPosX((short) (locMast.getRow1().shortValue()-13));     // 目标库位排 | 
 |  |  |             crnCommand.setDestinationPosX(locMast.getRow1().shortValue());     // 目标库位排 | 
 |  |  |             crnCommand.setDestinationPosY(locMast.getBay1().shortValue());     // 目标库位列 | 
 |  |  |             crnCommand.setDestinationPosZ(locMast.getLev1().shortValue());     // 目标库位层 | 
 |  |  |             crnCommand.setTraySize(locMast.getLocType1() == 2); | 
 |  |  | 
 |  |  |                     crnCommand.setTaskNo(wrkMast.getWrkNo().shortValue()); // 工作号 | 
 |  |  | //                    crnCommand.setAckFinish((short) 0);  // 任务完成确认位 | 
 |  |  |                     crnCommand.setTaskMode(CrnTaskModeType.LOC_MOVE); // 任务模式:  库位移转 | 
 |  |  |                     crnCommand.setSourcePosX((short) (sourceSta.getRow1().shortValue()-13));     // 源库位排 | 
 |  |  |                     crnCommand.setSourcePosX(sourceSta.getRow1().shortValue());     // 源库位排 | 
 |  |  |                     crnCommand.setSourcePosY(sourceSta.getBay1().shortValue());     // 源库位列 | 
 |  |  |                     crnCommand.setSourcePosZ(sourceSta.getLev1().shortValue());     // 源库位层 | 
 |  |  |                     crnCommand.setDestinationPosX(crnStn.getRow().shortValue());     // 目标库位排 | 
 |  |  | 
 |  |  |         crnCommand.setTaskNo(wrkMast.getWrkNo().shortValue()); // 工作号 | 
 |  |  |         crnCommand.setAckFinish((short) 0);  // 任务完成确认位 | 
 |  |  |         crnCommand.setTaskMode(CrnTaskModeType.LOC_MOVE); // 任务模式:  库位移转 | 
 |  |  |         crnCommand.setSourcePosX((short) (sourceSta.getRow1().shortValue()-13));     // 源库位排 | 
 |  |  |         crnCommand.setSourcePosX(sourceSta.getRow1().shortValue());     // 源库位排 | 
 |  |  |         crnCommand.setSourcePosY(sourceSta.getBay1().shortValue());     // 源库位列 | 
 |  |  |         crnCommand.setSourcePosZ(sourceSta.getLev1().shortValue());     // 源库位层 | 
 |  |  |         crnCommand.setDestinationPosX((short) (sta.getRow1().shortValue()-13));     // 目标库位排 | 
 |  |  |         crnCommand.setDestinationPosX(sta.getRow1().shortValue());     // 目标库位排 | 
 |  |  |         crnCommand.setDestinationPosY(sta.getBay1().shortValue());     // 目标库位列 | 
 |  |  |         crnCommand.setDestinationPosZ(sta.getLev1().shortValue());     // 目标库位层 | 
 |  |  |         crnCommand.setTraySize(sourceSta.getLocType1() == 2);     //库位类型 |