소스 검색

fix 联锁新增、编辑

LLL 4 달 전
부모
커밋
10187bff25

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

@@ -218,4 +218,36 @@ public class InterlockDetailAddDTO {
     @Excel(name = "点位当前时间", width = 15)
     @ApiModelProperty(value = "点位当前时间")
     private java.lang.String tagTime;
+
+
+
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassPs;
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassName;
+
+    /**输入卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String inputStatusPs;
+    /**输入卡件状态-名称*/
+    private java.lang.String inputStatusName;
+
+    /**仪表状态-统一定义(0正常1故障)*/
+    private java.lang.String instrumentStatusPs;
+    /**仪表状态-名称*/
+    private java.lang.String instrumentStatusName;
+
+    /**控制系统状态-统一定义(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusPs;
+    /**控制系统状态-名称(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusName;
+
+    /**输出卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String outputStatusPs;
+    /**输出卡件状态*/
+    private java.lang.String outputStatusName;
+
+    /**MP状态-统一定义(0正常1非正常)*/
+    private java.lang.String mpStatusPs;
+    /**MP状态-名称*/
+    private java.lang.String mpStatusName;
 }

+ 33 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/detail/entity/InterlockDetail.java

@@ -239,4 +239,37 @@ public class InterlockDetail implements Serializable {
     @Excel(name = "系统id", width = 15)
     @ApiModelProperty(value = "系统id")
     private java.lang.String interlockSystemId;
+
+
+
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassPs;
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassName;
+
+    /**输入卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String inputStatusPs;
+    /**输入卡件状态-名称*/
+    private java.lang.String inputStatusName;
+
+    /**仪表状态-统一定义(0正常1故障)*/
+    private java.lang.String instrumentStatusPs;
+    /**仪表状态-名称*/
+    private java.lang.String instrumentStatusName;
+
+    /**控制系统状态-统一定义(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusPs;
+    /**控制系统状态-名称(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusName;
+
+    /**输出卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String outputStatusPs;
+    /**输出卡件状态*/
+    private java.lang.String outputStatusName;
+
+    /**MP状态-统一定义(0正常1非正常)*/
+    private java.lang.String mpStatusPs;
+    /**MP状态-名称*/
+    private java.lang.String mpStatusName;
+
 }

+ 32 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/history/entity/InterlockDetailHistory.java

@@ -240,4 +240,36 @@ public class InterlockDetailHistory implements Serializable {
     @Excel(name = "该联锁在原联锁总表的id", width = 15)
     @ApiModelProperty(value = "该联锁在原联锁总表的id")
     private java.lang.String summaryOriginId;
+
+
+
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassPs;
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassName;
+
+    /**输入卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String inputStatusPs;
+    /**输入卡件状态-名称*/
+    private java.lang.String inputStatusName;
+
+    /**仪表状态-统一定义(0正常1故障)*/
+    private java.lang.String instrumentStatusPs;
+    /**仪表状态-名称*/
+    private java.lang.String instrumentStatusName;
+
+    /**控制系统状态-统一定义(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusPs;
+    /**控制系统状态-名称(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusName;
+
+    /**输出卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String outputStatusPs;
+    /**输出卡件状态*/
+    private java.lang.String outputStatusName;
+
+    /**MP状态-统一定义(0正常1非正常)*/
+    private java.lang.String mpStatusPs;
+    /**MP状态-名称*/
+    private java.lang.String mpStatusName;
 }

+ 9 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/history/entity/InterlockSummaryHistory.java

@@ -108,4 +108,13 @@ public class InterlockSummaryHistory implements Serializable {
     @Excel(name = "该联锁在原联锁总表的id", width = 15)
     @ApiModelProperty(value = "该联锁在原联锁总表的id")
     private java.lang.String summaryOriginId;
+
+    /**联锁状态-统一定义*/
+    @Excel(name = "联锁状态-统一定义", width = 15)
+    @ApiModelProperty(value = "联锁状态-统一定义")
+    private java.lang.String interlockStatusPs;
+    /**联锁状态名称*/
+    @Excel(name = "联锁状态名称", width = 15)
+    @ApiModelProperty(value = "联锁状态名称")
+    private java.lang.String interlockStatusName;
 }

