调整设备监控页面

This commit is contained in:
lsymicc
2026-03-31 10:22:24 +08:00
parent 6600520344
commit a438e20bb1
4 changed files with 25 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ public class MsgDdjController extends BaseController
@GetMapping("/getStackerStatus/{id}")
public StackerStatus getStackerStatus(@PathVariable Long id){
//返回堆垛机状态映射
//返回堆垛机部分参数的状态映射
if (id == 1) {
MsgDdj msg = msgDdjService.selectMsgDdjById(id);
StackerStatus status = new StackerStatus();
@@ -122,6 +122,7 @@ public class MsgDdjController extends BaseController
status.setCurrentRow(msg.getCurrentRow());
status.setCurrentColumn(msg.getCurrentColumn());
status.setCurrentFloor(msg.getCurrentFloor());
// status.setCurrentRoad(msg.getId());
status.setCurrentPosition(msg.getCurrentRow() + "排" + msg.getCurrentColumn() + "列" + msg.getCurrentFloor() + "层");
return status;

View File

@@ -73,15 +73,11 @@ public class StackerStatus {
@JsonProperty("当前位置")
private String currentPosition;
/** 心跳信号 */
@Excel(name = "心跳信号")
private Integer xtxh;
/** 当前巷道 */
@Excel(name = "当前巷道")
@JsonProperty("当前巷道")
@JsonIgnore
private Integer currentRoad;
// @Excel(name = "当前巷道")
// @JsonProperty("当前巷道")
// @JsonIgnore
// private Integer currentRoad;
/** 货叉状态 */
@Excel(name = "货叉状态")