解决相角原始值是幅值的问题

This commit is contained in:
wr
2025-01-21 15:18:03 +08:00
parent 413f668179
commit ba18a1310d
3 changed files with 43 additions and 31 deletions

View File

@@ -18,11 +18,13 @@ public class ErrDtlsCheckDataVO implements Serializable {
*/
private String checkDataId;
/**
* 检测指标类型,与数据字典关联(例如电压有效值、谐波电压含有率等)
*/
private String valueType;
/**
*
*检测指标类型code
*/
private String valueTypeCode;
@@ -32,7 +34,12 @@ public class ErrDtlsCheckDataVO implements Serializable {
private Double value;
/**
*
* 相别,字典表
*/
private String phase;
/**
* 误差体系
*/
private List<PqErrSysDtls> errSysDtls;

View File

@@ -116,6 +116,7 @@ public class PqErrSysDtlsServiceImpl extends ServiceImpl<PqErrSysDtlsMapper, PqE
dataVO.setValueTypeCode(script.getValueTypeCode());
dataVO.setValueType(script.getValueType());
dataVO.setValue(script.getValue());
dataVO.setPhase(script.getPhase());
if(errMap.containsKey(script.getValueType())){
dataVO.setErrSysDtls(errMap.get(script.getValueType()));
}