+ 25 - 25
jeecg-module-interlock/src/main/java/org/jeecg/modules/summary/constants/InterlockAllStatus.java

@@ -10,42 +10,42 @@ package org.jeecg.modules.summary.constants;
  */
 public class InterlockAllStatus {
 
-//    // 输入卡件状态 0正常1非正常
-//    public static final String INPUT_STATUS_NORMAL = "0"; // 输入卡件状态-正常
-//    public static final String INPUT_STATUS_ABNORMAL = "1"; // 输入卡件状态-非正常
-//
-//    // 输出卡件状态 0正常1非正常
-//    public static final String OUTPUT_STATUS_NORMAL = "0"; // 输出卡件状态-正常
-//    public static final String OUTPUT_STATUS_ABNORMAL = "1"; // 输出卡件状态-正常
-//
-//    // MP状态 0正常1非正常
-//    public static final String MP_STATUS_NORMAL = "0"; // MP状态-正常
-//    public static final String MP_STATUS_ABNORMAL = "1"; // MP状态-正常
-//
-//    // 旁路状态 0否1是
-//    public static final String BY_PASS_NO = "0"; // 旁路状态-否
-//    public static final String BY_PASS_YES = "1"; // 旁路状态-是
+    // 输入卡件状态 0正常1非正常
+    public static final String INPUT_STATUS_NORMAL = "0"; // 输入卡件状态-正常
+    public static final String INPUT_STATUS_ABNORMAL = "1"; // 输入卡件状态-非正常
+
+    // 输出卡件状态 0正常1非正常
+    public static final String OUTPUT_STATUS_NORMAL = "0"; // 输出卡件状态-正常
+    public static final String OUTPUT_STATUS_ABNORMAL = "1"; // 输出卡件状态-正常
+
+    // MP状态 0正常1非正常
+    public static final String MP_STATUS_NORMAL = "0"; // MP状态-正常
+    public static final String MP_STATUS_ABNORMAL = "1"; // MP状态-正常
+
+    // 旁路状态 0否1是
+    public static final String BY_PASS_NO = "0"; // 旁路状态-否
+    public static final String BY_PASS_YES = "1"; // 旁路状态-是
 
     // 仪表状态判断方式 0直接读取位号1高低限判断2突变超限判断
     public static final String INSTRUMENT_STATUS_JUDGE0 = "0"; // 仪表状态判断方式-直接读取位号
     public static final String INSTRUMENT_STATUS_JUDGE1 = "1"; // 仪表状态判断方式-高低限判断
     public static final String INSTRUMENT_STATUS_JUDGE2 = "2"; // 仪表状态判断方式-突变超限判断
 
-//    // 仪表状态 0正常1故障
-//    public static final String INSTRUMENT_STATUS_NORMAL = "0"; // 仪表状态-正常
-//    public static final String INSTRUMENT_STATUS_GZ = "1"; // 仪表状态-故障
-//
-//    // 控制系统状态 0正常1非正常
-//    public static final String CONTROL_SYSTEM_STATUS_NORMAL = "0";  // 控制系统状态-正常
-//    public static final String CONTROL_SYSTEM_STATUS_ABNORMAL = "1";  // 控制系统状态-非正常
+    // 仪表状态 0正常1故障
+    public static final String INSTRUMENT_STATUS_NORMAL = "0"; // 仪表状态-正常
+    public static final String INSTRUMENT_STATUS_GZ = "1"; // 仪表状态-故障
+
+    // 控制系统状态 0正常1非正常
+    public static final String CONTROL_SYSTEM_STATUS_NORMAL = "0";  // 控制系统状态-正常
+    public static final String CONTROL_SYSTEM_STATUS_ABNORMAL = "1";  // 控制系统状态-非正常
 
     // 是否旁路 0否1是
     public static final String IF_BY_PASS_NO = "0"; // 是否旁路-否
     public static final String IF_BY_PASS_YES = "1"; // 是否旁路-是
 
-//    // 联锁状态 0未投用1投用
-//    public static final String INTERLOCK_STATUS_WTY = "0"; // 联锁状态-未投用
-//    public static final String INTERLOCK_STATUS_TY = "1"; // 联锁状态-投用
+    // 联锁状态 0未投用1投用
+    public static final String INTERLOCK_STATUS_WTY = "0"; // 联锁状态-未投用
+    public static final String INTERLOCK_STATUS_TY = "1"; // 联锁状态-投用
 
 
     // 类型 0装置1系统2联锁

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

@@ -71,4 +71,14 @@ public class InterlockAddDTO {
 
     List<InterlockDetailAddDTO> interlockDetailAddDTOList;
 
+
+    /**联锁状态-统一定义*/
+    @Excel(name = "联锁状态-统一定义", width = 15)
+    @ApiModelProperty(value = "联锁状态-统一定义")
+    private java.lang.String interlockStatusPs;
+    /**联锁状态名称*/
+    @Excel(name = "联锁状态名称", width = 15)
+    @ApiModelProperty(value = "联锁状态名称")
+    private java.lang.String interlockStatusName;
+
 }

+ 9 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/summary/entity/InterlockSummary.java

@@ -104,4 +104,13 @@ public class InterlockSummary implements Serializable {
     @Excel(name = "点位当前时间", width = 15)
     @ApiModelProperty(value = "点位当前时间")
     private java.lang.String tagTime;
+
+    /**联锁状态-统一定义*/
+    @Excel(name = "联锁状态-统一定义", width = 15)
+    @ApiModelProperty(value = "联锁状态-统一定义")
+    private java.lang.String interlockStatusPs;
+    /**联锁状态名称*/
+    @Excel(name = "联锁状态名称", width = 15)
+    @ApiModelProperty(value = "联锁状态名称")
+    private java.lang.String interlockStatusName;
 }

+ 32 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/temp/entity/InterlockDetailTemp.java

@@ -236,4 +236,36 @@ public class InterlockDetailTemp implements Serializable {
     @Excel(name = "系统id", width = 15)
     @ApiModelProperty(value = "系统id")
     private java.lang.String interlockSystemId;
+
+
+
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassPs;
+    /**旁路状态-统一定义(0否1是)*/
+    private java.lang.String bypassName;
+
+    /**输入卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String inputStatusPs;
+    /**输入卡件状态-名称*/
+    private java.lang.String inputStatusName;
+
+    /**仪表状态-统一定义(0正常1故障)*/
+    private java.lang.String instrumentStatusPs;
+    /**仪表状态-名称*/
+    private java.lang.String instrumentStatusName;
+
+    /**控制系统状态-统一定义(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusPs;
+    /**控制系统状态-名称(	0正常1非正常)*/
+    private java.lang.String controlSystemStatusName;
+
+    /**输出卡件状态-统一定义(0正常1非正常)*/
+    private java.lang.String outputStatusPs;
+    /**输出卡件状态*/
+    private java.lang.String outputStatusName;
+
+    /**MP状态-统一定义(0正常1非正常)*/
+    private java.lang.String mpStatusPs;
+    /**MP状态-名称*/
+    private java.lang.String mpStatusName;
 }

+ 9 - 0
jeecg-module-interlock/src/main/java/org/jeecg/modules/temp/entity/InterlockSummaryTemp.java

@@ -104,4 +104,13 @@ public class InterlockSummaryTemp implements Serializable {
     @Excel(name = "点位当前时间", width = 15)
     @ApiModelProperty(value = "点位当前时间")
     private java.lang.String tagTime;
+
+    /**联锁状态-统一定义*/
+    @Excel(name = "联锁状态-统一定义", width = 15)
+    @ApiModelProperty(value = "联锁状态-统一定义")
+    private java.lang.String interlockStatusPs;
+    /**联锁状态名称*/
+    @Excel(name = "联锁状态名称", width = 15)
+    @ApiModelProperty(value = "联锁状态名称")
+    private java.lang.String interlockStatusName;
 }