Updated "UP" status to include UP_WITH_INCREASED_SAMPLING_METROLOGY

This commit is contained in:
Daniel Wathen
2023-05-25 09:00:23 -07:00
parent 3a2e68043c
commit e4624749ae
5 changed files with 6 additions and 7 deletions

View File

@ -540,7 +540,7 @@ public class ScrapeDatabaseRepository : IScrapeDatabaseRepository
string query = "SELECT TOP 1 DATEDIFF(MINUTE,STOP_DTM,SYSDATETIME()) " +
" FROM REACT_MODE " +
" WHERE REACT_NO = @reactorNumber " +
" AND (MODE = 'UP' OR MODE = 'UP_WITH_INCREASED_SAMPLING') " +
" AND (MODE = 'UP' OR MODE LIKE '%UP_WITH_INCREASED_SAMPLING%') " +
"ORDER BY START_DTM DESC";
cmd.CommandText = query;