From 002abc4774bef114c58e490850292830ff20db6e Mon Sep 17 00:00:00 2001 From: haha Date: Sun, 16 Mar 2025 23:29:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A1=94=E5=9F=BA=E5=90=8E=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/domain/DevTowerDataCollide.java | 330 +++++++++ .../domain/DevTowerDataCollideDetail.java | 246 +++++++ .../device/domain/DevTowerDataLimit.java | 635 ++++++++++++++++++ .../device/domain/DevTowerDataLocal.java | 412 ++++++++++++ .../device/domain/DevTowerDataRound.java | 534 +++++++++++++++ .../yanzhu/device/domain/DevTowerDataRun.java | 452 +++++++++++++ .../device/domain/DevTowerDataWarning.java | 230 +++++++ .../device/domain/DevTowerProjectConfig.java | 338 ++++++++++ .../mapper/DevTowerDataCollideMapper.java | 98 +++ .../mapper/DevTowerDataLimitMapper.java | 64 ++ .../mapper/DevTowerDataLocalMapper.java | 64 ++ .../mapper/DevTowerDataRoundMapper.java | 72 ++ .../device/mapper/DevTowerDataRunMapper.java | 71 ++ .../mapper/DevTowerDataWarningMapper.java | 62 ++ .../mapper/DevTowerProjectConfigMapper.java | 70 ++ .../device/DevTowerDataCollideMapper.xml | 211 ++++++ .../mapper/device/DevTowerDataLimitMapper.xml | 251 +++++++ .../mapper/device/DevTowerDataLocalMapper.xml | 218 ++++++ .../mapper/device/DevTowerDataRoundMapper.xml | 273 ++++++++ .../mapper/device/DevTowerDataRunMapper.xml | 244 +++++++ .../device/DevTowerDataWarningMapper.xml | 154 +++++ .../device/DevTowerProjectConfigMapper.xml | 204 ++++++ 22 files changed, 5233 insertions(+) create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollide.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollideDetail.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLimit.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLocal.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRound.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRun.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataWarning.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerProjectConfig.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataCollideMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLimitMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLocalMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRoundMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRunMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataWarningMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerProjectConfigMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataCollideMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLimitMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLocalMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRoundMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRunMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataWarningMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerProjectConfigMapper.xml diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollide.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollide.java new file mode 100644 index 00000000..ec59aa08 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollide.java @@ -0,0 +1,330 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +import java.util.List; + +/** + * 塔机碰撞信息对象 dev_tower_data_collide + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataCollide extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 配置编号 */ + private Long cfgId; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔机编号 */ + @Excel(name = "塔机编号") + private String towerId; + + /** 塔机坐标x */ + @Excel(name = "塔机坐标x") + private String coordinateX; + + /** 塔机坐标y */ + @Excel(name = "塔机坐标y") + private String coordinateY; + + /** 前臂长度 */ + @Excel(name = "前臂长度") + private String frontBrachium; + + /** 平衡臂长度 */ + @Excel(name = "平衡臂长度") + private String afterBrachium; + + /** 塔身高度 */ + @Excel(name = "塔身高度") + private String towerBodyHeight; + + /** 吊钩实时高度 */ + @Excel(name = "吊钩实时高度") + private String height; + + /** 塔机实时回转角度 */ + @Excel(name = "塔机实时回转角度") + private String angle; + + /** 吊钩实时幅度 */ + @Excel(name = "吊钩实时幅度") + private String range; + + /** 设置的预警距离 */ + @Excel(name = "设置的预警距离") + private String earlyWarningDistance; + + /** 设置的报警距离 */ + @Excel(name = "设置的报警距离") + private String alarmWarningDistance; + + /** 塔身高度相差 */ + @Excel(name = "塔身高度相差") + private String contourValue; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + /** 碰撞详情信息 */ + private List devTowerDataCollideDetailList; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + + public Long getCfgId() { + return cfgId; + } + + public void setCfgId(Long cfgId) { + this.cfgId = cfgId; + } + + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setTowerId(String towerId) + { + this.towerId = towerId; + } + + public String getTowerId() + { + return towerId; + } + public void setCoordinateX(String coordinateX) + { + this.coordinateX = coordinateX; + } + + public String getCoordinateX() + { + return coordinateX; + } + public void setCoordinateY(String coordinateY) + { + this.coordinateY = coordinateY; + } + + public String getCoordinateY() + { + return coordinateY; + } + public void setFrontBrachium(String frontBrachium) + { + this.frontBrachium = frontBrachium; + } + + public String getFrontBrachium() + { + return frontBrachium; + } + public void setAfterBrachium(String afterBrachium) + { + this.afterBrachium = afterBrachium; + } + + public String getAfterBrachium() + { + return afterBrachium; + } + public void setTowerBodyHeight(String towerBodyHeight) + { + this.towerBodyHeight = towerBodyHeight; + } + + public String getTowerBodyHeight() + { + return towerBodyHeight; + } + public void setHeight(String height) + { + this.height = height; + } + + public String getHeight() + { + return height; + } + public void setAngle(String angle) + { + this.angle = angle; + } + + public String getAngle() + { + return angle; + } + public void setRange(String range) + { + this.range = range; + } + + public String getRange() + { + return range; + } + public void setEarlyWarningDistance(String earlyWarningDistance) + { + this.earlyWarningDistance = earlyWarningDistance; + } + + public String getEarlyWarningDistance() + { + return earlyWarningDistance; + } + public void setAlarmWarningDistance(String alarmWarningDistance) + { + this.alarmWarningDistance = alarmWarningDistance; + } + + public String getAlarmWarningDistance() + { + return alarmWarningDistance; + } + public void setContourValue(String contourValue) + { + this.contourValue = contourValue; + } + + public String getContourValue() + { + return contourValue; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + public List getDevTowerDataCollideDetailList() + { + return devTowerDataCollideDetailList; + } + + public void setDevTowerDataCollideDetailList(List devTowerDataCollideDetailList) + { + this.devTowerDataCollideDetailList = devTowerDataCollideDetailList; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("towerId", getTowerId()) + .append("coordinateX", getCoordinateX()) + .append("coordinateY", getCoordinateY()) + .append("frontBrachium", getFrontBrachium()) + .append("afterBrachium", getAfterBrachium()) + .append("towerBodyHeight", getTowerBodyHeight()) + .append("height", getHeight()) + .append("angle", getAngle()) + .append("range", getRange()) + .append("earlyWarningDistance", getEarlyWarningDistance()) + .append("alarmWarningDistance", getAlarmWarningDistance()) + .append("contourValue", getContourValue()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("devTowerDataCollideDetailList", getDevTowerDataCollideDetailList()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollideDetail.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollideDetail.java new file mode 100644 index 00000000..245edcc8 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataCollideDetail.java @@ -0,0 +1,246 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 碰撞详情对象 dev_tower_data_collide_detail + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataCollideDetail extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 碰撞主键 */ + @Excel(name = "碰撞主键") + private Long collideId; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔机编号 */ + @Excel(name = "塔机编号") + private String towerId; + + /** 塔机坐标x */ + @Excel(name = "塔机坐标x") + private String coordinateX; + + /** 塔机坐标y */ + @Excel(name = "塔机坐标y") + private String coordinateY; + + /** 前臂长度 */ + @Excel(name = "前臂长度") + private String frontBrachium; + + /** 平衡臂长度 */ + @Excel(name = "平衡臂长度") + private String afterBrachium; + + /** 塔身高度 */ + @Excel(name = "塔身高度") + private String towerBodyHeight; + + /** 吊钩实时高度 */ + @Excel(name = "吊钩实时高度") + private String height; + + /** 塔机实时回转角度 */ + @Excel(name = "塔机实时回转角度") + private String angle; + + /** 吊钩实时幅度 */ + @Excel(name = "吊钩实时幅度") + private String range; + + /** 最短碰撞水平距离 */ + @Excel(name = "最短碰撞水平距离") + private String collideHorizontalDistance; + + /** 最短碰撞前后距离 */ + @Excel(name = "最短碰撞前后距离") + private String collideVerticalDistance; + + /** 碰撞状态 */ + @Excel(name = "碰撞状态") + private String collideState; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCollideId(Long collideId) + { + this.collideId = collideId; + } + + public Long getCollideId() + { + return collideId; + } + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setTowerId(String towerId) + { + this.towerId = towerId; + } + + public String getTowerId() + { + return towerId; + } + public void setCoordinateX(String coordinateX) + { + this.coordinateX = coordinateX; + } + + public String getCoordinateX() + { + return coordinateX; + } + public void setCoordinateY(String coordinateY) + { + this.coordinateY = coordinateY; + } + + public String getCoordinateY() + { + return coordinateY; + } + public void setFrontBrachium(String frontBrachium) + { + this.frontBrachium = frontBrachium; + } + + public String getFrontBrachium() + { + return frontBrachium; + } + public void setAfterBrachium(String afterBrachium) + { + this.afterBrachium = afterBrachium; + } + + public String getAfterBrachium() + { + return afterBrachium; + } + public void setTowerBodyHeight(String towerBodyHeight) + { + this.towerBodyHeight = towerBodyHeight; + } + + public String getTowerBodyHeight() + { + return towerBodyHeight; + } + public void setHeight(String height) + { + this.height = height; + } + + public String getHeight() + { + return height; + } + public void setAngle(String angle) + { + this.angle = angle; + } + + public String getAngle() + { + return angle; + } + public void setRange(String range) + { + this.range = range; + } + + public String getRange() + { + return range; + } + + public String getCollideHorizontalDistance() { + return collideHorizontalDistance; + } + + public void setCollideHorizontalDistance(String collideHorizontalDistance) { + this.collideHorizontalDistance = collideHorizontalDistance; + } + + public String getCollideVerticalDistance() { + return collideVerticalDistance; + } + + public void setCollideVerticalDistance(String collideVerticalDistance) { + this.collideVerticalDistance = collideVerticalDistance; + } + + public void setCollideState(String collideState) + { + this.collideState = collideState; + } + + public String getCollideState() + { + return collideState; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("collideId", getCollideId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("towerId", getTowerId()) + .append("coordinateX", getCoordinateX()) + .append("coordinateY", getCoordinateY()) + .append("frontBrachium", getFrontBrachium()) + .append("afterBrachium", getAfterBrachium()) + .append("towerBodyHeight", getTowerBodyHeight()) + .append("height", getHeight()) + .append("angle", getAngle()) + .append("range", getRange()) + .append("collideHorizontalDistance", getCollideHorizontalDistance()) + .append("collideVerticalDistance", getCollideVerticalDistance()) + .append("collideState", getCollideState()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLimit.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLimit.java new file mode 100644 index 00000000..dbe3e1c4 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLimit.java @@ -0,0 +1,635 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +/** + * 塔机限位信息对象 dev_tower_data_limit + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataLimit extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 配置编号 */ + private Long cfgId; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔机编号 */ + @Excel(name = "塔机编号") + private String towerId; + + /** 风速预警 */ + @Excel(name = "风速预警") + private String windSpeedWarning; + + /** 风速报警 */ + @Excel(name = "风速报警") + private String windSpeedAlarm; + + /** 超载预警 */ + @Excel(name = "超载预警") + private String loadWarning; + + /** 超载报警 */ + @Excel(name = "超载报警") + private String loadAlarm; + + /** 力矩预警 */ + @Excel(name = "力矩预警") + private String momentWarning; + + /** 力矩报警 */ + @Excel(name = "力矩报警") + private String momentAlarm; + + /** 高限位预警 */ + @Excel(name = "高限位预警") + private String highLimitWarning; + + /** 高限位报警 */ + @Excel(name = "高限位报警") + private String highLimitAlarm; + + /** 低限位预警 */ + @Excel(name = "低限位预警") + private String lowLimitWarning; + + /** 低限位报警 */ + @Excel(name = "低限位报警") + private String lowLimitAlarm; + + /** 左限位预警 */ + @Excel(name = "左限位预警") + private String leftLimitWarning; + + /** 左限位报警 */ + @Excel(name = "左限位报警") + private String leftLimitAlarm; + + /** 右限位预警 */ + @Excel(name = "右限位预警") + private String rightLimitWarning; + + /** 右限位报警 */ + @Excel(name = "右限位报警") + private String rightLimitAlarm; + + /** 前限位预警 */ + @Excel(name = "前限位预警") + private String frontLimitWarning; + + /** 前限位报警 */ + @Excel(name = "前限位报警") + private String frontLimitAlarm; + + /** 后限位预警 */ + @Excel(name = "后限位预警") + private String backLimitWarning; + + /** 后限位报警 */ + @Excel(name = "后限位报警") + private String backLimitAlarm; + + /** 防碰角度预警 */ + @Excel(name = "防碰角度预警") + private String collisionAngleWarning; + + /** 防碰角度报警 */ + @Excel(name = "防碰角度报警") + private String collisionAngleAlarm; + + /** 防碰距离预警 */ + @Excel(name = "防碰距离预警") + private String collisionDistanceWarning; + + /** 防碰距离报警 */ + @Excel(name = "防碰距离报警") + private String collisionDistanceAlarm; + + /** 水平距离预警值 */ + @Excel(name = "水平距离预警值") + private String hDistanceWarning; + + /** 水平距离报警值 */ + @Excel(name = "水平距离报警值") + private String hDistanceAlarm; + + /** 垂直距离预警值 */ + @Excel(name = "垂直距离预警值") + private String vDistanceWarning; + + /** 垂直距离报警值 */ + @Excel(name = "垂直距离报警值") + private String vDistanceAlarm; + + /** 倾斜预警值 */ + @Excel(name = "倾斜预警值") + private String leanWarning; + + /** 倾斜报警值 */ + @Excel(name = "倾斜报警值") + private String leanAlarm; + + /** 幅度限位起点值 */ + @Excel(name = "幅度限位起点值") + private String rangeLimitStart; + + /** 幅度限位终点值 */ + @Excel(name = "幅度限位终点值") + private String rangeLimitEnd; + + /** 高度限位起点值 */ + @Excel(name = "高度限位起点值") + private String heightLimitStart; + + /** 高度限位终点值 */ + @Excel(name = "高度限位终点值") + private String heightLimitEnd; + + /** 回转限位起点值 */ + @Excel(name = "回转限位起点值") + private String rotationLimitStart; + + /** 回转限位终点值 */ + @Excel(name = "回转限位终点值") + private String rotationLimitEnd; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + + public Long getCfgId() { + return cfgId; + } + + public void setCfgId(Long cfgId) { + this.cfgId = cfgId; + } + + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setTowerId(String towerId) + { + this.towerId = towerId; + } + + public String getTowerId() + { + return towerId; + } + public void setWindSpeedWarning(String windSpeedWarning) + { + this.windSpeedWarning = windSpeedWarning; + } + + public String getWindSpeedWarning() + { + return windSpeedWarning; + } + public void setWindSpeedAlarm(String windSpeedAlarm) + { + this.windSpeedAlarm = windSpeedAlarm; + } + + public String getWindSpeedAlarm() + { + return windSpeedAlarm; + } + public void setLoadWarning(String loadWarning) + { + this.loadWarning = loadWarning; + } + + public String getLoadWarning() + { + return loadWarning; + } + public void setLoadAlarm(String loadAlarm) + { + this.loadAlarm = loadAlarm; + } + + public String getLoadAlarm() + { + return loadAlarm; + } + public void setMomentWarning(String momentWarning) + { + this.momentWarning = momentWarning; + } + + public String getMomentWarning() + { + return momentWarning; + } + public void setMomentAlarm(String momentAlarm) + { + this.momentAlarm = momentAlarm; + } + + public String getMomentAlarm() + { + return momentAlarm; + } + public void setHighLimitWarning(String highLimitWarning) + { + this.highLimitWarning = highLimitWarning; + } + + public String getHighLimitWarning() + { + return highLimitWarning; + } + public void setHighLimitAlarm(String highLimitAlarm) + { + this.highLimitAlarm = highLimitAlarm; + } + + public String getHighLimitAlarm() + { + return highLimitAlarm; + } + public void setLowLimitWarning(String lowLimitWarning) + { + this.lowLimitWarning = lowLimitWarning; + } + + public String getLowLimitWarning() + { + return lowLimitWarning; + } + public void setLowLimitAlarm(String lowLimitAlarm) + { + this.lowLimitAlarm = lowLimitAlarm; + } + + public String getLowLimitAlarm() + { + return lowLimitAlarm; + } + public void setLeftLimitWarning(String leftLimitWarning) + { + this.leftLimitWarning = leftLimitWarning; + } + + public String getLeftLimitWarning() + { + return leftLimitWarning; + } + public void setLeftLimitAlarm(String leftLimitAlarm) + { + this.leftLimitAlarm = leftLimitAlarm; + } + + public String getLeftLimitAlarm() + { + return leftLimitAlarm; + } + public void setRightLimitWarning(String rightLimitWarning) + { + this.rightLimitWarning = rightLimitWarning; + } + + public String getRightLimitWarning() + { + return rightLimitWarning; + } + public void setRightLimitAlarm(String rightLimitAlarm) + { + this.rightLimitAlarm = rightLimitAlarm; + } + + public String getRightLimitAlarm() + { + return rightLimitAlarm; + } + public void setFrontLimitWarning(String frontLimitWarning) + { + this.frontLimitWarning = frontLimitWarning; + } + + public String getFrontLimitWarning() + { + return frontLimitWarning; + } + public void setFrontLimitAlarm(String frontLimitAlarm) + { + this.frontLimitAlarm = frontLimitAlarm; + } + + public String getFrontLimitAlarm() + { + return frontLimitAlarm; + } + public void setBackLimitWarning(String backLimitWarning) + { + this.backLimitWarning = backLimitWarning; + } + + public String getBackLimitWarning() + { + return backLimitWarning; + } + public void setBackLimitAlarm(String backLimitAlarm) + { + this.backLimitAlarm = backLimitAlarm; + } + + public String getBackLimitAlarm() + { + return backLimitAlarm; + } + public void setCollisionAngleWarning(String collisionAngleWarning) + { + this.collisionAngleWarning = collisionAngleWarning; + } + + public String getCollisionAngleWarning() + { + return collisionAngleWarning; + } + public void setCollisionAngleAlarm(String collisionAngleAlarm) + { + this.collisionAngleAlarm = collisionAngleAlarm; + } + + public String getCollisionAngleAlarm() + { + return collisionAngleAlarm; + } + public void setCollisionDistanceWarning(String collisionDistanceWarning) + { + this.collisionDistanceWarning = collisionDistanceWarning; + } + + public String getCollisionDistanceWarning() + { + return collisionDistanceWarning; + } + public void setCollisionDistanceAlarm(String collisionDistanceAlarm) + { + this.collisionDistanceAlarm = collisionDistanceAlarm; + } + + public String getCollisionDistanceAlarm() + { + return collisionDistanceAlarm; + } + public void sethDistanceWarning(String hDistanceWarning) + { + this.hDistanceWarning = hDistanceWarning; + } + + public String gethDistanceWarning() + { + return hDistanceWarning; + } + public void sethDistanceAlarm(String hDistanceAlarm) + { + this.hDistanceAlarm = hDistanceAlarm; + } + + public String gethDistanceAlarm() + { + return hDistanceAlarm; + } + public void setvDistanceWarning(String vDistanceWarning) + { + this.vDistanceWarning = vDistanceWarning; + } + + public String getvDistanceWarning() + { + return vDistanceWarning; + } + public void setvDistanceAlarm(String vDistanceAlarm) + { + this.vDistanceAlarm = vDistanceAlarm; + } + + public String getvDistanceAlarm() + { + return vDistanceAlarm; + } + public void setLeanWarning(String leanWarning) + { + this.leanWarning = leanWarning; + } + + public String getLeanWarning() + { + return leanWarning; + } + public void setLeanAlarm(String leanAlarm) + { + this.leanAlarm = leanAlarm; + } + + public String getLeanAlarm() + { + return leanAlarm; + } + public void setRangeLimitStart(String rangeLimitStart) + { + this.rangeLimitStart = rangeLimitStart; + } + + public String getRangeLimitStart() + { + return rangeLimitStart; + } + public void setRangeLimitEnd(String rangeLimitEnd) + { + this.rangeLimitEnd = rangeLimitEnd; + } + + public String getRangeLimitEnd() + { + return rangeLimitEnd; + } + public void setHeightLimitStart(String heightLimitStart) + { + this.heightLimitStart = heightLimitStart; + } + + public String getHeightLimitStart() + { + return heightLimitStart; + } + public void setHeightLimitEnd(String heightLimitEnd) + { + this.heightLimitEnd = heightLimitEnd; + } + + public String getHeightLimitEnd() + { + return heightLimitEnd; + } + public void setRotationLimitStart(String rotationLimitStart) + { + this.rotationLimitStart = rotationLimitStart; + } + + public String getRotationLimitStart() + { + return rotationLimitStart; + } + public void setRotationLimitEnd(String rotationLimitEnd) + { + this.rotationLimitEnd = rotationLimitEnd; + } + + public String getRotationLimitEnd() + { + return rotationLimitEnd; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("towerId", getTowerId()) + .append("windSpeedWarning", getWindSpeedWarning()) + .append("windSpeedAlarm", getWindSpeedAlarm()) + .append("loadWarning", getLoadWarning()) + .append("loadAlarm", getLoadAlarm()) + .append("momentWarning", getMomentWarning()) + .append("momentAlarm", getMomentAlarm()) + .append("highLimitWarning", getHighLimitWarning()) + .append("highLimitAlarm", getHighLimitAlarm()) + .append("lowLimitWarning", getLowLimitWarning()) + .append("lowLimitAlarm", getLowLimitAlarm()) + .append("leftLimitWarning", getLeftLimitWarning()) + .append("leftLimitAlarm", getLeftLimitAlarm()) + .append("rightLimitWarning", getRightLimitWarning()) + .append("rightLimitAlarm", getRightLimitAlarm()) + .append("frontLimitWarning", getFrontLimitWarning()) + .append("frontLimitAlarm", getFrontLimitAlarm()) + .append("backLimitWarning", getBackLimitWarning()) + .append("backLimitAlarm", getBackLimitAlarm()) + .append("collisionAngleWarning", getCollisionAngleWarning()) + .append("collisionAngleAlarm", getCollisionAngleAlarm()) + .append("collisionDistanceWarning", getCollisionDistanceWarning()) + .append("collisionDistanceAlarm", getCollisionDistanceAlarm()) + .append("hDistanceWarning", gethDistanceWarning()) + .append("hDistanceAlarm", gethDistanceAlarm()) + .append("vDistanceWarning", getvDistanceWarning()) + .append("vDistanceAlarm", getvDistanceAlarm()) + .append("leanWarning", getLeanWarning()) + .append("leanAlarm", getLeanAlarm()) + .append("rangeLimitStart", getRangeLimitStart()) + .append("rangeLimitEnd", getRangeLimitEnd()) + .append("heightLimitStart", getHeightLimitStart()) + .append("heightLimitEnd", getHeightLimitEnd()) + .append("rotationLimitStart", getRotationLimitStart()) + .append("rotationLimitEnd", getRotationLimitEnd()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLocal.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLocal.java new file mode 100644 index 00000000..85032499 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataLocal.java @@ -0,0 +1,412 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 塔机定位信息对象 dev_tower_data_local + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataLocal extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 配置编号 */ + private Long cfgId; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔机编号 */ + @Excel(name = "塔机编号") + private String towerId; + + /** 近端幅度标定AD定值 */ + @Excel(name = "近端幅度标定AD定值") + private String rangeNearEndAdValue; + + /** 近端幅度标定实际值 */ + @Excel(name = "近端幅度标定实际值") + private String rangeNearEndRealityValue; + + /** 远端幅度标定AD定值 */ + @Excel(name = "远端幅度标定AD定值") + private String rangeFarEndAdValue; + + /** 远端幅度标定实际值 */ + @Excel(name = "远端幅度标定实际值") + private String rangeFarEndRealityValue; + + /** 高度近端标定AD定值 */ + @Excel(name = "高度近端标定AD定值") + private String highNearEndAdValue; + + /** 高度近端标定实际值 */ + @Excel(name = "高度近端标定实际值") + private String highNearEndRealityValue; + + /** 高度远端标定AD定值 */ + @Excel(name = "高度远端标定AD定值") + private String highFarEndAdValue; + + /** 高度远端标定实际值 */ + @Excel(name = "高度远端标定实际值") + private String highFarEndRealityValue; + + /** 空载重量AD值 */ + @Excel(name = "空载重量AD值") + private String emptyWeightAdValue; + + /** 空载重量实际值 */ + @Excel(name = "空载重量实际值") + private String emptyWeightRealityValue; + + /** 负载重量AD值 */ + @Excel(name = "负载重量AD值") + private String loadWeightAdValue; + + /** 负载重量实际值 */ + @Excel(name = "负载重量实际值") + private String loadWeightRealityValue; + + /** 回转起点AD值 */ + @Excel(name = "回转起点AD值") + private String rotationStartAdValue; + + /** 回转起点实际角度 */ + @Excel(name = "回转起点实际角度") + private String rotationStartRealityValue; + + /** 回转终点AD值 */ + @Excel(name = "回转终点AD值") + private String rotationEndAdValue; + + /** 回转终点实际角度 */ + @Excel(name = "回转终点实际角度") + private String rotationEndRealityValue; + + /** 风速校准系数 */ + @Excel(name = "风速校准系数") + private String windSpeedFactor; + + /** 倾斜校准系数 */ + @Excel(name = "倾斜校准系数") + private String tiltFactor; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + + public Long getCfgId() { + return cfgId; + } + + public void setCfgId(Long cfgId) { + this.cfgId = cfgId; + } + + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setTowerId(String towerId) + { + this.towerId = towerId; + } + + public String getTowerId() + { + return towerId; + } + public void setRangeNearEndAdValue(String rangeNearEndAdValue) + { + this.rangeNearEndAdValue = rangeNearEndAdValue; + } + + public String getRangeNearEndAdValue() + { + return rangeNearEndAdValue; + } + public void setRangeNearEndRealityValue(String rangeNearEndRealityValue) + { + this.rangeNearEndRealityValue = rangeNearEndRealityValue; + } + + public String getRangeNearEndRealityValue() + { + return rangeNearEndRealityValue; + } + public void setRangeFarEndAdValue(String rangeFarEndAdValue) + { + this.rangeFarEndAdValue = rangeFarEndAdValue; + } + + public String getRangeFarEndAdValue() + { + return rangeFarEndAdValue; + } + public void setRangeFarEndRealityValue(String rangeFarEndRealityValue) + { + this.rangeFarEndRealityValue = rangeFarEndRealityValue; + } + + public String getRangeFarEndRealityValue() + { + return rangeFarEndRealityValue; + } + public void setHighNearEndAdValue(String highNearEndAdValue) + { + this.highNearEndAdValue = highNearEndAdValue; + } + + public String getHighNearEndAdValue() + { + return highNearEndAdValue; + } + public void setHighNearEndRealityValue(String highNearEndRealityValue) + { + this.highNearEndRealityValue = highNearEndRealityValue; + } + + public String getHighNearEndRealityValue() + { + return highNearEndRealityValue; + } + public void setHighFarEndAdValue(String highFarEndAdValue) + { + this.highFarEndAdValue = highFarEndAdValue; + } + + public String getHighFarEndAdValue() + { + return highFarEndAdValue; + } + public void setHighFarEndRealityValue(String highFarEndRealityValue) + { + this.highFarEndRealityValue = highFarEndRealityValue; + } + + public String getHighFarEndRealityValue() + { + return highFarEndRealityValue; + } + public void setEmptyWeightAdValue(String emptyWeightAdValue) + { + this.emptyWeightAdValue = emptyWeightAdValue; + } + + public String getEmptyWeightAdValue() + { + return emptyWeightAdValue; + } + public void setEmptyWeightRealityValue(String emptyWeightRealityValue) + { + this.emptyWeightRealityValue = emptyWeightRealityValue; + } + + public String getEmptyWeightRealityValue() + { + return emptyWeightRealityValue; + } + public void setLoadWeightAdValue(String loadWeightAdValue) + { + this.loadWeightAdValue = loadWeightAdValue; + } + + public String getLoadWeightAdValue() + { + return loadWeightAdValue; + } + public void setLoadWeightRealityValue(String loadWeightRealityValue) + { + this.loadWeightRealityValue = loadWeightRealityValue; + } + + public String getLoadWeightRealityValue() + { + return loadWeightRealityValue; + } + public void setRotationStartAdValue(String rotationStartAdValue) + { + this.rotationStartAdValue = rotationStartAdValue; + } + + public String getRotationStartAdValue() + { + return rotationStartAdValue; + } + public void setRotationStartRealityValue(String rotationStartRealityValue) + { + this.rotationStartRealityValue = rotationStartRealityValue; + } + + public String getRotationStartRealityValue() + { + return rotationStartRealityValue; + } + public void setRotationEndAdValue(String rotationEndAdValue) + { + this.rotationEndAdValue = rotationEndAdValue; + } + + public String getRotationEndAdValue() + { + return rotationEndAdValue; + } + public void setRotationEndRealityValue(String rotationEndRealityValue) + { + this.rotationEndRealityValue = rotationEndRealityValue; + } + + public String getRotationEndRealityValue() + { + return rotationEndRealityValue; + } + public void setWindSpeedFactor(String windSpeedFactor) + { + this.windSpeedFactor = windSpeedFactor; + } + + public String getWindSpeedFactor() + { + return windSpeedFactor; + } + public void setTiltFactor(String tiltFactor) + { + this.tiltFactor = tiltFactor; + } + + public String getTiltFactor() + { + return tiltFactor; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("towerId", getTowerId()) + .append("rangeNearEndAdValue", getRangeNearEndAdValue()) + .append("rangeNearEndRealityValue", getRangeNearEndRealityValue()) + .append("rangeFarEndAdValue", getRangeFarEndAdValue()) + .append("rangeFarEndRealityValue", getRangeFarEndRealityValue()) + .append("highNearEndAdValue", getHighNearEndAdValue()) + .append("highNearEndRealityValue", getHighNearEndRealityValue()) + .append("highFarEndAdValue", getHighFarEndAdValue()) + .append("highFarEndRealityValue", getHighFarEndRealityValue()) + .append("emptyWeightAdValue", getEmptyWeightAdValue()) + .append("emptyWeightRealityValue", getEmptyWeightRealityValue()) + .append("loadWeightAdValue", getLoadWeightAdValue()) + .append("loadWeightRealityValue", getLoadWeightRealityValue()) + .append("rotationStartAdValue", getRotationStartAdValue()) + .append("rotationStartRealityValue", getRotationStartRealityValue()) + .append("rotationEndAdValue", getRotationEndAdValue()) + .append("rotationEndRealityValue", getRotationEndRealityValue()) + .append("windSpeedFactor", getWindSpeedFactor()) + .append("tiltFactor", getTiltFactor()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRound.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRound.java new file mode 100644 index 00000000..aefbd404 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRound.java @@ -0,0 +1,534 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 塔机工作循环对象 dev_tower_data_round + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataRound extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 配置编号 */ + private Long cfgId; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔吊编号 */ + @Excel(name = "塔吊编号") + private String towerId; + + /** 工作循环开始 */ + @Excel(name = "工作循环开始") + private String workStartTime; + + /** 工作循环结束 */ + @Excel(name = "工作循环结束") + private String workEndTime; + + /** 工作循环最小高度 */ + @Excel(name = "工作循环最小高度") + private String minHeight; + + /** 工作循环最大高度 */ + @Excel(name = "工作循环最大高度") + private String maxHeight; + + /** 工作循环最小幅度 */ + @Excel(name = "工作循环最小幅度") + private String minRange; + + /** 工作循环最大幅度 */ + @Excel(name = "工作循环最大幅度") + private String maxRange; + + /** 工作循环开始高度 */ + @Excel(name = "工作循环开始高度") + private String startHeight; + + /** 工作循环结束高度 */ + @Excel(name = "工作循环结束高度") + private String endHeight; + + /** 工作循环开始幅度 */ + @Excel(name = "工作循环开始幅度") + private String startRange; + + /** 工作循环结束幅度单位米 */ + @Excel(name = "工作循环结束幅度单位米") + private String endRange; + + /** 工作循环开始回转角度单位度 */ + @Excel(name = "工作循环开始回转角度单位度") + private String startRotation; + + /** 工作循环结束回转角度单位度 */ + @Excel(name = "工作循环结束回转角度单位度") + private String endRotation; + + /** 工作循环最大吊重单位吨 */ + @Excel(name = "工作循环最大吊重单位吨") + private String maxLoad; + + /** 工作循环最大重量百分比 */ + @Excel(name = "工作循环最大重量百分比") + private String maxLoadPercent; + + /** 工作循环最大力矩 */ + @Excel(name = "工作循环最大力矩") + private String maxMoment; + + /** 工作循环最大力矩百分比 */ + @Excel(name = "工作循环最大力矩百分比") + private String maxMomentPercent; + + /** 工作循环开始风速 */ + @Excel(name = "工作循环开始风速") + private String startWindSpeed; + + /** 工作循环结束风速 */ + @Excel(name = "工作循环结束风速") + private String endWindSpeed; + + /** 工作循环开始风速等级 */ + @Excel(name = "工作循环开始风速等级") + private String startWindSpeedPercent; + + /** 工作循环结束风速等级 */ + @Excel(name = "工作循环结束风速等级") + private String endWindSpeedPercent; + + /** 工作循环开始水平倾角 */ + @Excel(name = "工作循环开始水平倾角") + private String startLeanAngleX; + + /** 工作循环结束水平倾角 */ + @Excel(name = "工作循环结束水平倾角") + private String endLeanAngleX; + + /** 工作循环开始垂直倾角 */ + @Excel(name = "工作循环开始垂直倾角") + private String startLeanAngleY; + + /** 工作循环结束垂直倾角 */ + @Excel(name = "工作循环结束垂直倾角") + private String endLeanAngleY; + + /** 警报信息 */ + @Excel(name = "警报信息") + private String warnings; + + /** 是否告警 */ + @Excel(name = "是否告警") + private Long isAlarm; + + /** 是否告警 */ + @Excel(name = "是否告警") + private Long isOverload; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + + public Long getCfgId() { + return cfgId; + } + + public void setCfgId(Long cfgId) { + this.cfgId = cfgId; + } + + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setTowerId(String towerId) + { + this.towerId = towerId; + } + + public String getTowerId() + { + return towerId; + } + public void setWorkStartTime(String workStartTime) + { + this.workStartTime = workStartTime; + } + + public String getWorkStartTime() + { + return workStartTime; + } + public void setWorkEndTime(String workEndTime) + { + this.workEndTime = workEndTime; + } + + public String getWorkEndTime() + { + return workEndTime; + } + public void setMinHeight(String minHeight) + { + this.minHeight = minHeight; + } + + public String getMinHeight() + { + return minHeight; + } + public void setMaxHeight(String maxHeight) + { + this.maxHeight = maxHeight; + } + + public String getMaxHeight() + { + return maxHeight; + } + public void setMinRange(String minRange) + { + this.minRange = minRange; + } + + public String getMinRange() + { + return minRange; + } + public void setMaxRange(String maxRange) + { + this.maxRange = maxRange; + } + + public String getMaxRange() + { + return maxRange; + } + public void setStartHeight(String startHeight) + { + this.startHeight = startHeight; + } + + public String getStartHeight() + { + return startHeight; + } + public void setEndHeight(String endHeight) + { + this.endHeight = endHeight; + } + + public String getEndHeight() + { + return endHeight; + } + public void setStartRange(String startRange) + { + this.startRange = startRange; + } + + public String getStartRange() + { + return startRange; + } + public void setEndRange(String endRange) + { + this.endRange = endRange; + } + + public String getEndRange() + { + return endRange; + } + public void setStartRotation(String startRotation) + { + this.startRotation = startRotation; + } + + public String getStartRotation() + { + return startRotation; + } + public void setEndRotation(String endRotation) + { + this.endRotation = endRotation; + } + + public String getEndRotation() + { + return endRotation; + } + public void setMaxLoad(String maxLoad) + { + this.maxLoad = maxLoad; + } + + public String getMaxLoad() + { + return maxLoad; + } + public void setMaxLoadPercent(String maxLoadPercent) + { + this.maxLoadPercent = maxLoadPercent; + } + + public String getMaxLoadPercent() + { + return maxLoadPercent; + } + public void setMaxMoment(String maxMoment) + { + this.maxMoment = maxMoment; + } + + public String getMaxMoment() + { + return maxMoment; + } + public void setMaxMomentPercent(String maxMomentPercent) + { + this.maxMomentPercent = maxMomentPercent; + } + + public String getMaxMomentPercent() + { + return maxMomentPercent; + } + public void setStartWindSpeed(String startWindSpeed) + { + this.startWindSpeed = startWindSpeed; + } + + public String getStartWindSpeed() + { + return startWindSpeed; + } + public void setEndWindSpeed(String endWindSpeed) + { + this.endWindSpeed = endWindSpeed; + } + + public String getEndWindSpeed() + { + return endWindSpeed; + } + public void setStartWindSpeedPercent(String startWindSpeedPercent) + { + this.startWindSpeedPercent = startWindSpeedPercent; + } + + public String getStartWindSpeedPercent() + { + return startWindSpeedPercent; + } + public void setEndWindSpeedPercent(String endWindSpeedPercent) + { + this.endWindSpeedPercent = endWindSpeedPercent; + } + + public String getEndWindSpeedPercent() + { + return endWindSpeedPercent; + } + public void setStartLeanAngleX(String startLeanAngleX) + { + this.startLeanAngleX = startLeanAngleX; + } + + public String getStartLeanAngleX() + { + return startLeanAngleX; + } + public void setEndLeanAngleX(String endLeanAngleX) + { + this.endLeanAngleX = endLeanAngleX; + } + + public String getEndLeanAngleX() + { + return endLeanAngleX; + } + public void setStartLeanAngleY(String startLeanAngleY) + { + this.startLeanAngleY = startLeanAngleY; + } + + public String getStartLeanAngleY() + { + return startLeanAngleY; + } + public void setEndLeanAngleY(String endLeanAngleY) + { + this.endLeanAngleY = endLeanAngleY; + } + + public String getEndLeanAngleY() + { + return endLeanAngleY; + } + public void setWarnings(String warnings) + { + this.warnings = warnings; + } + + public String getWarnings() + { + return warnings; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + public Long getIsAlarm() { + return isAlarm; + } + + public void setIsAlarm(Long isAlarm) { + this.isAlarm = isAlarm; + } + + public Long getIsOverload() { + return isOverload; + } + + public void setIsOverload(Long isOverload) { + this.isOverload = isOverload; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("towerId", getTowerId()) + .append("workStartTime", getWorkStartTime()) + .append("workEndTime", getWorkEndTime()) + .append("minHeight", getMinHeight()) + .append("maxHeight", getMaxHeight()) + .append("minRange", getMinRange()) + .append("maxRange", getMaxRange()) + .append("startHeight", getStartHeight()) + .append("endHeight", getEndHeight()) + .append("startRange", getStartRange()) + .append("endRange", getEndRange()) + .append("startRotation", getStartRotation()) + .append("endRotation", getEndRotation()) + .append("maxLoad", getMaxLoad()) + .append("maxLoadPercent", getMaxLoadPercent()) + .append("maxMoment", getMaxMoment()) + .append("maxMomentPercent", getMaxMomentPercent()) + .append("startWindSpeed", getStartWindSpeed()) + .append("endWindSpeed", getEndWindSpeed()) + .append("startWindSpeedPercent", getStartWindSpeedPercent()) + .append("endWindSpeedPercent", getEndWindSpeedPercent()) + .append("startLeanAngleX", getStartLeanAngleX()) + .append("endLeanAngleX", getEndLeanAngleX()) + .append("startLeanAngleY", getStartLeanAngleY()) + .append("endLeanAngleY", getEndLeanAngleY()) + .append("warnings", getWarnings()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRun.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRun.java new file mode 100644 index 00000000..94706d0e --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataRun.java @@ -0,0 +1,452 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 塔机实时数据对象 dev_tower_data_run + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataRun extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 配置编号 */ + private Long cfgId; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 当前高度 */ + @Excel(name = "当前高度") + private String height; + + /** 当前幅度 */ + @Excel(name = "当前幅度") + private String range; + + /** 回转 */ + @Excel(name = "回转") + private String rotation; + + /** 当前吊重 */ + @Excel(name = "当前吊重") + private String load; + + /** 风速 */ + @Excel(name = "风速") + private String windSpeed; + + /** 水平倾角 */ + @Excel(name = "水平倾角") + private String leanAngleX; + + /** 垂直倾角 */ + @Excel(name = "垂直倾角") + private String leanAngleY; + + /** 重量百分比 */ + @Excel(name = "重量百分比") + private String loadPercent; + + /** 力矩百分比 */ + @Excel(name = "力矩百分比") + private String momentPercent; + + /** 风速等级 */ + @Excel(name = "风速等级") + private String windSpeedPercent; + + /** 倾斜百分比 */ + @Excel(name = "倾斜百分比") + private String leanAnglePercent; + + /** 警报信息 */ + @Excel(name = "警报信息") + private String warnings; + + /** 倍率 */ + @Excel(name = "倍率") + private String rate; + + /** 回转传感器状态 */ + @Excel(name = "回转传感器状态") + private String rotationSensorState; + + /** 重量传感器状态 */ + @Excel(name = "重量传感器状态") + private String loadSensorState; + + /** 风速传感器状态 */ + @Excel(name = "风速传感器状态") + private String windSpeedSensorState; + + /** 倾角传感器状态 */ + @Excel(name = "倾角传感器状态") + private String leanAngleSensorState; + + /** 幅度传感器状态 */ + @Excel(name = "幅度传感器状态") + private String rangeSensorState; + + /** 高度传感器状态 */ + @Excel(name = "高度传感器状态") + private String heightSensorState; + + /** 控制状态 */ + @Excel(name = "控制状态") + private String brakingStatus; + + /** 时间戳 */ + @Excel(name = "时间戳") + private Long timeLongs; + + /** 是否告警 */ + @Excel(name = "是否告警") + private Long isAlarm; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + + public Long getCfgId() { + return cfgId; + } + + public void setCfgId(Long cfgId) { + this.cfgId = cfgId; + } + + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setHeight(String height) + { + this.height = height; + } + + public String getHeight() + { + return height; + } + public void setRange(String range) + { + this.range = range; + } + + public String getRange() + { + return range; + } + public void setRotation(String rotation) + { + this.rotation = rotation; + } + + public String getRotation() + { + return rotation; + } + public void setLoad(String load) + { + this.load = load; + } + + public String getLoad() + { + return load; + } + public void setWindSpeed(String windSpeed) + { + this.windSpeed = windSpeed; + } + + public String getWindSpeed() + { + return windSpeed; + } + public void setLeanAngleX(String leanAngleX) + { + this.leanAngleX = leanAngleX; + } + + public String getLeanAngleX() + { + return leanAngleX; + } + public void setLeanAngleY(String leanAngleY) + { + this.leanAngleY = leanAngleY; + } + + public String getLeanAngleY() + { + return leanAngleY; + } + public void setLoadPercent(String loadPercent) + { + this.loadPercent = loadPercent; + } + + public String getLoadPercent() + { + return loadPercent; + } + public void setMomentPercent(String momentPercent) + { + this.momentPercent = momentPercent; + } + + public String getMomentPercent() + { + return momentPercent; + } + public void setWindSpeedPercent(String windSpeedPercent) + { + this.windSpeedPercent = windSpeedPercent; + } + + public String getWindSpeedPercent() + { + return windSpeedPercent; + } + public void setLeanAnglePercent(String leanAnglePercent) + { + this.leanAnglePercent = leanAnglePercent; + } + + public String getLeanAnglePercent() + { + return leanAnglePercent; + } + public void setWarnings(String warnings) + { + this.warnings = warnings; + } + + public String getWarnings() + { + return warnings; + } + public void setRate(String rate) + { + this.rate = rate; + } + + public String getRate() + { + return rate; + } + public void setRotationSensorState(String rotationSensorState) + { + this.rotationSensorState = rotationSensorState; + } + + public String getRotationSensorState() + { + return rotationSensorState; + } + public void setLoadSensorState(String loadSensorState) + { + this.loadSensorState = loadSensorState; + } + + public String getLoadSensorState() + { + return loadSensorState; + } + public void setWindSpeedSensorState(String windSpeedSensorState) + { + this.windSpeedSensorState = windSpeedSensorState; + } + + public String getWindSpeedSensorState() + { + return windSpeedSensorState; + } + public void setLeanAngleSensorState(String leanAngleSensorState) + { + this.leanAngleSensorState = leanAngleSensorState; + } + + public String getLeanAngleSensorState() + { + return leanAngleSensorState; + } + public void setRangeSensorState(String rangeSensorState) + { + this.rangeSensorState = rangeSensorState; + } + + public String getRangeSensorState() + { + return rangeSensorState; + } + public void setHeightSensorState(String heightSensorState) + { + this.heightSensorState = heightSensorState; + } + + public String getHeightSensorState() + { + return heightSensorState; + } + public void setBrakingStatus(String brakingStatus) + { + this.brakingStatus = brakingStatus; + } + + public String getBrakingStatus() + { + return brakingStatus; + } + public void setTimeLongs(Long timeLongs) + { + this.timeLongs = timeLongs; + } + + public Long getTimeLongs() + { + return timeLongs; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + public Long getIsAlarm() { + return isAlarm; + } + + public void setIsAlarm(Long isAlarm) { + this.isAlarm = isAlarm; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("height", getHeight()) + .append("range", getRange()) + .append("rotation", getRotation()) + .append("load", getLoad()) + .append("windSpeed", getWindSpeed()) + .append("leanAngleX", getLeanAngleX()) + .append("leanAngleY", getLeanAngleY()) + .append("loadPercent", getLoadPercent()) + .append("momentPercent", getMomentPercent()) + .append("windSpeedPercent", getWindSpeedPercent()) + .append("leanAnglePercent", getLeanAnglePercent()) + .append("warnings", getWarnings()) + .append("rate", getRate()) + .append("rotationSensorState", getRotationSensorState()) + .append("loadSensorState", getLoadSensorState()) + .append("windSpeedSensorState", getWindSpeedSensorState()) + .append("leanAngleSensorState", getLeanAngleSensorState()) + .append("rangeSensorState", getRangeSensorState()) + .append("heightSensorState", getHeightSensorState()) + .append("brakingStatus", getBrakingStatus()) + .append("timeLongs", getTimeLongs()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataWarning.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataWarning.java new file mode 100644 index 00000000..7e97c179 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerDataWarning.java @@ -0,0 +1,230 @@ +package com.yanzhu.device.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 塔机预警管理对象 dev_tower_data_warning + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerDataWarning extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 配置编号 */ + private Long cfgId; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceKey; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔机编号 */ + @Excel(name = "塔机编号") + private String towerId; + + /** 预警类型 */ + @Excel(name = "预警类型") + private Long warnType; + + /** 预警名称 */ + @Excel(name = "预警名称") + private String warnName; + + /** 预警内容 */ + @Excel(name = "预警内容") + private String warnNote; + + /** 预警值 */ + @Excel(name = "预警值") + private String warnData; + + /** 实际值 */ + @Excel(name = "实际值") + private String realData; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + + public Long getCfgId() { + return cfgId; + } + + public void setCfgId(Long cfgId) { + this.cfgId = cfgId; + } + + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceKey(String deviceKey) + { + this.deviceKey = deviceKey; + } + + public String getDeviceKey() + { + return deviceKey; + } + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + public void setTowerId(String towerId) + { + this.towerId = towerId; + } + + public String getTowerId() + { + return towerId; + } + public void setWarnType(Long warnType) + { + this.warnType = warnType; + } + + public Long getWarnType() + { + return warnType; + } + public void setWarnName(String warnName) + { + this.warnName = warnName; + } + + public String getWarnName() + { + return warnName; + } + public void setWarnNote(String warnNote) + { + this.warnNote = warnNote; + } + + public String getWarnNote() + { + return warnNote; + } + public void setWarnData(String warnData) + { + this.warnData = warnData; + } + + public String getWarnData() + { + return warnData; + } + public void setRealData(String realData) + { + this.realData = realData; + } + + public String getRealData() + { + return realData; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceKey", getDeviceKey()) + .append("deviceSource", getDeviceSource()) + .append("towerId", getTowerId()) + .append("warnType", getWarnType()) + .append("warnName", getWarnName()) + .append("warnNote", getWarnNote()) + .append("warnData", getWarnData()) + .append("realData", getRealData()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerProjectConfig.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerProjectConfig.java new file mode 100644 index 00000000..23569b76 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/domain/DevTowerProjectConfig.java @@ -0,0 +1,338 @@ +package com.yanzhu.device.domain; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 塔基检测配置对象 dev_tower_project_config + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public class DevTowerProjectConfig extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 项目主键 */ + private Long projectId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 总包单位主键 */ + private Long comId; + + /** 总包单位名称 */ + @Excel(name = "总包单位名称") + private String comName; + + /** 设备序列号 */ + @Excel(name = "设备序列号") + private String deviceSn; + + /** 设备名称 */ + @Excel(name = "设备名称") + private String deviceName; + + /** 设备来源 */ + @Excel(name = "设备来源") + private String deviceSource; + + /** 塔机编号 */ + @Excel(name = "塔机编号") + private String towerId; + + /** 塔机类型 */ + @Excel(name = "塔机类型") + private String towerType; + + /** 塔机坐标x */ + @Excel(name = "塔机坐标x") + private String coordinateX; + + /** 塔机坐标y */ + @Excel(name = "塔机坐标y") + private String coordinateY; + + /** 前臂长度 */ + @Excel(name = "前臂长度") + private String frontBrachium; + + /** 平衡臂长度 */ + @Excel(name = "平衡臂长度") + private String afterBrachium; + + /** 塔身高度 */ + @Excel(name = "塔身高度") + private String towerBodyHeight; + + /** 塔帽高度 */ + @Excel(name = "塔帽高度") + private String towerCapHeight; + + /** 塔节高度 */ + @Excel(name = "塔节高度") + private String towerSectionHeight; + + /** 设备状态 */ + @Excel(name = "设备状态") + private String online; + + /** 司机名称 */ + @Excel(name = "司机名称") + private String driName; + + /** 司机电话 */ + @Excel(name = "司机电话") + private String driPhone; + + /** 安全员名称 */ + @Excel(name = "安全员名称") + private String safName; + + /** 安全员电话 */ + @Excel(name = "安全员电话") + private String safPhone; + + /** 是否有效 */ + @Excel(name = "是否有效") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + + public Long getComId() { + return comId; + } + + public void setComId(Long comId) { + this.comId = comId; + } + + public void setDeviceSn(String deviceSn) + { + this.deviceSn = deviceSn; + } + + public String getDeviceSn() + { + return deviceSn; + } + + public String getDeviceName() { + return deviceName; + } + + public void setDeviceName(String deviceName) { + this.deviceName = deviceName; + } + + public void setDeviceSource(String deviceSource) + { + this.deviceSource = deviceSource; + } + + public String getDeviceSource() + { + return deviceSource; + } + + public String getTowerId() { + return towerId; + } + + public void setTowerId(String towerId) { + this.towerId = towerId; + } + + public void setTowerType(String towerType) + { + this.towerType = towerType; + } + + public String getTowerType() + { + return towerType; + } + public void setCoordinateX(String coordinateX) + { + this.coordinateX = coordinateX; + } + + public String getCoordinateX() + { + return coordinateX; + } + public void setCoordinateY(String coordinateY) + { + this.coordinateY = coordinateY; + } + + public String getCoordinateY() + { + return coordinateY; + } + public void setFrontBrachium(String frontBrachium) + { + this.frontBrachium = frontBrachium; + } + + public String getFrontBrachium() + { + return frontBrachium; + } + public void setAfterBrachium(String afterBrachium) + { + this.afterBrachium = afterBrachium; + } + + public String getAfterBrachium() + { + return afterBrachium; + } + public void setTowerBodyHeight(String towerBodyHeight) + { + this.towerBodyHeight = towerBodyHeight; + } + + public String getTowerBodyHeight() + { + return towerBodyHeight; + } + public void setTowerCapHeight(String towerCapHeight) + { + this.towerCapHeight = towerCapHeight; + } + + public String getTowerCapHeight() + { + return towerCapHeight; + } + public void setTowerSectionHeight(String towerSectionHeight) + { + this.towerSectionHeight = towerSectionHeight; + } + + public String getTowerSectionHeight() + { + return towerSectionHeight; + } + + public String getOnline() { + return online; + } + + public void setOnline(String online) { + this.online = online; + } + + public String getDriName() { + return driName; + } + + public void setDriName(String driName) { + this.driName = driName; + } + + public String getDriPhone() { + return driPhone; + } + + public void setDriPhone(String driPhone) { + this.driPhone = driPhone; + } + + public String getSafName() { + return safName; + } + + public void setSafName(String safName) { + this.safName = safName; + } + + public String getSafPhone() { + return safPhone; + } + + public void setSafPhone(String safPhone) { + this.safPhone = safPhone; + } + + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getComName() { + return comName; + } + + public void setComName(String comName) { + this.comName = comName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("comId", getComId()) + .append("deviceSn", getDeviceSn()) + .append("deviceName", getDeviceName()) + .append("deviceSource", getDeviceSource()) + .append("towerType", getTowerType()) + .append("coordinateX", getCoordinateX()) + .append("coordinateY", getCoordinateY()) + .append("frontBrachium", getFrontBrachium()) + .append("afterBrachium", getAfterBrachium()) + .append("towerBodyHeight", getTowerBodyHeight()) + .append("towerCapHeight", getTowerCapHeight()) + .append("towerSectionHeight", getTowerSectionHeight()) + .append("online", getOnline()) + .append("driName", getDriName()) + .append("driPhone", getDriPhone()) + .append("safName", getSafName()) + .append("safPhone", getSafPhone()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataCollideMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataCollideMapper.java new file mode 100644 index 00000000..74ebae12 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataCollideMapper.java @@ -0,0 +1,98 @@ +package com.yanzhu.device.mapper; + + +import com.yanzhu.device.domain.DevTowerDataCollide; +import com.yanzhu.device.domain.DevTowerDataCollideDetail; +import com.yanzhu.device.domain.DevTowerDataRound; + +import java.util.List; + +/** + * 塔机碰撞信息Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerDataCollideMapper +{ + /** + * 查询塔机碰撞信息 + * + * @param id 塔机碰撞信息主键 + * @return 塔机碰撞信息 + */ + public DevTowerDataCollide selectDevTowerDataCollideById(Long id); + + /** + * 查询塔机碰撞信息列表 + * + * @param devTowerDataCollide 塔机碰撞信息 + * @return 塔机碰撞信息集合 + */ + public List selectDevTowerDataCollideList(DevTowerDataCollide devTowerDataCollide); + + /** + * 新增塔机碰撞信息 + * + * @param devTowerDataCollide 塔机碰撞信息 + * @return 结果 + */ + public int insertDevTowerDataCollide(DevTowerDataCollide devTowerDataCollide); + + /** + * 修改塔机碰撞信息 + * + * @param devTowerDataCollide 塔机碰撞信息 + * @return 结果 + */ + public int updateDevTowerDataCollide(DevTowerDataCollide devTowerDataCollide); + + /** + * 删除塔机碰撞信息 + * + * @param id 塔机碰撞信息主键 + * @return 结果 + */ + public int deleteDevTowerDataCollideById(Long id); + + /** + * 批量删除塔机碰撞信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataCollideByIds(Long[] ids); + + /** + * 批量删除碰撞详情 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataCollideDetailByCollideIds(Long[] ids); + + /** + * 批量新增碰撞详情 + * + * @param devTowerDataCollideDetailList 碰撞详情列表 + * @return 结果 + */ + public int batchDevTowerDataCollideDetail(List devTowerDataCollideDetailList); + + + /** + * 通过塔机碰撞信息主键删除碰撞详情信息 + * + * @param id 塔机碰撞信息ID + * @return 结果 + */ + public int deleteDevTowerDataCollideDetailByCollideId(Long id); + + /** + * 查询塔机碰撞数据 + * + * @param DevTowerDataRound 设备循环信息 + * @return 结果 + */ + public int findCollideCountByDeviceKey(DevTowerDataRound DevTowerDataRound); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLimitMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLimitMapper.java new file mode 100644 index 00000000..54395cca --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLimitMapper.java @@ -0,0 +1,64 @@ +package com.yanzhu.device.mapper; + + + +import com.yanzhu.device.domain.DevTowerDataLimit; + +import java.util.List; + +/** + * 塔机限位信息Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerDataLimitMapper +{ + /** + * 查询塔机限位信息 + * + * @param id 塔机限位信息主键 + * @return 塔机限位信息 + */ + public DevTowerDataLimit selectDevTowerDataLimitById(Long id); + + /** + * 查询塔机限位信息列表 + * + * @param devTowerDataLimit 塔机限位信息 + * @return 塔机限位信息集合 + */ + public List selectDevTowerDataLimitList(DevTowerDataLimit devTowerDataLimit); + + /** + * 新增塔机限位信息 + * + * @param devTowerDataLimit 塔机限位信息 + * @return 结果 + */ + public int insertDevTowerDataLimit(DevTowerDataLimit devTowerDataLimit); + + /** + * 修改塔机限位信息 + * + * @param devTowerDataLimit 塔机限位信息 + * @return 结果 + */ + public int updateDevTowerDataLimit(DevTowerDataLimit devTowerDataLimit); + + /** + * 删除塔机限位信息 + * + * @param id 塔机限位信息主键 + * @return 结果 + */ + public int deleteDevTowerDataLimitById(Long id); + + /** + * 批量删除塔机限位信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataLimitByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLocalMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLocalMapper.java new file mode 100644 index 00000000..620fdb08 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataLocalMapper.java @@ -0,0 +1,64 @@ +package com.yanzhu.device.mapper; + + + +import com.yanzhu.device.domain.DevTowerDataLocal; + +import java.util.List; + +/** + * 塔机定位信息Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerDataLocalMapper +{ + /** + * 查询塔机定位信息 + * + * @param id 塔机定位信息主键 + * @return 塔机定位信息 + */ + public DevTowerDataLocal selectDevTowerDataLocalById(Long id); + + /** + * 查询塔机定位信息列表 + * + * @param devTowerDataLocal 塔机定位信息 + * @return 塔机定位信息集合 + */ + public List selectDevTowerDataLocalList(DevTowerDataLocal devTowerDataLocal); + + /** + * 新增塔机定位信息 + * + * @param devTowerDataLocal 塔机定位信息 + * @return 结果 + */ + public int insertDevTowerDataLocal(DevTowerDataLocal devTowerDataLocal); + + /** + * 修改塔机定位信息 + * + * @param devTowerDataLocal 塔机定位信息 + * @return 结果 + */ + public int updateDevTowerDataLocal(DevTowerDataLocal devTowerDataLocal); + + /** + * 删除塔机定位信息 + * + * @param id 塔机定位信息主键 + * @return 结果 + */ + public int deleteDevTowerDataLocalById(Long id); + + /** + * 批量删除塔机定位信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataLocalByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRoundMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRoundMapper.java new file mode 100644 index 00000000..2397720d --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRoundMapper.java @@ -0,0 +1,72 @@ +package com.yanzhu.device.mapper; + + + +import com.yanzhu.device.domain.DevTowerDataRound; + +import java.util.List; + +/** + * 塔机工作循环Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerDataRoundMapper +{ + /** + * 查询塔机工作循环 + * + * @param id 塔机工作循环主键 + * @return 塔机工作循环 + */ + public DevTowerDataRound selectDevTowerDataRoundById(Long id); + + /** + * 查询塔机工作循环列表 + * + * @param devTowerDataRound 塔机工作循环 + * @return 塔机工作循环集合 + */ + public List selectDevTowerDataRoundList(DevTowerDataRound devTowerDataRound); + + /** + * 新增塔机工作循环 + * + * @param devTowerDataRound 塔机工作循环 + * @return 结果 + */ + public int insertDevTowerDataRound(DevTowerDataRound devTowerDataRound); + + /** + * 修改塔机工作循环 + * + * @param devTowerDataRound 塔机工作循环 + * @return 结果 + */ + public int updateDevTowerDataRound(DevTowerDataRound devTowerDataRound); + + /** + * 删除塔机工作循环 + * + * @param id 塔机工作循环主键 + * @return 结果 + */ + public int deleteDevTowerDataRoundById(Long id); + + /** + * 批量删除塔机工作循环 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataRoundByIds(Long[] ids); + + /** + * 查询塔机工作循环数据 + * + * @param devTowerDataRound 设备循环信息 + * @return 结果 + */ + public int findRoundCountByDeviceKey(DevTowerDataRound devTowerDataRound); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRunMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRunMapper.java new file mode 100644 index 00000000..424511e3 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataRunMapper.java @@ -0,0 +1,71 @@ +package com.yanzhu.device.mapper; + +import com.yanzhu.device.domain.DevTowerDataRound; +import com.yanzhu.device.domain.DevTowerDataRun; + +import java.util.List; + +/** + * 塔机实时数据Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerDataRunMapper +{ + /** + * 查询塔机实时数据 + * + * @param id 塔机实时数据主键 + * @return 塔机实时数据 + */ + public DevTowerDataRun selectDevTowerDataRunById(Long id); + + /** + * 查询塔机实时数据列表 + * + * @param devTowerDataRun 塔机实时数据 + * @return 塔机实时数据集合 + */ + public List selectDevTowerDataRunList(DevTowerDataRun devTowerDataRun); + + /** + * 新增塔机实时数据 + * + * @param devTowerDataRun 塔机实时数据 + * @return 结果 + */ + public int insertDevTowerDataRun(DevTowerDataRun devTowerDataRun); + + /** + * 修改塔机实时数据 + * + * @param devTowerDataRun 塔机实时数据 + * @return 结果 + */ + public int updateDevTowerDataRun(DevTowerDataRun devTowerDataRun); + + /** + * 删除塔机实时数据 + * + * @param id 塔机实时数据主键 + * @return 结果 + */ + public int deleteDevTowerDataRunById(Long id); + + /** + * 批量删除塔机实时数据 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataRunByIds(Long[] ids); + + /** + * 查询塔机实时数据 + * + * @param DevTowerDataRound 设备循环信息 + * @return 结果 + */ + public int findRunCountByDeviceKey(DevTowerDataRound DevTowerDataRound); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataWarningMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataWarningMapper.java new file mode 100644 index 00000000..1323f4e7 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerDataWarningMapper.java @@ -0,0 +1,62 @@ +package com.yanzhu.device.mapper; + +import com.yanzhu.device.domain.DevTowerDataWarning; + +import java.util.List; + +/** + * 塔机预警管理Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerDataWarningMapper +{ + /** + * 查询塔机预警管理 + * + * @param id 塔机预警管理主键 + * @return 塔机预警管理 + */ + public DevTowerDataWarning selectDevTowerDataWarningById(Long id); + + /** + * 查询塔机预警管理列表 + * + * @param devTowerDataWarning 塔机预警管理 + * @return 塔机预警管理集合 + */ + public List selectDevTowerDataWarningList(DevTowerDataWarning devTowerDataWarning); + + /** + * 新增塔机预警管理 + * + * @param devTowerDataWarning 塔机预警管理 + * @return 结果 + */ + public int insertDevTowerDataWarning(DevTowerDataWarning devTowerDataWarning); + + /** + * 修改塔机预警管理 + * + * @param devTowerDataWarning 塔机预警管理 + * @return 结果 + */ + public int updateDevTowerDataWarning(DevTowerDataWarning devTowerDataWarning); + + /** + * 删除塔机预警管理 + * + * @param id 塔机预警管理主键 + * @return 结果 + */ + public int deleteDevTowerDataWarningById(Long id); + + /** + * 批量删除塔机预警管理 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerDataWarningByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerProjectConfigMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerProjectConfigMapper.java new file mode 100644 index 00000000..fd62f5d5 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/device/mapper/DevTowerProjectConfigMapper.java @@ -0,0 +1,70 @@ +package com.yanzhu.device.mapper; + +import com.yanzhu.device.domain.DevTowerProjectConfig; + +import java.util.List; +import java.util.Map; + +/** + * 塔基检测配置Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-04 + */ +public interface DevTowerProjectConfigMapper +{ + /** + * 查询塔基检测配置 + * + * @param id 塔基检测配置主键 + * @return 塔基检测配置 + */ + public DevTowerProjectConfig selectDevTowerProjectConfigById(Long id); + + /** + * 查询塔基检测配置列表 + * + * @param devTowerProjectConfig 塔基检测配置 + * @return 塔基检测配置集合 + */ + public List selectDevTowerProjectConfigList(DevTowerProjectConfig devTowerProjectConfig); + + /** + * 新增塔基检测配置 + * + * @param devTowerProjectConfig 塔基检测配置 + * @return 结果 + */ + public int insertDevTowerProjectConfig(DevTowerProjectConfig devTowerProjectConfig); + + /** + * 修改塔基检测配置 + * + * @param devTowerProjectConfig 塔基检测配置 + * @return 结果 + */ + public int updateDevTowerProjectConfig(DevTowerProjectConfig devTowerProjectConfig); + + /** + * 删除塔基检测配置 + * + * @param id 塔基检测配置主键 + * @return 结果 + */ + public int deleteDevTowerProjectConfigById(Long id); + + /** + * 批量删除塔基检测配置 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDevTowerProjectConfigByIds(Long[] ids); + + /** + * 根据设备状态统计设备 + * @param devTowerProjectConfig + * @return + */ + public List> findtowerConfigGroupOnline(DevTowerProjectConfig devTowerProjectConfig); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataCollideMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataCollideMapper.xml new file mode 100644 index 00000000..597adfb6 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataCollideMapper.xml @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtdc.id, dtdc.cfg_id, dtdc.project_id, dtdc.com_id, sp.dept_name projectName, sd.dept_name com_name, dtdc.device_key, dtdc.device_source, dtdc.tower_id, dtdc.coordinate_x, dtdc.coordinate_y, dtdc.front_brachium, dtdc.after_brachium, dtdc.tower_body_height, dtdc.height, dtdc.angle, dtdc.range, dtdc.early_warning_distance, dtdc.alarm_warning_distance, dtdc.contour_value, dtdc.is_del, dtdc.create_by, dtdc.create_time, dtdc.update_by, dtdc.update_time, dtdc.remark + from dev_tower_data_collide dtdc + left join sys_dept sp on sp.dept_id = dtdc.project_id + left join sys_dept sd on sd.dept_id = dtdc.com_id + + + + + + + + insert into dev_tower_data_collide + + cfg_id, + project_id, + com_id, + device_key, + device_source, + tower_id, + coordinate_x, + coordinate_y, + front_brachium, + after_brachium, + tower_body_height, + height, + angle, + `range`, + early_warning_distance, + alarm_warning_distance, + contour_value, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cfgId}, + #{projectId}, + #{comId}, + #{deviceKey}, + #{deviceSource}, + #{towerId}, + #{coordinateX}, + #{coordinateY}, + #{frontBrachium}, + #{afterBrachium}, + #{towerBodyHeight}, + #{height}, + #{angle}, + #{range}, + #{earlyWarningDistance}, + #{alarmWarningDistance}, + #{contourValue}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_data_collide + + cfg_id = #{cfgId}, + project_id = #{projectId}, + com_id = #{comId}, + device_key = #{deviceKey}, + device_source = #{deviceSource}, + tower_id = #{towerId}, + coordinate_x = #{coordinateX}, + coordinate_y = #{coordinateY}, + front_brachium = #{frontBrachium}, + after_brachium = #{afterBrachium}, + tower_body_height = #{towerBodyHeight}, + height = #{height}, + angle = #{angle}, + `range` = #{range}, + early_warning_distance = #{earlyWarningDistance}, + alarm_warning_distance = #{alarmWarningDistance}, + contour_value = #{contourValue}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from dev_tower_data_collide where id = #{id} + + + + delete from dev_tower_data_collide where id in + + #{id} + + + + + delete from dev_tower_data_collide_detail where collide_id in + + #{collideId} + + + + + delete from dev_tower_data_collide_detail where collide_id = #{collideId} + + + + insert into dev_tower_data_collide_detail( id, collide_id, device_key, device_source, tower_id, coordinate_x, coordinate_y, front_brachium, after_brachium, tower_body_height, height, angle, range, collide_horizontal_distance, collide_vertical_distance, collide_state) values + + ( #{item.id}, #{item.collideId}, #{item.deviceKey}, #{item.deviceSource}, #{item.towerId}, #{item.coordinateX}, #{item.coordinateY}, #{item.frontBrachium}, #{item.afterBrachium}, #{item.towerBodyHeight}, #{item.height}, #{item.angle}, #{item.range}, #{item.collideHorizontalDistance}, #{item.collideVerticalDistance}, #{item.collideState}) + + + + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLimitMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLimitMapper.xml new file mode 100644 index 00000000..4885e2d0 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLimitMapper.xml @@ -0,0 +1,251 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtdl.id, dtdl.cfg_id, dtdl.project_id, dtdl.com_id, sp.dept_name projectName, sd.dept_name com_name, dtdl.device_key, dtdl.device_source, dtdl.tower_id, dtdl.wind_speed_warning, dtdl.wind_speed_alarm, dtdl.load_warning, dtdl.load_alarm, dtdl.moment_warning, dtdl.moment_alarm, dtdl.high_limit_warning, dtdl.high_limit_alarm, dtdl.low_limit_warning, dtdl.low_limit_alarm, dtdl.left_limit_warning, dtdl.left_limit_alarm, dtdl.right_limit_warning, dtdl.right_limit_alarm, dtdl.front_limit_warning, dtdl.front_limit_alarm, dtdl.back_limit_warning, dtdl.back_limit_alarm, dtdl.collision_angle_warning, dtdl.collision_angle_alarm, dtdl.collision_distance_warning, dtdl.collision_distance_alarm, dtdl.h_distance_warning, dtdl.h_distance_alarm, dtdl.v_distance_warning, dtdl.v_distance_alarm, dtdl.lean_warning, dtdl.lean_alarm, dtdl.range_limit_start, dtdl.range_limit_end, dtdl.height_limit_start, dtdl.height_limit_end, dtdl.rotation_limit_start, dtdl.rotation_limit_end, dtdl.is_del, dtdl.create_by, dtdl.create_time, dtdl.update_by, dtdl.update_time, dtdl.remark + from dev_tower_data_limit dtdl + left join sys_dept sp on sp.dept_id = dtdl.project_id + left join sys_dept sd on sd.dept_id = dtdl.com_id + + + + + + + + + insert into dev_tower_data_limit + + cfg_id, + project_id, + com_id, + device_key, + device_source, + tower_id, + wind_speed_warning, + wind_speed_alarm, + load_warning, + load_alarm, + moment_warning, + moment_alarm, + high_limit_warning, + high_limit_alarm, + low_limit_warning, + low_limit_alarm, + left_limit_warning, + left_limit_alarm, + right_limit_warning, + right_limit_alarm, + front_limit_warning, + front_limit_alarm, + back_limit_warning, + back_limit_alarm, + collision_angle_warning, + collision_angle_alarm, + collision_distance_warning, + collision_distance_alarm, + h_distance_warning, + h_distance_alarm, + v_distance_warning, + v_distance_alarm, + lean_warning, + lean_alarm, + range_limit_start, + range_limit_end, + height_limit_start, + height_limit_end, + rotation_limit_start, + rotation_limit_end, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cfgId}, + #{projectId}, + #{comId}, + #{deviceKey}, + #{deviceSource}, + #{towerId}, + #{windSpeedWarning}, + #{windSpeedAlarm}, + #{loadWarning}, + #{loadAlarm}, + #{momentWarning}, + #{momentAlarm}, + #{highLimitWarning}, + #{highLimitAlarm}, + #{lowLimitWarning}, + #{lowLimitAlarm}, + #{leftLimitWarning}, + #{leftLimitAlarm}, + #{rightLimitWarning}, + #{rightLimitAlarm}, + #{frontLimitWarning}, + #{frontLimitAlarm}, + #{backLimitWarning}, + #{backLimitAlarm}, + #{collisionAngleWarning}, + #{collisionAngleAlarm}, + #{collisionDistanceWarning}, + #{collisionDistanceAlarm}, + #{hDistanceWarning}, + #{hDistanceAlarm}, + #{vDistanceWarning}, + #{vDistanceAlarm}, + #{leanWarning}, + #{leanAlarm}, + #{rangeLimitStart}, + #{rangeLimitEnd}, + #{heightLimitStart}, + #{heightLimitEnd}, + #{rotationLimitStart}, + #{rotationLimitEnd}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_data_limit + + cfg_id = #{cfgId}, + project_id = #{projectId}, + com_id = #{comId}, + device_key = #{deviceKey}, + device_source = #{deviceSource}, + tower_id = #{towerId}, + wind_speed_warning = #{windSpeedWarning}, + wind_speed_alarm = #{windSpeedAlarm}, + load_warning = #{loadWarning}, + load_alarm = #{loadAlarm}, + moment_warning = #{momentWarning}, + moment_alarm = #{momentAlarm}, + high_limit_warning = #{highLimitWarning}, + high_limit_alarm = #{highLimitAlarm}, + low_limit_warning = #{lowLimitWarning}, + low_limit_alarm = #{lowLimitAlarm}, + left_limit_warning = #{leftLimitWarning}, + left_limit_alarm = #{leftLimitAlarm}, + right_limit_warning = #{rightLimitWarning}, + right_limit_alarm = #{rightLimitAlarm}, + front_limit_warning = #{frontLimitWarning}, + front_limit_alarm = #{frontLimitAlarm}, + back_limit_warning = #{backLimitWarning}, + back_limit_alarm = #{backLimitAlarm}, + collision_angle_warning = #{collisionAngleWarning}, + collision_angle_alarm = #{collisionAngleAlarm}, + collision_distance_warning = #{collisionDistanceWarning}, + collision_distance_alarm = #{collisionDistanceAlarm}, + h_distance_warning = #{hDistanceWarning}, + h_distance_alarm = #{hDistanceAlarm}, + v_distance_warning = #{vDistanceWarning}, + v_distance_alarm = #{vDistanceAlarm}, + lean_warning = #{leanWarning}, + lean_alarm = #{leanAlarm}, + range_limit_start = #{rangeLimitStart}, + range_limit_end = #{rangeLimitEnd}, + height_limit_start = #{heightLimitStart}, + height_limit_end = #{heightLimitEnd}, + rotation_limit_start = #{rotationLimitStart}, + rotation_limit_end = #{rotationLimitEnd}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from dev_tower_data_limit where id = #{id} + + + + delete from dev_tower_data_limit where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLocalMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLocalMapper.xml new file mode 100644 index 00000000..4a0ff633 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataLocalMapper.xml @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtdl.id, + dtdl.cfg_id, + dtdl.project_id, + dtdl.com_id, + sp.dept_name projectName, + sd.dept_name com_name, + dtdl.device_key, + dtdl.device_source, + dtdl.tower_id, + dtdl.range_near_end_ad_value, + dtdl.range_near_end_reality_value, + dtdl.range_far_end_ad_value, + dtdl.range_far_end_reality_value, + dtdl.high_near_end_ad_value, + dtdl.high_near_end_reality_value, + dtdl.high_far_end_ad_value, + dtdl.high_far_end_reality_value, + dtdl.empty_weight_ad_value, + dtdl.empty_weight_reality_value, + dtdl.load_weight_ad_value, + dtdl.load_weight_reality_value, + dtdl.rotation_start_ad_value, + dtdl.rotation_start_reality_value, + dtdl.rotation_end_ad_value, + dtdl.rotation_end_reality_value, + dtdl.wind_speed_factor, + dtdl.tilt_factor, + dtdl.is_del, + dtdl.create_by, + dtdl.create_time, + dtdl.update_by, + dtdl.update_time, + dtdl.remark + from dev_tower_data_local dtdl + left join sys_dept sp on sp.dept_id = dtdl.project_id + left join sys_dept sd on sd.dept_id = dtdl.com_id + + + + + + + + insert into dev_tower_data_local + + cfg_id, + project_id, + com_id, + device_key, + device_source, + tower_id, + range_near_end_ad_value, + range_near_end_reality_value, + range_far_end_ad_value, + range_far_end_reality_value, + high_near_end_ad_value, + high_near_end_reality_value, + high_far_end_ad_value, + high_far_end_reality_value, + empty_weight_ad_value, + empty_weight_reality_value, + load_weight_ad_value, + load_weight_reality_value, + rotation_start_ad_value, + rotation_start_reality_value, + rotation_end_ad_value, + rotation_end_reality_value, + wind_speed_factor, + tilt_factor, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cfgId}, + #{projectId}, + #{comId}, + #{deviceKey}, + #{deviceSource}, + #{towerId}, + #{rangeNearEndAdValue}, + #{rangeNearEndRealityValue}, + #{rangeFarEndAdValue}, + #{rangeFarEndRealityValue}, + #{highNearEndAdValue}, + #{highNearEndRealityValue}, + #{highFarEndAdValue}, + #{highFarEndRealityValue}, + #{emptyWeightAdValue}, + #{emptyWeightRealityValue}, + #{loadWeightAdValue}, + #{loadWeightRealityValue}, + #{rotationStartAdValue}, + #{rotationStartRealityValue}, + #{rotationEndAdValue}, + #{rotationEndRealityValue}, + #{windSpeedFactor}, + #{tiltFactor}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_data_local + + cfg_id = #{cfgId}, + project_id = #{projectId}, + com_id = #{comId}, + device_key = #{deviceKey}, + device_source = #{deviceSource}, + tower_id = #{towerId}, + range_near_end_ad_value = #{rangeNearEndAdValue}, + range_near_end_reality_value = #{rangeNearEndRealityValue}, + range_far_end_ad_value = #{rangeFarEndAdValue}, + range_far_end_reality_value = #{rangeFarEndRealityValue}, + high_near_end_ad_value = #{highNearEndAdValue}, + high_near_end_reality_value = #{highNearEndRealityValue}, + high_far_end_ad_value = #{highFarEndAdValue}, + high_far_end_reality_value = #{highFarEndRealityValue}, + empty_weight_ad_value = #{emptyWeightAdValue}, + empty_weight_reality_value = #{emptyWeightRealityValue}, + load_weight_ad_value = #{loadWeightAdValue}, + load_weight_reality_value = #{loadWeightRealityValue}, + rotation_start_ad_value = #{rotationStartAdValue}, + rotation_start_reality_value = #{rotationStartRealityValue}, + rotation_end_ad_value = #{rotationEndAdValue}, + rotation_end_reality_value = #{rotationEndRealityValue}, + wind_speed_factor = #{windSpeedFactor}, + tilt_factor = #{tiltFactor}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from dev_tower_data_local where id = #{id} + + + + delete from dev_tower_data_local where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRoundMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRoundMapper.xml new file mode 100644 index 00000000..2cf47509 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRoundMapper.xml @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtdr.id, + dtdr.cfg_id, + dtdr.project_id, + dtdr.com_id, + sp.dept_name projectName, + sd.dept_name com_name, + dtdr.device_key, + dtdr.device_source, + dtdr.tower_id, + dtdr.work_start_time, + dtdr.work_end_time, + dtdr.min_height, + dtdr.max_height, + dtdr.min_range, + dtdr.max_range, + dtdr.start_height, + dtdr.end_height, + dtdr.start_range, + dtdr.end_range, + dtdr.start_rotation, + dtdr.end_rotation, + dtdr.max_load, + dtdr.max_load_percent, + dtdr.max_moment, + dtdr.max_moment_percent, + dtdr.start_wind_speed, + dtdr.end_wind_speed, + dtdr.start_wind_speed_percent, + dtdr.end_wind_speed_percent, + dtdr.start_lean_angle_x, + dtdr.end_lean_angle_x, + dtdr.start_lean_angle_y, + dtdr.end_lean_angle_y, + dtdr.warnings, + dtdr.is_alarm, + dtdr.is_del, + dtdr.create_by, + dtdr.create_time, + dtdr.update_by, + dtdr.update_time, + dtdr.remark + from dev_tower_data_round dtdr + left join sys_dept sp on sp.dept_id = dtdr.project_id + left join sys_dept sd on sd.dept_id = dtdr.com_id + + + + + + + + insert into dev_tower_data_round + + cfg_id, + project_id, + com_id, + device_key, + device_source, + tower_id, + work_start_time, + work_end_time, + min_height, + max_height, + min_range, + max_range, + start_height, + end_height, + start_range, + end_range, + start_rotation, + end_rotation, + max_load, + max_load_percent, + max_moment, + max_moment_percent, + start_wind_speed, + end_wind_speed, + start_wind_speed_percent, + end_wind_speed_percent, + start_lean_angle_x, + end_lean_angle_x, + start_lean_angle_y, + end_lean_angle_y, + warnings, + is_alarm, + is_overload, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cfgId}, + #{projectId}, + #{comId}, + #{deviceKey}, + #{deviceSource}, + #{towerId}, + #{workStartTime}, + #{workEndTime}, + #{minHeight}, + #{maxHeight}, + #{minRange}, + #{maxRange}, + #{startHeight}, + #{endHeight}, + #{startRange}, + #{endRange}, + #{startRotation}, + #{endRotation}, + #{maxLoad}, + #{maxLoadPercent}, + #{maxMoment}, + #{maxMomentPercent}, + #{startWindSpeed}, + #{endWindSpeed}, + #{startWindSpeedPercent}, + #{endWindSpeedPercent}, + #{startLeanAngleX}, + #{endLeanAngleX}, + #{startLeanAngleY}, + #{endLeanAngleY}, + #{warnings}, + #{isAlarm}, + #{isOverload}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_data_round + + cfg_id = #{cfgId}, + project_id = #{projectId}, + com_id = #{comId}, + device_key = #{deviceKey}, + device_source = #{deviceSource}, + tower_id = #{towerId}, + work_start_time = #{workStartTime}, + work_end_time = #{workEndTime}, + min_height = #{minHeight}, + max_height = #{maxHeight}, + min_range = #{minRange}, + max_range = #{maxRange}, + start_height = #{startHeight}, + end_height = #{endHeight}, + start_range = #{startRange}, + end_range = #{endRange}, + start_rotation = #{startRotation}, + end_rotation = #{endRotation}, + max_load = #{maxLoad}, + max_load_percent = #{maxLoadPercent}, + max_moment = #{maxMoment}, + max_moment_percent = #{maxMomentPercent}, + start_wind_speed = #{startWindSpeed}, + end_wind_speed = #{endWindSpeed}, + start_wind_speed_percent = #{startWindSpeedPercent}, + end_wind_speed_percent = #{endWindSpeedPercent}, + start_lean_angle_x = #{startLeanAngleX}, + end_lean_angle_x = #{endLeanAngleX}, + start_lean_angle_y = #{startLeanAngleY}, + end_lean_angle_y = #{endLeanAngleY}, + warnings = #{warnings}, + is_alarm = #{isAlarm}, + is_overload = #{isOverload}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from dev_tower_data_round where id = #{id} + + + + delete from dev_tower_data_round where id in + + #{id} + + + + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRunMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRunMapper.xml new file mode 100644 index 00000000..f3436936 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataRunMapper.xml @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtdr.id, + dtdr.cfg_id, + dtdr.project_id, + dtdr.com_id, + sp.dept_name projectName, + sd.dept_name com_name, + dtdr.device_key, + dtdr.device_source, + dtdr.height, + dtdr.range, + dtdr.rotation, + dtdr.load, + dtdr.wind_speed, + dtdr.lean_angle_x, + dtdr.lean_angle_y, + dtdr.load_percent, + dtdr.moment_percent, + dtdr.wind_speed_percent, + dtdr.lean_angle_percent, + dtdr.warnings, + dtdr.rate, + dtdr.rotation_sensor_state, + dtdr.load_sensor_state, + dtdr.wind_speed_sensor_state, + dtdr.lean_angle_sensor_state, + dtdr.range_sensor_state, + dtdr.height_sensor_state, + dtdr.braking_status, + dtdr.time_longs, + dtdr.is_alarm, + dtdr.is_del, + dtdr.create_by, + dtdr.create_time, + dtdr.update_by, + dtdr.update_time, + dtdr.remark + from dev_tower_data_run dtdr + left join sys_dept sp on sp.dept_id = dtdr.project_id + left join sys_dept sd on sd.dept_id = dtdr.com_id + + + + + + + + + insert into dev_tower_data_run + + cfg_id, + project_id, + com_id, + device_key, + device_source, + height, + `range`, + rotation, + `load`, + wind_speed, + lean_angle_x, + lean_angle_y, + load_percent, + moment_percent, + wind_speed_percent, + lean_angle_percent, + warnings, + rate, + rotation_sensor_state, + load_sensor_state, + wind_speed_sensor_state, + lean_angle_sensor_state, + range_sensor_state, + height_sensor_state, + braking_status, + time_longs, + is_alarm, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cfgId}, + #{projectId}, + #{comId}, + #{deviceKey}, + #{deviceSource}, + #{height}, + #{range}, + #{rotation}, + #{load}, + #{windSpeed}, + #{leanAngleX}, + #{leanAngleY}, + #{loadPercent}, + #{momentPercent}, + #{windSpeedPercent}, + #{leanAnglePercent}, + #{warnings}, + #{rate}, + #{rotationSensorState}, + #{loadSensorState}, + #{windSpeedSensorState}, + #{leanAngleSensorState}, + #{rangeSensorState}, + #{heightSensorState}, + #{brakingStatus}, + #{timeLongs}, + #{isAlarm}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_data_run + + cfg_id = #{cfgId}, + project_id = #{projectId}, + com_id = #{comId}, + device_key = #{deviceKey}, + device_source = #{deviceSource}, + height = #{height}, + `range` = #{range}, + rotation = #{rotation}, + `load` = #{load}, + wind_speed = #{windSpeed}, + lean_angle_x = #{leanAngleX}, + lean_angle_y = #{leanAngleY}, + load_percent = #{loadPercent}, + moment_percent = #{momentPercent}, + wind_speed_percent = #{windSpeedPercent}, + lean_angle_percent = #{leanAnglePercent}, + warnings = #{warnings}, + rate = #{rate}, + rotation_sensor_state = #{rotationSensorState}, + load_sensor_state = #{loadSensorState}, + wind_speed_sensor_state = #{windSpeedSensorState}, + lean_angle_sensor_state = #{leanAngleSensorState}, + range_sensor_state = #{rangeSensorState}, + height_sensor_state = #{heightSensorState}, + braking_status = #{brakingStatus}, + time_longs = #{timeLongs}, + is_alarm = #{isAlarm}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from dev_tower_data_run where id = #{id} + + + + delete from dev_tower_data_run where id in + + #{id} + + + + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataWarningMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataWarningMapper.xml new file mode 100644 index 00000000..bb1d1469 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerDataWarningMapper.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtdw.id, + dtdw.cfg_id, + dtdw.project_id, + dtdw.com_id, + sp.dept_name projectName, + sd.dept_name com_name, + dtdw.device_key, + dtdw.device_source, + dtdw.tower_id, + dtdw.warn_type, + dtdw.warn_name, + dtdw.warn_note, + dtdw.warn_data, + dtdw.real_data, + dtdw.is_del, + dtdw.create_by, + dtdw.create_time, + dtdw.update_by, + dtdw.update_time, + dtdw.remark + from dev_tower_data_warning dtdw + left join sys_dept sp on sp.dept_id = dtdw.project_id + left join sys_dept sd on sd.dept_id = dtdw.com_id + + + + + + + + insert into dev_tower_data_warning + + project_id, + cfg_id, + com_id, + device_key, + device_source, + tower_id, + warn_type, + warn_name, + warn_note, + warn_data, + real_data, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cfgId}, + #{projectId}, + #{comId}, + #{deviceKey}, + #{deviceSource}, + #{towerId}, + #{warnType}, + #{warnName}, + #{warnNote}, + #{warnData}, + #{realData}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_data_warning + + cfg_id = #{cfgId}, + project_id = #{projectId}, + com_id = #{comId}, + device_key = #{deviceKey}, + device_source = #{deviceSource}, + tower_id = #{towerId}, + warn_type = #{warnType}, + warn_name = #{warnName}, + warn_note = #{warnNote}, + warn_data = #{warnData}, + real_data = #{realData}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from dev_tower_data_warning where id = #{id} + + + + delete from dev_tower_data_warning where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerProjectConfigMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerProjectConfigMapper.xml new file mode 100644 index 00000000..2b8686af --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/DevTowerProjectConfigMapper.xml @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select dtpc.id, + dtpc.project_id, + dtpc.com_id, + sp.dept_name projectName, + sd.dept_name com_name, + dtpc.device_sn, + dtpc.device_name, + dtpc.device_source, + dtpc.tower_id, + dtpc.tower_type, + dtpc.coordinate_x, + dtpc.coordinate_y, + dtpc.front_brachium, + dtpc.after_brachium, + dtpc.tower_body_height, + dtpc.tower_cap_height, + dtpc.tower_section_height, + dtpc.online, + dtpc.dri_name, + dtpc.dri_phone, + dtpc.saf_name, + dtpc.saf_phone, + dtpc.is_del, + dtpc.create_by, + dtpc.create_time, + dtpc.update_by, + dtpc.update_time, + dtpc.remark + from dev_tower_project_config dtpc + left join sys_dept sp on sp.dept_id = dtpc.project_id + left join sys_dept sd on sd.dept_id = dtpc.com_id + + + + + + + + insert into dev_tower_project_config + + project_id, + com_id, + device_sn, + device_name, + device_source, + tower_type, + tower_id, + coordinate_x, + coordinate_y, + front_brachium, + after_brachium, + tower_body_height, + tower_cap_height, + tower_section_height, + online, + dri_name, + dri_phone, + saf_name, + saf_phone, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{projectId}, + #{comId}, + #{deviceSn}, + #{deviceName}, + #{deviceSource}, + #{towerType}, + #{towerId}, + #{coordinateX}, + #{coordinateY}, + #{frontBrachium}, + #{afterBrachium}, + #{towerBodyHeight}, + #{towerCapHeight}, + #{towerSectionHeight}, + #{online}, + #{driName}, + #{driPhone}, + #{safName}, + #{safPhone}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update dev_tower_project_config + + project_id = #{projectId}, + com_id = #{comId}, + device_sn = #{deviceSn}, + device_name = #{deviceName}, + device_source = #{deviceSource}, + tower_type = #{towerType}, + tower_id = #{towerId}, + coordinate_x = #{coordinateX}, + coordinate_y = #{coordinateY}, + front_brachium = #{frontBrachium}, + after_brachium = #{afterBrachium}, + tower_body_height = #{towerBodyHeight}, + tower_cap_height = #{towerCapHeight}, + tower_section_height = #{towerSectionHeight}, + online = #{online}, + dri_name = #{driName}, + dri_phone = #{driPhone}, + saf_name = #{safName}, + saf_phone = #{safPhone}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + update dev_tower_project_config set is_del=1 where id = #{id} + + + + update dev_tower_project_config set is_del=1 where id in + + #{id} + + + + + + \ No newline at end of file