From 08d888117e4df55df5ffa1b47c45cc40a12951a2 Mon Sep 17 00:00:00 2001 From: "wanling040@gmail.com" Date: Mon, 29 Aug 2022 12:53:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=B0=E5=B8=B8=E9=80=9A=E7=9F=A5:=20priorit?= =?UTF-8?q?y=E7=82=BA3=E7=9A=84=E7=95=B0=E5=B8=B8=EF=BC=8C=E6=94=B9?= =?UTF-8?q?=E6=88=90=E4=B8=8D=E8=AB=96=E6=98=AF=E5=90=A6=E8=B3=A6=E6=AD=B8?= =?UTF-8?q?=EF=BC=8C=E9=83=BD=E9=80=81=E5=88=B0=E5=AF=84=E4=BF=A1=E8=B3=87?= =?UTF-8?q?=E6=96=99=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Quartz/Jobs/ExceptionSchedule.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SolarPower/Quartz/Jobs/ExceptionSchedule.cs b/SolarPower/Quartz/Jobs/ExceptionSchedule.cs index 72882ed..b19a634 100644 --- a/SolarPower/Quartz/Jobs/ExceptionSchedule.cs +++ b/SolarPower/Quartz/Jobs/ExceptionSchedule.cs @@ -53,8 +53,7 @@ namespace SolarPower.Quartz.Jobs x.priority == 2 && (DateTime.Now.Subtract(DateTime.Parse(x.dev_time)).TotalSeconds / 60) >= ExceptionTimes_Priority2).ToList(); - var ExceptionListex3 = ExceptionList.Where(x => x.sourceState == 1 && - x.priority == 3 && + var ExceptionListex3 = ExceptionList.Where(x => x.priority == 3 && (DateTime.Now.Subtract(DateTime.Parse(x.dev_time)).TotalSeconds / 60) >= ExceptionTimes_Priority3).ToList(); ExceptionListex.AddRange(ExceptionListex2); ExceptionListex.AddRange(ExceptionListex3);