Selaa lähdekoodia

用于联锁新增(暂时)

LLL 1 vuosi sitten
vanhempi
commit
1343e6fca1

+ 142 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/detail/dto/InterlockDetailAddDTO.java

@@ -0,0 +1,142 @@
+package org.jeecg.modules.detail.dto;
+
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.jeecg.common.aspect.annotation.Dict;
+import org.jeecgframework.poi.excel.annotation.Excel;
+
+/**
+ * 功能描述
+ *
+ * @author: nn
+ * @date: 2024年05月28日 10:49
+ */
+@Data
+public class InterlockDetailAddDTO {
+
+    /**联锁总表id*/
+    @Excel(name = "联锁总表id", width = 15)
+    @ApiModelProperty(value = "联锁总表id")
+    private java.lang.String summaryid;
+    /**联锁名称*/
+    @Excel(name = "联锁名称", width = 15)
+    @ApiModelProperty(value = "联锁名称")
+    private java.lang.String interlockname;
+    /**联锁条件值*/
+    @Excel(name = "联锁条件值", width = 15)
+    @ApiModelProperty(value = "联锁条件值")
+    private java.lang.String interlockCondition;
+    /**联锁条件点位*/
+    @Excel(name = "联锁条件点位", width = 15)
+    @ApiModelProperty(value = "联锁条件点位")
+    private java.lang.String interlockConditionTag;
+    /**描述*/
+    @Excel(name = "描述", width = 15)
+    @ApiModelProperty(value = "描述")
+    private java.lang.String description;
+    /**设备id*/
+    @Excel(name = "设备id", width = 15)
+    @ApiModelProperty(value = "设备id")
+    private java.lang.String deviceId;
+    /**模块名称*/
+    @Excel(name = "模块名称", width = 15)
+    @ApiModelProperty(value = "模块名称")
+    private java.lang.String moduleName;
+    /**仪表状态*/
+    @Excel(name = "仪表状态", width = 15)
+    @ApiModelProperty(value = "仪表状态")
+    private java.lang.String instrumentStatus;
+    /**仪表状态判断方式*/
+    @Excel(name = "仪表状态判断方式", width = 15, dicCode = "instrument_status_juge")
+    @Dict(dicCode = "instrument_status_juge")
+    @ApiModelProperty(value = "仪表状态判断方式")
+    private java.lang.String instrumentStatusJuge;
+    /**仪表状态点位*/
+    @Excel(name = "仪表状态点位", width = 15)
+    @ApiModelProperty(value = "仪表状态点位")
+    private java.lang.String instrumentStatusTag;
+    /**仪表状态值*/
+    @Excel(name = "仪表状态值", width = 15)
+    @ApiModelProperty(value = "仪表状态值")
+    private java.lang.String instrumentStatusValue;
+    /**原始模拟量位号*/
+    @Excel(name = "原始模拟量位号", width = 15)
+    @ApiModelProperty(value = "原始模拟量位号")
+    private java.lang.String ysmnlTag;
+    /**原始模拟量值*/
+    @Excel(name = "原始模拟量值", width = 15)
+    @ApiModelProperty(value = "原始模拟量值")
+    private java.lang.String ysmnlValue;
+    /**高限*/
+    @Excel(name = "高限", width = 15)
+    @ApiModelProperty(value = "高限")
+    private java.lang.String upperLimit;
+    /**低限*/
+    @Excel(name = "低限", width = 15)
+    @ApiModelProperty(value = "低限")
+    private java.lang.String lowerLimit;
+    /**阈值*/
+    @Excel(name = "阈值", width = 15)
+    @ApiModelProperty(value = "阈值")
+    private java.lang.String thresholdValue;
+    /**时间*/
+    @Excel(name = "时间", width = 15)
+    @ApiModelProperty(value = "时间")
+    private java.lang.String thresholdTime;
+    /**时间单位*/
+    @Excel(name = "时间单位", width = 15)
+    @ApiModelProperty(value = "时间单位")
+    private java.lang.String thresholdTimeUnit;
+    /**控制系统状态*/
+    @Excel(name = "控制系统状态", width = 15)
+    @ApiModelProperty(value = "控制系统状态")
+    private java.lang.String controlSystemStatus;
+    /**联锁设定值*/
+    @Excel(name = "联锁设定值", width = 15)
+    @ApiModelProperty(value = "联锁设定值")
+    private java.lang.String interlockSetValue;
+    /**联锁设定值点位*/
+    @Excel(name = "联锁设定值点位", width = 15)
+    @ApiModelProperty(value = "联锁设定值点位")
+    private java.lang.String interlockSetTag;
+    /**当前值*/
+    @Excel(name = "当前值", width = 15)
+    @ApiModelProperty(value = "当前值")
+    private java.lang.String currentValue;
+    /**当前值位号*/
+    @Excel(name = "当前值位号", width = 15)
+    @ApiModelProperty(value = "当前值位号")
+    private java.lang.String currentValueTag;
+    /**是否旁路*/
+    @Excel(name = "是否旁路", width = 15)
+    @ApiModelProperty(value = "是否旁路")
+    private java.lang.String ifBypass;
+    /**旁路状态点位*/
+    @Excel(name = "旁路状态点位", width = 15)
+    @ApiModelProperty(value = "旁路状态点位")
+    private java.lang.String ifBypassTag;
+    /**输入卡件状态*/
+    @Excel(name = "输入卡件状态", width = 15)
+    @ApiModelProperty(value = "输入卡件状态")
+    private java.lang.String inputStatus;
+    /**输入卡件状态点位*/
+    @Excel(name = "输入卡件状态点位", width = 15)
+    @ApiModelProperty(value = "输入卡件状态点位")
+    private java.lang.String inputStatusTag;
+    /**输出卡件状态*/
+    @Excel(name = "输出卡件状态", width = 15)
+    @ApiModelProperty(value = "输出卡件状态")
+    private java.lang.String outputStatus;
+    /**输出卡件状态点位*/
+    @Excel(name = "输出卡件状态点位", width = 15)
+    @ApiModelProperty(value = "输出卡件状态点位")
+    private java.lang.String outputStatusTag;
+    /**MP状态*/
+    @Excel(name = "MP状态", width = 15)
+    @ApiModelProperty(value = "MP状态")
+    private java.lang.String mpStatus;
+    /**MP状态点位*/
+    @Excel(name = "MP状态点位", width = 15)
+    @ApiModelProperty(value = "MP状态点位")
+    private java.lang.String mpStatusTag;
+}

