| | |
| | | import com.zy.core.model.protocol.CrnProtocol; |
| | | import com.zy.core.properties.SlaveProperties; |
| | | import com.zy.core.properties.SystemProperties; |
| | | import com.zy.core.thread.RgvThread; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | if (sourceLoc.getLocType1() != loc.getLocType1()){ |
| | | return R.error("库位类型不一致"); |
| | | } |
| | | command.setTraySize(loc.getLocType1() == 2); |
| | | // VersionUtils.locMoveCheckLocType(sourceLoc, loc); |
| | | return crnControl(command)?R.ok():R.error(); |
| | | } |
| | |
| | | return crnControl(command)?R.ok():R.error(); |
| | | } |
| | | |
| | | |
| | | |
| | | // @ManagerAuth(memo = "暂停") |
| | | // @PostMapping("/operator/pause") |
| | | // public R crnPause(CrnOperatorParam param){ |