summaryrefslogtreecommitdiffstats
path: root/Under-Testing/Website/mutexSmartTest.php
diff options
context:
space:
mode:
authorgsmselftest2011-11-17 20:23:11 +0100
committergsmselftest2011-11-17 20:23:11 +0100
commit527e07a5fd77afa61076dc1cb75832b501ad2a86 (patch)
tree0e6ebea132cf46400899f5c1a83bfc70d83ab490 /Under-Testing/Website/mutexSmartTest.php
parentfix truth table for the website picture (diff)
downloadgsm-selftest-527e07a5fd77afa61076dc1cb75832b501ad2a86.tar.gz
gsm-selftest-527e07a5fd77afa61076dc1cb75832b501ad2a86.tar.xz
gsm-selftest-527e07a5fd77afa61076dc1cb75832b501ad2a86.zip
....
Diffstat (limited to 'Under-Testing/Website/mutexSmartTest.php')
-rw-r--r--Under-Testing/Website/mutexSmartTest.php39
1 files changed, 28 insertions, 11 deletions
diff --git a/Under-Testing/Website/mutexSmartTest.php b/Under-Testing/Website/mutexSmartTest.php
index e76368a..26e51dc 100644
--- a/Under-Testing/Website/mutexSmartTest.php
+++ b/Under-Testing/Website/mutexSmartTest.php
@@ -60,7 +60,7 @@ if ($locking == '1')
fwrite($startApp, "START APP");
usleep(2500);
fclose($startApp);
- }
+
#sleep till the software starts
sleep(5);
@@ -186,7 +186,6 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
{
$LSFKS = 0;
}
-
}
elseif($testStatus == '999')
{
@@ -258,7 +257,7 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
{
if ($GSMRZ1 != 1)
{
- $GSMRZ1 = 0;
+ $GSMRZ1 = 0;
}
}
}
@@ -364,7 +363,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
}
elseif($testStatus == '999' || $testStatus == '801')
{
- $GSMRZ2 = 0; //where is nanoBTS1
+ if ($GSMRZ2 != 1)
+ {
+ $GSMRZ2 = 0;
+ }
if ($NANOBTS1P != 1)
{
$NANOBTS1P= 2;
@@ -385,7 +387,7 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
elseif($testStatus == '486')
{
- if ($GSMRZ3 != 1)
+ if ($GSMRZ3 != 1)
{
$GSMRZ3 = -1;
}
@@ -459,14 +461,17 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
}
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')
@@ -795,7 +800,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
elseif ($testStatus == '500')
{
$LANDLINEP = 0;
- $LANDLINE = 0;
+ if ($LANDLINE != 1)
+ {
+ $LANDLINE = 0;
+ }
}
elseif($testStatus == '998' || $testStatus == '802')
{
@@ -827,7 +835,10 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
elseif ($testStatus == '501')
{
$LANDLINEP = 0;
- $LANDLINE = 0;
+ if ($LANDLINE != 1)
+ {
+ $LANDLINE = 0;
+ }
}
elseif($testStatus == '998')
{
@@ -878,11 +889,17 @@ echo '<div id="footer"><font size ="3" face="Century Gothic" color="black">SMART
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;
}
}