波形文件调整
This commit is contained in:
@@ -205,7 +205,7 @@ public class TransientServiceImpl implements TransientService {
|
||||
System.out.println(eventDetail.getEventId());
|
||||
String waveName = eventDetail.getWavePath();
|
||||
String cfgPath, datPath;
|
||||
if (generalInfo.getBusinessFileStorage() == GeneralConstant.LOCAL_DISK) {
|
||||
if (generalInfo.getBusinessWaveFileStorage() == GeneralConstant.LOCAL_DISK) {
|
||||
cfgPath = generalInfo.getBusinessWavePath() + File.separator + ip + File.separator + waveName + GeneralConstant.CFG;
|
||||
datPath = generalInfo.getBusinessWavePath() + File.separator + ip + File.separator + waveName + GeneralConstant.DAT;
|
||||
InputStream cfgStream = waveUtil.getFileInputStreamByFilePath(cfgPath);
|
||||
@@ -432,7 +432,7 @@ public class TransientServiceImpl implements TransientService {
|
||||
InputStream cfgStream = null;
|
||||
InputStream datStream = null;
|
||||
try {
|
||||
if (generalInfo.getBusinessFileStorage() == GeneralConstant.LOCAL_DISK) {
|
||||
if (generalInfo.getBusinessWaveFileStorage() == GeneralConstant.LOCAL_DISK) {
|
||||
cfgPath = generalInfo.getBusinessWavePath() + File.separator + ip + File.separator + waveName + GeneralConstant.CFG;
|
||||
datPath = generalInfo.getBusinessWavePath() + File.separator + ip + File.separator + waveName + GeneralConstant.DAT;
|
||||
cfgStream = waveUtil.getFileInputStreamByFilePath(cfgPath);
|
||||
|
||||
Reference in New Issue
Block a user