模块新增温度数据
This commit is contained in:
@@ -283,7 +283,7 @@ public class DataServiceImpl implements IDataService {
|
||||
EachModuleVO.DataVo vo3 = new EachModuleVO.DataVo();
|
||||
vo3.setTime(LocalDateTime.ofInstant(item.getTime().minus(8, ChronoUnit.HOURS), ZoneId.systemDefault()));
|
||||
vo3.setPhasicType(item.getPhaseType());
|
||||
vo3.setData(Objects.isNull(item.getMinValue()) ? 3.14159 : Double.parseDouble(df.format(item.getAvgValue())));
|
||||
vo3.setData(Objects.isNull(item.getMinValue()) ? 3.14159 : Double.parseDouble(df.format(item.getMinValue())));
|
||||
|
||||
list2.add(vo1);
|
||||
list3.add(vo2);
|
||||
|
||||
Reference in New Issue
Block a user