| | |
| | | import com.zy.acs.manager.core.service.AgvDataService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.context.event.ApplicationReadyEvent; |
| | | import org.springframework.context.event.EventListener; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | import javax.annotation.PreDestroy; |
| | | |
| | | /** |
| | |
| | | @Autowired |
| | | private AgvDataService agvDataService; |
| | | |
| | | @PostConstruct |
| | | @EventListener(ApplicationReadyEvent.class) |
| | | private void start(){ |
| | | // redis.deleteList(RedisConstant.AGV_DATA_FLAG); |
| | | thread = new Thread(() -> { |