| | |
| | | int row = getRow(shallowLoc); |
| | | int remainder = (int) Arith.remainder(row, slaveProperties.getGroupCount()); |
| | | int targetRow; |
| | | if (remainder == 0 ) { |
| | | targetRow = row + 1; |
| | | } else if (remainder == 3) { |
| | | if (remainder == 2) { |
| | | targetRow = row - 1; |
| | | } else if (remainder == 3) { |
| | | targetRow = row + 1; |
| | | } else { |
| | | throw new RuntimeException(shallowLoc + "不是浅库位,系统繁忙"); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | //堆垛机库位从14排开始 |
| | | necessaryParameters[1] = necessaryParameters[1]+13; //curRow 最深库位排 |
| | | necessaryParameters[3] = necessaryParameters[3]+13; //nearRow 最浅库位排 |
| | | return necessaryParameters; |
| | | } |
| | | |
| | |
| | | } |
| | | // 更新库位排号 |
| | | if (Cools.isEmpty(locMast)){ |
| | | rowLastno.setCurrentRow((curRow-13)); |
| | | rowLastnoService.updateById(rowLastno); |
| | | } |
| | | } |
| | |
| | | # 双深 |
| | | doubleDeep: true |
| | | # 双深库位排号 |
| | | doubleLocs: 14,17 |
| | | doubleLocs: 1,4 |
| | | # 一个堆垛机负责的货架排数 |
| | | groupCount: 4 |
| | | # 左深库位排号 |
| | | doubleLocsLeft: 14 |
| | | doubleLocsLeft: 1 |
| | | # 右深库位排号 |
| | | doubleLocsRight: 17 |
| | | doubleLocsRight: 4 |
| | | # wms参数配置 |
| | | wms-parameter: |
| | | # 自动补空板功能开关 |
| | |
| | | ReviewOrderSwitch: false |
| | | # 地址 |
| | | address: |
| | | URL: http://58.210.10.90:28090 |
| | | URL: http://127.0.0.1:28090 |
| | | #登录地址 |
| | | loginaddress: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc |
| | | #单据,商品档案地址 |