liurunyu
2025-03-19 f071a79c18115c00762bf78d62f21daaa7d77d39
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java
@@ -13,7 +13,7 @@
@Component
public class TestMsResource {
    // 设置定时十秒一次
    // 设置定时N秒一次
    @Scheduled(cron = "0/4 * * * * ?")
    public void test1() throws Exception {
        MsObj msObj = new MsObj() ;
@@ -29,7 +29,7 @@
    }
    // 设置定时十秒一次
    // 设置定时N秒一次
    @Scheduled(cron = "0/6 * * * * ?")
    public void test2() throws Exception {
        MsObj msObj = new MsObj() ;
@@ -44,7 +44,7 @@
        MsCenterUnit.getInstance().pushMs(msObj);
    }
    // 设置定时十秒一次
    // 设置定时N秒一次
    @Scheduled(cron = "0/10 * * * * ?")
    public void test3() throws Exception {
        MsObj msObj = new MsObj() ;