| Line 223... |
Line 223... |
| 223 |
'--------------------------------------------------------------------------------------------------------------------------
|
223 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 224 |
' Convert run level into a meaningful filter state as a string
|
224 |
' Convert run level into a meaningful filter state as a string
|
| 225 |
' Will be one of: active, idle, paused, disabled, problem, unknown
|
225 |
' Will be one of: active, idle, paused, disabled, problem, unknown
|
| 226 |
Function Classify_Run_Level( nLevel, indefinitePause, astate, nDelta, pkgId, bActive)
|
226 |
Function Classify_Run_Level( nLevel, indefinitePause, astate, nDelta, pkgId, bActive)
|
| 227 |
|
227 |
|
| 228 |
If bActive = "N" Then
|
228 |
If bActive = "N" AND astate <> 2 Then
|
| 229 |
Classify_Run_Level = "problem"
|
229 |
Classify_Run_Level = "problem"
|
| 230 |
ElseIf indefinitePause Then
|
230 |
ElseIf indefinitePause Then
|
| 231 |
Classify_Run_Level = "problem"
|
231 |
Classify_Run_Level = "problem"
|
| 232 |
ElseIf astate = 1 Then ' if build daemon paused
|
232 |
ElseIf astate = 1 Then ' if build daemon paused
|
| 233 |
Classify_Run_Level = "paused"
|
233 |
Classify_Run_Level = "paused"
|