異常通知: priority為3的異常,改成不論是否賦歸,都送到寄信資料表
This commit is contained in:
parent
8da421258a
commit
08d888117e
@ -53,8 +53,7 @@ namespace SolarPower.Quartz.Jobs
|
|||||||
x.priority == 2 &&
|
x.priority == 2 &&
|
||||||
(DateTime.Now.Subtract(DateTime.Parse(x.dev_time)).TotalSeconds / 60) >= ExceptionTimes_Priority2).ToList();
|
(DateTime.Now.Subtract(DateTime.Parse(x.dev_time)).TotalSeconds / 60) >= ExceptionTimes_Priority2).ToList();
|
||||||
|
|
||||||
var ExceptionListex3 = ExceptionList.Where(x => x.sourceState == 1 &&
|
var ExceptionListex3 = ExceptionList.Where(x => x.priority == 3 &&
|
||||||
x.priority == 3 &&
|
|
||||||
(DateTime.Now.Subtract(DateTime.Parse(x.dev_time)).TotalSeconds / 60) >= ExceptionTimes_Priority3).ToList();
|
(DateTime.Now.Subtract(DateTime.Parse(x.dev_time)).TotalSeconds / 60) >= ExceptionTimes_Priority3).ToList();
|
||||||
ExceptionListex.AddRange(ExceptionListex2);
|
ExceptionListex.AddRange(ExceptionListex2);
|
||||||
ExceptionListex.AddRange(ExceptionListex3);
|
ExceptionListex.AddRange(ExceptionListex3);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user