+ 68 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/summary/dto/InterlockAddDTO.java

@@ -0,0 +1,68 @@
+package org.jeecg.modules.summary.dto;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.jeecg.modules.detail.dto.InterlockDetailAddDTO;
+import org.jeecgframework.poi.excel.annotation.Excel;
+
+import java.util.List;
+
+/**
+ * 功能描述
+ *
+ * @author: nn
+ * @date: 2024年05月28日 10:47
+ */
+@Data
+public class InterlockAddDTO {
+
+    /**主键*/
+    @TableId(type = IdType.ASSIGN_ID)
+    @ApiModelProperty(value = "主键")
+    private java.lang.String id;
+    /**联锁名称*/
+    @Excel(name = "联锁名称", width = 15)
+    @ApiModelProperty(value = "联锁名称")
+    private java.lang.String interlockName;
+    /**系统id*/
+    @Excel(name = "系统id", width = 15)
+    @ApiModelProperty(value = "系统id")
+    private java.lang.String interlockSystemId;
+    /**装置id*/
+    @Excel(name = "装置id", width = 15)
+    @ApiModelProperty(value = "装置id")
+    private java.lang.String interlockApparatusId;
+    /**设备id*/
+    @Excel(name = "设备id", width = 15)
+    @ApiModelProperty(value = "设备id")
+    private java.lang.String deviceId;
+    /**模块名称*/
+    @Excel(name = "模块名称", width = 15)
+    @ApiModelProperty(value = "模块名称")
+    private java.lang.String moduleName;
+    /**联锁状态*/
+    @Excel(name = "联锁状态", width = 15)
+    @ApiModelProperty(value = "联锁状态")
+    private java.lang.String interlockStatus;
+    /**回路健康级别*/
+    @Excel(name = "回路健康级别", width = 15)
+    @ApiModelProperty(value = "回路健康级别")
+    private java.lang.String loopHealthLevel;
+    /**逻辑关系*/
+    @Excel(name = "逻辑关系", width = 15)
+    @ApiModelProperty(value = "逻辑关系")
+    private java.lang.String ljgx;
+    /**联锁输出值*/
+    @Excel(name = "联锁输出值", width = 15)
+    @ApiModelProperty(value = "联锁输出值")
+    private java.lang.String interlockOutValue;
+    /**联锁输出值点位*/
+    @Excel(name = "联锁输出值点位", width = 15)
+    @ApiModelProperty(value = "联锁输出值点位")
+    private java.lang.String interlockOutValueTag;
+
+    List<InterlockDetailAddDTO> interlockDetailAddDTOList;
+
+}