From 1c6cebb2ccc74ad40fd6f4d851378173a8076ad6 Mon Sep 17 00:00:00 2001 From: lijiayao <13831655+xiao-yao-charge-forward@user.noreply.gitee.com> Date: Sun, 7 Apr 2024 22:37:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=B5=E5=AD=90=E5=9B=B4=E6=A0=8F?= =?UTF-8?q?=E6=8A=A5=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../couplet-common-event/.gitignore | 38 +++++++++++++++++++ .../common/contents/AnalyzeEventContents.java | 27 +++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 couplet-common/couplet-common-event/.gitignore create mode 100644 couplet-common/couplet-common-event/src/main/java/com/couplet/analyze/common/contents/AnalyzeEventContents.java diff --git a/couplet-common/couplet-common-event/.gitignore b/couplet-common/couplet-common-event/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/couplet-common/couplet-common-event/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/couplet-common/couplet-common-event/src/main/java/com/couplet/analyze/common/contents/AnalyzeEventContents.java b/couplet-common/couplet-common-event/src/main/java/com/couplet/analyze/common/contents/AnalyzeEventContents.java new file mode 100644 index 0000000..f920863 --- /dev/null +++ b/couplet-common/couplet-common-event/src/main/java/com/couplet/analyze/common/contents/AnalyzeEventContents.java @@ -0,0 +1,27 @@ +package com.couplet.analyze.common.contents; + +/** + * @Author: LiJiaYao + * @Date: 2024/4/7 + * @Description: 事件内容 + */ +public class AnalyzeEventContents { + + /** + * 故障 + */ + String BREAKDOWN = "breakdown"; + /** + * 电子围栏 + */ + String ELECTRONIC_FENCE = "electronic-fence"; + /** + * 实时数据 + */ + String REAL_TIME_DATA = "real-time-data"; + + /** + * 存储 + */ + String STORED_EVENT = "stored-event"; +}