From 46ea49c9452002f2c01a10fd9550339a8aaa7cd1 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 18 六月 2025 14:19:15 +0800 Subject: [PATCH] 1、新了解到,FBox可接多台套水肥机、气象站、墒情站,相应修改协议(主要是主题部分); 2、编写《水肥机、气象站、墒情站协议》(未完)。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/AnnotationCodeUp.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/AnnotationCodeUp.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/AnnotationCodeUp.java new file mode 100644 index 0000000..5b1b0ac --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/AnnotationCodeUp.java @@ -0,0 +1,17 @@ +package com.dy.common.mw.protocol; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + + +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface AnnotationCodeUp { + /** + * 鍔熻兘鐮� + */ + String value() default ProtocolConstant.anyCode ;//鍙傛暟涓虹┖鏃讹紝琛ㄧず鏄櫎鏄庣‘娉ㄨВ鐨勫姛鑳界爜澶栫殑鍗忚鍏朵粬鍔熻兘鐮� + String[] ifAny() default{} ; +} \ No newline at end of file -- Gitblit v1.8.0