修改数据记录接口展示数据
This commit is contained in:
parent
609bbe3bd3
commit
cb885a6f3b
@ -10,6 +10,19 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class BottomCylData extends IpcData{
|
||||
|
||||
@Excel(name = "操作侧比例伺服阀压力")
|
||||
/**
|
||||
* 操作侧比例伺服阀压力
|
||||
*/
|
||||
private double opServoPress;
|
||||
|
||||
@Excel(name = "传动侧比例伺服阀压力")
|
||||
/**
|
||||
* 操作侧比例伺服阀压力
|
||||
*/
|
||||
private double tranServoPress;
|
||||
|
||||
@Excel(name = "操作侧软辊流量")
|
||||
/**
|
||||
* 操作侧软辊流量
|
||||
|
@ -11,6 +11,12 @@ import lombok.Data;
|
||||
@Data
|
||||
public class ScollerData extends IpcData{
|
||||
|
||||
@Excel(name = "车速")
|
||||
/**
|
||||
* 车速
|
||||
*/
|
||||
private double speed;
|
||||
|
||||
@Excel(name = "一区压力")
|
||||
/**
|
||||
* 一区压力
|
||||
|
@ -255,6 +255,9 @@ public class DataQueryService implements IDataQueryService {
|
||||
ipcData.setGran14(data.get("gran14") == null ? 0 : (double) data.get("gran14"));
|
||||
ipcData.setGran21(data.get("gran21") == null ? 0 : (double) data.get("gran21"));
|
||||
|
||||
ipcData.setOpServoPress(data.get("opr_servo") == null ? 0 : (double) data.get("opr_servo"));
|
||||
ipcData.setTranServoPress(data.get("driven_servo") == null ? 0 : (double) data.get("driven_servo"));
|
||||
|
||||
ipcData.setOpSoftFlow(data.get("opr_soft_flw") == null ? 0 : (double) data.get("opr_soft_flw"));
|
||||
ipcData.setOpHotFlow(data.get("opr_hot_flw") == null ? 0 : (double) data.get("opr_hot_flw"));
|
||||
|
||||
@ -521,6 +524,8 @@ public class DataQueryService implements IDataQueryService {
|
||||
ipcData.setGran14(data.get("gran14") == null ? 0 : (double) data.get("gran14"));
|
||||
ipcData.setGran21(data.get("gran21") == null ? 0 : (double) data.get("gran21"));
|
||||
|
||||
ipcData.setSpeed(data.get("line_speed") == null ? 0 : (double) data.get("line_speed"));
|
||||
|
||||
ipcData.setPress1(data.get("press1") == null ? 0 : (double) data.get("press1"));
|
||||
ipcData.setPress2(data.get("press2") == null ? 0 : (double) data.get("press2"));
|
||||
ipcData.setPress3(data.get("press3") == null ? 0 : (double) data.get("press3"));
|
||||
|
Loading…
Reference in New Issue
Block a user