| | |
| | | |
| | | import com.zy.asrs.task.handler.GhlnHandler; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | @Resource |
| | | private GhlnHandler ghlnHandler; |
| | | |
| | | // 出库到达出库目标站时,调用AGV开放出库接口 |
| | | // @Scheduled(cron = "0/30 * * * * ?") |
| | | private void sendOutboundTaskToAGV(){ |
| | | ghlnHandler.sendOutboundTaskToAGV(); |
| | | // 货物到达出库口,呼叫agv |
| | | @Scheduled(cron = "0/5 * * * * ?") |
| | | private void OutboundCallAGV(){ |
| | | ghlnHandler.OutboundCallAGV(); |
| | | } |
| | | |
| | | // 调用金蝶同步物料接口,增量同步每小时产生的新物料 |