治理绘图调整
This commit is contained in:
@@ -47,7 +47,6 @@ import java.util.stream.Collectors;
|
|||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* Description:
|
* Description:
|
||||||
* Date: 2023/9/4 15:15【需求编号】
|
* Date: 2023/9/4 15:15【需求编号】
|
||||||
*
|
*
|
||||||
@@ -112,7 +111,6 @@ public class CsEventPOServiceImpl extends ServiceImpl<CsEventPOMapper, CsEventPO
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return WaveDataDTO
|
* @return WaveDataDTO
|
||||||
* @date 2023/9/21 15:59
|
* @date 2023/9/21 15:59
|
||||||
@@ -163,10 +161,10 @@ public class CsEventPOServiceImpl extends ServiceImpl<CsEventPOMapper, CsEventPO
|
|||||||
WaveDataDTO waveDataDTO = this.analyseWave(eventId, iType);
|
WaveDataDTO waveDataDTO = this.analyseWave(eventId, iType);
|
||||||
//数据筛选,如果是双路电压的话,会存在2个波形数据
|
//数据筛选,如果是双路电压的话,会存在2个波形数据
|
||||||
List<WaveDataDetail> waveDataDetails = WaveUtil.filterWaveData(waveDataDTO);
|
List<WaveDataDetail> waveDataDetails = WaveUtil.filterWaveData(waveDataDTO);
|
||||||
String instantPath = wavePicComponent.generateImageShun(waveDataDTO, waveDataDetails);
|
String instantPath = wavePicComponent.generateInstantImageZl(waveDataDetails);
|
||||||
eventDetail.setInstantPics(instantPath);
|
eventDetail.setInstantPics(instantPath);
|
||||||
if (StrUtil.isBlank(eventDetail.getRmsPics())) {
|
if (StrUtil.isBlank(eventDetail.getRmsPics())) {
|
||||||
String rmsPath = wavePicComponent.generateImageRms(waveDataDTO, waveDataDetails);
|
String rmsPath = wavePicComponent.generateRmsImageZl(waveDataDetails);
|
||||||
eventDetail.setRmsPics(rmsPath);
|
eventDetail.setRmsPics(rmsPath);
|
||||||
}
|
}
|
||||||
this.updateById(eventDetail);
|
this.updateById(eventDetail);
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import com.njcn.csdevice.api.AppProjectFeignClient;
|
|||||||
import com.njcn.csdevice.api.EquipmentFeignClient;
|
import com.njcn.csdevice.api.EquipmentFeignClient;
|
||||||
import com.njcn.csdevice.pojo.dto.CsEquipmentDeliveryDTO;
|
import com.njcn.csdevice.pojo.dto.CsEquipmentDeliveryDTO;
|
||||||
import com.njcn.csdevice.pojo.po.AppProjectPO;
|
import com.njcn.csdevice.pojo.po.AppProjectPO;
|
||||||
import com.njcn.csdevice.pojo.po.CsEquipmentDeliveryPO;
|
|
||||||
import com.njcn.cswarn.mapper.CsEquipmentAlarmPOMapper;
|
import com.njcn.cswarn.mapper.CsEquipmentAlarmPOMapper;
|
||||||
import com.njcn.cswarn.pojo.parm.CsEquipmentAlarmAddParm;
|
import com.njcn.cswarn.pojo.parm.CsEquipmentAlarmAddParm;
|
||||||
import com.njcn.cswarn.pojo.parm.CsEquipmentAlarmParm;
|
import com.njcn.cswarn.pojo.parm.CsEquipmentAlarmParm;
|
||||||
|
|||||||
Reference in New Issue
Block a user