| | |
| | | // int totalLoc = reportQueryMapper.getTotalLocByCrnId(); |
| | | |
| | | return R.ok( |
| | | Cools.add("xSpeed", xSpeed) // 行走速度 |
| | | .add("ySpeed", ySpeed) // 升降速度 |
| | | .add("zSpeed", zSpeed) // 叉牙速度 |
| | | Cools.add("xSpeed", Arith.multiplys(1, Math.abs(xSpeed), 1)) // 行走速度 |
| | | .add("ySpeed", Arith.multiplys(1, Math.abs(ySpeed), 1)) // 升降速度 |
| | | .add("zSpeed", Arith.multiplys(1, Math.abs(zSpeed), 1)) // 叉牙速度 |
| | | .add("forkPos", forkPos) // 叉牙速度 |
| | | // .add("totalLoc", totalLoc) // 总库位数 |
| | | // .add("totalWrk", totalWrk) // 总任务数 |
| | | .add("xDistance", xDistance) // 累计走行距离km |
| | | .add("yDistance", yDistance) // 累计升降距离km |
| | | .add("xDuration", xDuration) // 累计走行时长h |
| | | .add("yDuration", yDuration) // 累计升降时长h |
| | | .add("xDistance", Arith.multiplys(1, Math.abs(xDistance), 1)) // 累计走行距离km |
| | | .add("yDistance", Arith.multiplys(1, Math.abs(yDistance), 1)) // 累计升降距离km |
| | | .add("xDuration", Arith.multiplys(1, Math.abs(xDuration), 1)) // 累计走行时长h |
| | | .add("yDuration", Arith.multiplys(1, Math.abs(yDuration), 1)) // 累计升降时长h |
| | | ); |
| | | } |
| | | |