| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.ld.igds.constant.BizType; |
| | | import com.ld.igds.constant.Constant; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 根据设备配置的Modbus-TCP参数配置 |
| | |
| | | @Column(name = "DEVICE_CODE_", length = 40) |
| | | @PropertyDef(label = "设备编码") |
| | | private String deviceCode; |
| | | |
| | | @Column(name = "BIZ_TYEP_", length = 10) |
| | | @PropertyDef(label = "业务类型") |
| | | private String bizType = BizType.AREATION.getCode(); |
| | | |
| | | @Column(name = "OPEN_", length = 10) |
| | | @PropertyDef(label = "开地址") |
| | | private String open = Constant.YN_N; |
| | | |
| | | |
| | | @Column(name = "OPEN_FUN", length = 4) |
| | | @PropertyDef(label = "功能号") |
| | |
| | | private String stopFun = "99"; |
| | | |
| | | @Column(name = "OPEN_END_", length = 10) |
| | | @PropertyDef(label = "停地址") |
| | | @PropertyDef(label = "开到位地址") |
| | | private String openEnd = Constant.YN_N; |
| | | |
| | | @Column(name = "OPEN_END_FUN", length = 4) |
| | |
| | | @PropertyDef(label = "功能号") |
| | | private String closeErrorFun = "99"; |
| | | |
| | | //轴流风机和轴流窗可能不在一个分机上,IP不同 |
| | | @Column(name = "SER_ID_", length = 10) |
| | | @PropertyDef(label = "所属分机") |
| | | private String serId; |
| | | |
| | | |
| | | @Transient |
| | | private List<GasModbus> listGas; |
| | | |
| | | } |