| | |
| | | import com.qianwen.core.scanner.modular.annotation.GetResource; |
| | | import com.qianwen.core.scanner.modular.stereotype.ApiResource; |
| | | import com.qianwen.core.tool.api.R; |
| | | import com.qianwen.smartman.modules.cps.service.ITrayStorageService; |
| | | import com.qianwen.smartman.modules.cps.service.IWorkstationService; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | @RestController |
| | | |
| | | public class VisualFmsController { |
| | | private final ITrayStorageService trayStorageService; |
| | | private final IWorkstationService workstationService; |
| | | |
| | | //private final ITrayStorageService trayStorageService; |
| | | private IWorkstationService workstationService; |
| | | /* |
| | | public VisualFmsController(final ITrayStorageService trayStorageService, final IWorkstationService workstationService) { |
| | | this.trayStorageService = trayStorageService; |
| | | this.workstationService = workstationService; |
| | |
| | | public R<List<FmsArea>> fmsAreaStationTree() { |
| | | return R.data(this.trayStorageService.fmsAreaStationTree()); |
| | | } |
| | | |
| | | */ |
| | | /* |
| | | @ApiOperationSupport(order = 2) |
| | | @GetResource({"/workstation"}) |
| | | @ApiOperation("可视化FMS工位") |
| | | public R<List<FmsWorkstation>> fmsWorkstation() { |
| | | return R.data(this.workstationService.getFmsWorkstation(null)); |
| | | } |
| | | */ |
| | | } |