From 00f56418d55fb392487290e9bae4e666593100b9 Mon Sep 17 00:00:00 2001 From: xiaoguangbin Date: Wed, 6 Nov 2024 16:32:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9dos=E8=B0=B1?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E9=80=BB=E8=BE=91=20=E5=9D=97=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=BB=8EDoseRare=E6=94=B9=E4=B8=BADoseRate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/jeecg/modules/spectrum/DOSSpectrum.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/spectrum/DOSSpectrum.java b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/spectrum/DOSSpectrum.java index 2f36d9fb..ef8b5428 100644 --- a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/spectrum/DOSSpectrum.java +++ b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/spectrum/DOSSpectrum.java @@ -69,9 +69,9 @@ public class DOSSpectrum extends AbstractSpectrumHandler{ } protected void checkAirSamplerFlowBlock(){ - if(super.mailContent.indexOf("#DoseRare") == -1){ + if(super.mailContent.indexOf("#DoseRate") == -1){ ErrorLogManager.getInstance().write(new SpectrumErrorEvent(new Date(), ErrorType.AIR_SAMPLER_FLOW_ERROR,super.spectrumFile.getName(),super.getMsgId())); - throw new AirSamplerFlowException("this is no DoseRare data"); + throw new AirSamplerFlowException("this is no DoseRate data"); } } @@ -128,7 +128,7 @@ public class DOSSpectrum extends AbstractSpectrumHandler{ throw new PHD_ReadException("THE PHDFile has some blocks can't be read:"+super.spectrumFile.getAbsolutePath()); } if(sourceData.dr_record_count <= 0 || sourceData.dr_start_date.size() < 0 || sourceData.dr_start_time.size() < 0){ - throw new AirSamplerFlowException("DoseRare data error"); + throw new AirSamplerFlowException("DoseRate data error"); } this.sourceData = sourceData; }