pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java
@@ -1,6 +1,7 @@ package com.dy.rtuMw.server.msCenter; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; /** * @Author: liurunyu @@ -8,7 +9,7 @@ * @Description */ //使起作用,本类注解@Component,并在PipIrrMwRtuApplication注解@EnableScheduling //@Component @Component public class TestMsResource { // 设置定时十秒一次