Improved code.
This commit is contained in:
parent
eeee402362
commit
17be208de5
1 changed files with 4 additions and 4 deletions
|
@ -60,15 +60,15 @@ public class AgirStatoolUtils
|
|||
}
|
||||
else if (value < 20)
|
||||
{
|
||||
result = " caution";
|
||||
result = "caution";
|
||||
}
|
||||
else if (value < 50)
|
||||
{
|
||||
result = " warning";
|
||||
result = "warning";
|
||||
}
|
||||
else
|
||||
{
|
||||
result = " alert";
|
||||
result = "alert";
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -92,7 +92,7 @@ public class AgirStatoolUtils
|
|||
}
|
||||
else
|
||||
{
|
||||
result = " alert";
|
||||
result = "alert";
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue