From 9440721414f31d1c85094be1a035d9a90f9c4d5a Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 18 八月 2025 10:45:32 +0800
Subject: [PATCH] 完善代码
---
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java
index 75e513f..452eeff 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/msCenter/TestMsResource.java
@@ -10,11 +10,11 @@
* @Description
*/
//浣胯捣浣滅敤锛屾湰绫绘敞瑙Component锛屽苟鍦≒ipIrrMwRtuApplication娉ㄨВ@EnableScheduling
-@Component
+//@Component
public class TestMsResource {
// 璁剧疆瀹氭椂N绉掍竴娆�
- @Scheduled(cron = "0/4 * * * * ?")
+ //@Scheduled(cron = "0/4 * * * * ?")
public void test1() throws Exception {
MsObj msObj = new MsObj() ;
setAttr4OpenCloseValve("寮�闃�", msObj) ;
@@ -22,7 +22,7 @@
}
// 璁剧疆瀹氭椂N绉掍竴娆�
- @Scheduled(cron = "0/6 * * * * ?")
+ //@Scheduled(cron = "0/6 * * * * ?")
public void test2() throws Exception {
MsObj msObj = new MsObj() ;
setAttr4OpenCloseValve("鍏抽榾", msObj) ;
@@ -30,7 +30,7 @@
}
// 璁剧疆瀹氭椂N绉掍竴娆�
- @Scheduled(cron = "0/10 * * * * ?")
+ //@Scheduled(cron = "0/10 * * * * ?")
public void test4() throws Exception {
MsObj msObj = new MsObj() ;
setAttr4StateAlarm("闃�鎬�", msObj) ;
@@ -40,7 +40,7 @@
}
// 璁剧疆瀹氭椂N绉掍竴娆�
- @Scheduled(cron = "0/15 * * * * ?")
+ //@Scheduled(cron = "0/15 * * * * ?")
public void test3() throws Exception {
MsObj msObj = new MsObj() ;
setAttr4StateAlarm("闃�鎬�", msObj) ;
--
Gitblit v1.8.0