Updated "UP" status to include UP_WITH_INCREASED_SAMPLING_METROLOGY
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user