From c4f8d4b397ab56775d0a33e0a198923a3186e442 Mon Sep 17 00:00:00 2001 From: Triatmoko Date: Fri, 18 Nov 2011 01:44:41 +0100 Subject: fix truth table value for task list --- Under-Testing/Website/mutexTry.php | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/Under-Testing/Website/mutexTry.php b/Under-Testing/Website/mutexTry.php index a5c422e..584c4cc 100644 --- a/Under-Testing/Website/mutexTry.php +++ b/Under-Testing/Website/mutexTry.php @@ -198,7 +198,6 @@ if ($locking == '1') //1 means nobody is on the website { $LSFKS = 0; } - } elseif($testStatus == '999') { @@ -270,7 +269,7 @@ if ($locking == '1') //1 means nobody is on the website { if ($GSMRZ1 != 1) { - $GSMRZ1 = 0; + $GSMRZ1 = 0; } } } @@ -376,7 +375,10 @@ if ($locking == '1') //1 means nobody is on the website } elseif($testStatus == '999' || $testStatus == '801') { - $GSMRZ2 = 0; //where is nanoBTS1 + if ($GSMRZ2 != 1) + { + $GSMRZ2 = 0; + } if ($NANOBTS1P != 1) { $NANOBTS1P= 2; @@ -397,7 +399,7 @@ if ($locking == '1') //1 means nobody is on the website elseif($testStatus == '486') { - if ($GSMRZ3 != 1) + if ($GSMRZ3 != 1) { $GSMRZ3 = -1; } @@ -471,14 +473,17 @@ if ($locking == '1') //1 means nobody is on the website } elseif($testStatus == '999' || $testStatus == '801') { - $GSMRZ3 = 0; //where is nanoBTS1 + if ($GSMRZ3 != 1) + { + $GSMRZ3 = 0; + } if ($NANOBTS1P != 1) { $NANOBTS2P= 2; } } - }// + } } if($callFrom == 'GSMEXT.O2' || $callTo == 'GSMEXT.O2') @@ -807,7 +812,10 @@ if ($locking == '1') //1 means nobody is on the website elseif ($testStatus == '500') { $LANDLINEP = 0; - $LANDLINE = 0; + if ($LANDLINE != 1) + { + $LANDLINE = 0; + } } elseif($testStatus == '998' || $testStatus == '802') { @@ -839,7 +847,10 @@ if ($locking == '1') //1 means nobody is on the website elseif ($testStatus == '501') { $LANDLINEP = 0; - $LANDLINE = 0; + if ($LANDLINE != 1) + { + $LANDLINE = 0; + } } elseif($testStatus == '998') { @@ -890,11 +901,17 @@ if ($locking == '1') //1 means nobody is on the website elseif ($testStatus == '500') { $UNISIPP = 0; - $UNISIP = 0; + if ($UNISIP != 1) + { + $UNISIP = 0; + } } elseif($testStatus == '998' || $testStatus == '802') { - $UNISIP = 1; + if ($UNISIP != 1) + { + $UNISIP = 0; + } $UNISIPP = 1; } } -- cgit v1.2.3-55-g7522