summaryrefslogtreecommitdiffstats
path: root/Under-Testing/Website/mutexSmartTest.php
diff options
context:
space:
mode:
authorgsmselftest2011-11-17 20:11:01 +0100
committergsmselftest2011-11-17 20:11:01 +0100
commit163f61c3bbae589e0790c927f8e1c8b8a1fecf04 (patch)
tree32d803651b2fefd319588465f5317be776732ea3 /Under-Testing/Website/mutexSmartTest.php
parentneed more test for tonight. Will be final version by tomorrow noon. (diff)
downloadgsm-selftest-163f61c3bbae589e0790c927f8e1c8b8a1fecf04.tar.gz
gsm-selftest-163f61c3bbae589e0790c927f8e1c8b8a1fecf04.tar.xz
gsm-selftest-163f61c3bbae589e0790c927f8e1c8b8a1fecf04.zip
fix truth table for the website picture
Diffstat (limited to 'Under-Testing/Website/mutexSmartTest.php')
-rw-r--r--Under-Testing/Website/mutexSmartTest.php42
1 files changed, 33 insertions, 9 deletions
diff --git a/Under-Testing/Website/mutexSmartTest.php b/Under-Testing/Website/mutexSmartTest.php
index 663f2f0..e76368a 100644
--- a/Under-Testing/Website/mutexSmartTest.php
+++ b/Under-Testing/Website/mutexSmartTest.php
@@ -256,7 +256,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
}
elseif($testStatus == '998' || $testStatus == '802')
{
- $GSMRZ1 = 0; //where is nanoBTS1
+ if ($GSMRZ1 != 1)
+ {
+ $GSMRZ1 = 0;
+ }
}
}
elseif ($callTo == 'GSMRZ1')
@@ -270,7 +273,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
}
elseif($testStatus == '999' || $testStatus == '801')
{
- $GSMRZ1 = 0; //where is nanoBTS1
+ if ($GSMRZ1 != 1)
+ {
+ $GSMRZ1 = 0;
+ }
}
}
}
@@ -314,11 +320,17 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
elseif ($testStatus == '500')
{
$NANOBTS1P = 0;
- $GSMRZ2= 0;
+ if ($GSMRZ2 != 1)
+ {
+ $GSMRZ2 = 0;
+ }
}
elseif($testStatus == '998' || $testStatus == '802')
{
- $GSMRZ2 = 0; //where is nanoBTS1
+ if ($GSMRZ2 != 1)
+ {
+ $GSMRZ2= 0;
+ }
$NANOBTS1P= 1;
}
}
@@ -345,7 +357,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
elseif ($testStatus == '501')
{
$NANOBTS1P = 0;
- $GSMRZ2= 0;
+ if ($GSMRZ2 != 1)
+ {
+ $GSMRZ2 = 0;
+ }
}
elseif($testStatus == '999' || $testStatus == '801')
{
@@ -397,14 +412,20 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
}
}
}
- elseif ($testStatus == '5010')
+ elseif ($testStatus == '501')
{
$NANOBTS2P = 0;
- $GSMRZ3= 0;
+ if ($GSMRZ3 != 1)
+ {
+ $GSMRZ3= 0;
+ }
}
elseif($testStatus == '998' || $testStatus == '802')
{
- $GSMRZ3 = 0; //where is nanoBTS1
+ if ($GSMRZ3 != 1)
+ {
+ $GSMRZ3= 0;
+ }
$NANOBTS2P= 1;
}
}
@@ -431,7 +452,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
elseif ($testStatus == '501')
{
$NANOBTS2P = 0;
- $GSMRZ3= 0;
+ if ($GSMRZ3 != 1)
+ {
+ $GSMRZ3 = 0;
+ }
}
elseif($testStatus == '999' || $testStatus == '801')
{