From 7a76aa4311c86413ff964ed882f592edec5dc470 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 20 五月 2024 21:37:54 +0800 Subject: [PATCH] 1、完善协议实现代码; 2、实体协议数据处理自动任务(报警及状态+定时上报数据); 3、数据库实体id自动付值插件优化。 --- pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java b/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java index e5d60fd..395a6ad 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/PipIrrMwTestWebApplication.java @@ -1,7 +1,7 @@ package com.dy.pipIrrMwTestWeb; import com.dy.common.webUtil.BaseResponse; -import com.dy.pipIrrMwTestWeb.test.Test; +import com.dy.pipIrrMwTestWeb.test.CommandCtrl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; @@ -28,22 +28,13 @@ }) } ) -public class PipIrrMwTestWebApplication implements CommandLineRunner { +public class PipIrrMwTestWebApplication{ @Autowired - private Test test ; + private CommandCtrl test ; public static void main(String[] args) { SpringApplication.run(PipIrrMwTestWebApplication.class, args); } - /** - * Spring瀹瑰櫒鍚姩瀹屾垚鍚庯紝鎵ц涓嬮潰鏂规硶 - * @param args 鍙傛暟 - * @throws Exception 寮傚父 - */ - @Override - public void run(String... args) throws Exception { - BaseResponse res = test.test() ; - System.out.println(res.toString()); - } + } -- Gitblit v1.8.0