解决相角原始值是幅值的问题
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user