From d0b51c6d6f2b7a530c0557b6279cc6dfced223cf Mon Sep 17 00:00:00 2001
From: zhubaomin <470473919@qq.com>
Date: 星期日, 27 四月 2025 19:01:04 +0800
Subject: [PATCH] 各轮灌组开阀时间提前10分钟,第一组除外,改为配置文件设置
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoUg/UgRtuProgram.java | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 114 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoUg/UgRtuProgram.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoUg/UgRtuProgram.java
new file mode 100644
index 0000000..690edc5
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoUg/UgRtuProgram.java
@@ -0,0 +1,114 @@
+package com.dy.pipIrrGlobal.pojoUg;
+
+import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.dy.common.po.BaseEntity;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.*;
+import org.hibernate.validator.constraints.Length;
+
+import java.util.Date;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2024/11/5 8:52
+ * @Description
+ */
+@TableName(value="ug_rtu_program", autoResultMap = true)
+@Data
+@Builder
+@ToString
+@NoArgsConstructor
+@AllArgsConstructor
+@Schema(name = "RTU杩滅▼鍗囩骇绋嬪簭")
+public class UgRtuProgram implements BaseEntity {
+
+ public static final long serialVersionUID = 202411050919001L;
+ /**
+ * 涓婚敭
+ */
+ @Schema(description = "涓婚敭", requiredMode = Schema.RequiredMode.REQUIRED)
+ @JSONField(serializeUsing= ObjectWriterImplToString.class)
+ @TableId(type = IdType.INPUT)
+ public Long id;
+
+ /**
+ * 鏂囦欢鍚�
+ */
+ @Schema(description = "鍗囩骇绋嬪簭鏂囦欢鍚�", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ public String hexFileName;
+
+ /**
+ * 鍗囩骇绋嬪簭瀛樻斁鍦板潃(4瀛楄妭锛�8浣嶅崄鍏繘鍒跺瓧绗�)
+ */
+ @Schema(description = "鍗囩骇绋嬪簭瀛樻斁鍦板潃", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ public String storeRamAddr;
+
+ /**
+ * 绋嬪簭瑕嗙洊瓒呭鍦板潃锛�4瀛楄妭锛�8浣嶅崄鍏繘鍒跺瓧绗︼級
+ */
+ @Schema(description = "绋嬪簭瑕嗙洊瓒呭鍦板潃", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ public String startRamAddr;
+
+ /**
+ * 鍗囩骇绋嬪簭璁$畻瀛楄妭鏁�
+ */
+ @Schema(description = "鍗囩骇绋嬪簭璁$畻瀛楄妭鏁�", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ public Integer programCalculateBytes;
+
+ /**
+ * 鍗囩骇绋嬪簭CRC16鏍¢獙鐮�
+ */
+ @Schema(description = "鍗囩骇绋嬪簭CRC16鏍¢獙鐮�", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ public Integer programCrc16;
+
+ /**
+ * 鍗囩骇绋嬪簭鍐呭锛堢▼搴忔枃浠跺唴瀹瑰瓧鑺傛暟缁勶級
+ */
+ @Schema(description = "绋嬪簭鏂囦欢鍐呭瀛楄妭鏁扮粍", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JSONField(serialize = false)
+ public byte[] programBytes;
+
+ @Schema(description = "绋嬪簭鏂囦欢鍐呭", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @TableField(exist = false)
+ public String programString;
+
+ /**
+ * 鍗囩骇绋嬪簭鍐呭锛堣В鏋愬悗绋嬪簭鏈夋晥鍐呭瀛楄妭鏁扮粍锛�
+ */
+ @Schema(description = "鍗囩骇绋嬪簭鍐呭瀛楄妭鏁扮粍", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JSONField(serialize = false)
+ public byte[] fileBytes;
+
+ @Schema(description = "鍗囩骇绋嬪簭鍐呭", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @TableField(exist = false)
+ public String fileString;
+
+ /**
+ * 澶囨敞
+ */
+ @Schema(description = "澶囨敞", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @Length(message = "澶囨敞涓嶅ぇ浜巤max}瀛楋紝涓嶅皬浜巤min}瀛�", min = 1, max = 100)
+ public String remark;
+
+ /**
+ * 涓婁紶鏃堕棿
+ */
+ @Schema(description = "涓婁紶鏃堕棿", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS")
+ public Date dt;
+
+ /**
+ * 鍒犻櫎鏍囪瘑
+ */
+ @Schema(hidden=true)
+ @JSONField(serialize=false)
+ public Byte deleted;
+
+
+}
\ No newline at end of file
--
Gitblit v1.8.0