init web ems all
This commit is contained in:
76
wxc2_omc/performance/detailCsta/csta_field.php
Executable file
76
wxc2_omc/performance/detailCsta/csta_field.php
Executable file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
require("../../inc/header.inc");
|
||||
require("../generalCsta/function.inc");
|
||||
?>
|
||||
|
||||
<?php
|
||||
echo "<form action=\"$PHP_SELF\" method=\"post\">";
|
||||
$generalConf=parse_ini_file("general.conf",true);
|
||||
$csvFieldName=GetRowCsv("./fieldConf/{$sysTypeNo}_name.csv");
|
||||
|
||||
$sql="show fields from {$generalConf[$sysTypeNo][DataTable]} where Field <> 'key_sys_id' and Field <> 'key_subsys_id' and Field <> 'key_type' and Field <> 'key_e1_tg' and Field <> 'csta_datetime' ";
|
||||
$res=mysqli_query($pubConn,$sql);
|
||||
$num=mysqli_num_rows($res);
|
||||
|
||||
if($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
{
|
||||
unlink("./fieldConf/{$sysTypeNo}_flag.csv");
|
||||
$content="";
|
||||
for($i=0;$i<$num;$i++)
|
||||
{
|
||||
$param="field_$i";
|
||||
$value=$$param;
|
||||
//echo "$i={$value}<br>";
|
||||
if(strcasecmp($value,"on"))
|
||||
$content.="0";
|
||||
else
|
||||
$content.="1";
|
||||
if($i != ($num-1))
|
||||
$content.=",";
|
||||
}
|
||||
$content.="\n";
|
||||
file_put_contents("./fieldConf/{$sysTypeNo}_flag.csv",$content);
|
||||
|
||||
echo "<script language=\"JavaScript\">\n";
|
||||
echo "window.close();\n";
|
||||
echo "</script>\n";
|
||||
}
|
||||
|
||||
echo "{$generalConf[$sysTypeNo][PageTitle]}<br><br>";
|
||||
echo "<b>Please select the fields to browse</b><br>";
|
||||
echo "<table border=0 width=\"70%\">";
|
||||
echo "<tr bgcolor=\"#E6E6E6\">";
|
||||
echo "<td width=\"60%\">Name</td>";
|
||||
echo "<td width=\"10%\">Flag</td>";
|
||||
echo "</tr>";
|
||||
|
||||
$csvData=GetRowCsv("./fieldConf/{$sysTypeNo}_flag.csv");
|
||||
if(0)
|
||||
{
|
||||
echo "<pre>";
|
||||
print_r($csvData);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
for($i=0;$i<$num;$i++)
|
||||
{
|
||||
$row=@mysqli_fetch_array($res);
|
||||
echo "<tr>";
|
||||
echo "<td>{$csvFieldName[$i]}</td>";
|
||||
echo "<td>";
|
||||
if($csvData[$i] != 0)
|
||||
echo "<input type=\"checkbox\" checked name=\"field_$i\">";
|
||||
else
|
||||
echo "<input type=\"checkbox\" name=\"field_$i\">";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
echo "</table>";
|
||||
|
||||
echo "<br>";
|
||||
echo "<input type=\"submit\" name=\"save\" value=\"Save\" class=\"button\">";
|
||||
echo "<input type=\"hidden\" name=\"sysTypeNo\" value=\"$sysTypeNo\">";
|
||||
|
||||
echo "</form>";
|
||||
?>
|
||||
309
wxc2_omc/performance/detailCsta/detail_csta_down.php
Executable file
309
wxc2_omc/performance/detailCsta/detail_csta_down.php
Executable file
@@ -0,0 +1,309 @@
|
||||
<?php
|
||||
require("../../inc/header.inc");
|
||||
require("../generalCsta/function.inc");
|
||||
global $OMC_server;
|
||||
$cstaDbConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], "CSTA_DB");
|
||||
|
||||
if($scroll_y > 0){
|
||||
echo "<body leftmargin=\"15\" rightmargin=\"10\" onload=\"javascript:scroll_div('$scroll_y');javascript:adjust_frame('down');\" onresize=\"javascript:adjust_frame('down');\" style=\"overflow:hidden;overflow-x:hidden;overflow-y:hidden;\">";
|
||||
}else{
|
||||
echo "<body leftmargin=\"15\" rightmargin=\"10\" onload=\"javascript:adjust_frame('down');\" onresize=\"javascript:adjust_frame('down');\" style=\"overflow:hidden;overflow-x:hidden;overflow-y:hidden;\">";
|
||||
}
|
||||
?>
|
||||
|
||||
<script language="JavaScript">
|
||||
function select_page_up(sysTypeNo,sel_date_from,keyOne,keyTwo)
|
||||
{
|
||||
var page_id=document.myform.page_select_up.value;
|
||||
var newurl="./detail_csta_down.php?sysTypeNo="+sysTypeNo+"&sel_date_from="+sel_date_from+"&keyOne="+keyOne+"&keyTwo="+keyTwo+"&page_id="+page_id;
|
||||
window.location.href=newurl;
|
||||
}
|
||||
function select_page_down(sysTypeNo,sel_date_from,keyOne,keyTwo)
|
||||
{
|
||||
var page_id=document.myform.page_select_down.value;
|
||||
var newurl="./detail_csta_down.php?sysTypeNo="+sysTypeNo+"&sel_date_from="+sel_date_from+"&keyOne="+keyOne+"&keyTwo="+keyTwo+"&page_id="+page_id;
|
||||
window.location.href=newurl;
|
||||
}
|
||||
</script>
|
||||
<form name="myform" action="detail_csta_down.php" method="POST">
|
||||
<?php
|
||||
adjust_head_frame("down");
|
||||
adjust_title_head_frame("down");
|
||||
adjust_title_tail_frame("down");
|
||||
adjust_content_head_frame("down");
|
||||
|
||||
$sel_date_from = $_REQUEST['sel_date_from'];
|
||||
$sysTypeNo = $_REQUEST['sysTypeNo'];
|
||||
|
||||
$keyOne = $_REQUEST['keyOne'];
|
||||
$keyTwo = $_REQUEST['keyTwo'];
|
||||
$page_id = $_REQUEST['page_id'];
|
||||
|
||||
if(!isset($keyOne))
|
||||
$keyOne=-1;
|
||||
if(!isset($keyTwo))
|
||||
$keyTwo=-1;
|
||||
if(!isset($page_id))
|
||||
$page_id=0;
|
||||
|
||||
|
||||
if(0)
|
||||
{
|
||||
echo "sysTypeNo=$sysTypeNo<br>";
|
||||
echo "sel_date_from=$sel_date_from<br>";
|
||||
echo "keyOne=$keyOne,keyTwo=$keyTwo<br>";
|
||||
echo "page_id=$page_id<br>";
|
||||
}
|
||||
|
||||
$generalConf=parse_ini_file("general.conf",true);
|
||||
$cstaConf=GetCstaConf($sysTypeNo);
|
||||
if(0)
|
||||
{
|
||||
echo "sysTypeNo=$sysTypeNo<br>";
|
||||
echo "<pre>";
|
||||
print_r($cstaConf);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
|
||||
$sql="show fields from {$generalConf[$sysTypeNo][DataTable]} where Field <> 'key_sys_id' and Field <> 'key_subsys_id' and Field <> 'key_type' and Field <> 'key_e1_tg' and Field <> 'csta_datetime' ";
|
||||
$res=mysqli_query($cstaDbConn,$sql);
|
||||
$num=mysqli_num_rows($res);
|
||||
$fieldnum=$num;
|
||||
if(0)
|
||||
{
|
||||
echo "sql:$sql<br>";
|
||||
echo "num:$num<br>";
|
||||
}
|
||||
for($i=0;$i<$fieldnum;$i++)
|
||||
{
|
||||
$row=@mysqli_fetch_array($res);
|
||||
$csta_fields[]=$row[Field];
|
||||
}
|
||||
$cstafieldstr=implode(",",$csta_fields);
|
||||
$csvData=GetRowCsv("./fieldConf/{$sysTypeNo}_flag.csv");
|
||||
$csvFieldName=GetRowCsv("./fieldConf/{$sysTypeNo}_name.csv");
|
||||
if(0)
|
||||
{
|
||||
echo "cstafieldstr=$cstafieldstr<br>";
|
||||
echo "<pre>";
|
||||
print_r($csta_fields);
|
||||
print_r($csvFieldName);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
$startTime=date("Y-m-d H:i:s",mktime(0,0,0,date("m"),date("d")-$sel_date_from,date("Y")));
|
||||
$endTime=date("Y-m-d H:i:s",mktime(23,59,59,date("m"),date("d")-$sel_date_from,date("Y")));
|
||||
//echo "sel_date_from=$sel_date_from,startTime=$startTime,endTime=$endTime<br>";
|
||||
|
||||
//echo "keyOne=$keyOne,keyTwo=$keyTwo<br>";
|
||||
$condition="";
|
||||
if($keyOne != -1)
|
||||
{
|
||||
$condition.=" and key_type=$keyOne ";
|
||||
}
|
||||
if($keyTwo != -1)
|
||||
{
|
||||
$condition.=" and key_e1_tg=$keyTwo ";
|
||||
}
|
||||
// echo "<pre>";
|
||||
// echo print_r($generalConf);
|
||||
// echo "</pre>";
|
||||
|
||||
$start_record=$generalConf[MaxRow]*$page_id;
|
||||
$end_record=$generalConf[MaxRow]*($page_id+1);
|
||||
|
||||
$sql="select * from {$generalConf[$sysTypeNo][DataTable]} where csta_datetime>='$startTime' and csta_datetime <= '$endTime' $condition order by csta_datetime desc ";
|
||||
//echo "$sql<br>";
|
||||
$res=mysqli_query($cstaDbConn,$sql);
|
||||
$num=mysqli_num_rows($res);
|
||||
echo mysqli_error($cstaDbConn);
|
||||
$totalrecordnum=$num;
|
||||
if(0)
|
||||
{
|
||||
echo "sql2:$sql<br>";
|
||||
echo "num2:$num<br>";
|
||||
}
|
||||
|
||||
$sql="select * from {$generalConf[$sysTypeNo][DataTable]} where csta_datetime>='$startTime' and csta_datetime <= '$endTime' $condition order by csta_datetime desc LIMIT $start_record, {$generalConf[MaxRow]} ";
|
||||
//echo "$sql<br>";
|
||||
$res=mysqli_query($cstaDbConn,$sql);
|
||||
$num=mysqli_num_rows($res);
|
||||
$recordnum=$num;
|
||||
$pagenum=ceil($totalrecordnum/$generalConf[MaxRow]);
|
||||
if(0)
|
||||
{
|
||||
echo "recordnum=$recordnum,max={$generalConf[MaxRow]},pagenum=$pagenum<br>";
|
||||
}
|
||||
|
||||
$start_recordstr=$start_record++;
|
||||
if($start_recordstr >= $totalrecordnum)
|
||||
$start_recordstr=$totalrecordnum;
|
||||
else
|
||||
$start_recordstr=$start_record;
|
||||
|
||||
if($end_record > $totalrecordnum)
|
||||
$end_recordstr=$totalrecordnum;
|
||||
else
|
||||
$end_recordstr=$end_record;
|
||||
|
||||
$prev_page_id=$page_id-1;
|
||||
$next_page_id=$page_id+1;
|
||||
|
||||
echo "<table border=0 width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\" align=\"left\">";
|
||||
echo "Record: $start_recordstr - $end_recordstr, Total: $totalrecordnum";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\">";
|
||||
if($page_id > 0)
|
||||
{
|
||||
echo "<a href=\"$PHP_SELF?sysTypeNo=$sysTypeNo&sel_date_from=$sel_date_from&keyOne=$keyOne&keyTwo=$keyTwo&page_id=$prev_page_id\">";
|
||||
echo "Previous<img src=\"../../images/left.gif\" alt=$strNextPage align=absBottom border=0></img></a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<font color=\"#808080\">Previous</font><img src=\"../../images/left_1.gif\" alt=$strNextPage align=absBottom border=0></img>";
|
||||
}
|
||||
echo "<select name=\"page_select_up\" onchange=\"javascript:select_page_up('$sysTypeNo','$sel_date_from','$keyOne','$keyTwo');\">";
|
||||
for($i=0;$i<$pagenum;$i++)
|
||||
{
|
||||
$showpage=$i+1;
|
||||
if($page_id == $i)
|
||||
echo "<option value=\"$i\" selected>$showpage</option>";
|
||||
else
|
||||
echo "<option value=\"$i\">$showpage</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
if($page_id < ($pagenum-1))
|
||||
{
|
||||
echo "<a href=\"$PHP_SELF?sysTypeNo=$sysTypeNo&sel_date_from=$sel_date_from&keyOne=$keyOne&keyTwo=$keyTwo&page_id=$next_page_id\">";
|
||||
echo "<img src=\"../../images/right.gif\" alt=$strNextPage align=absBottom border=0>Next</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<img src=\"../../images/right_1.gif\" alt=$strNextPage align=absBottom border=0><font color=\"#808080\">Next</font>";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
echo "<table width=\"100%\" border=\"1\" cellpadding=\"2\" cellspacing=\"0\" bordercolor=\"#666666\" bordercolordark=\"#FFFFFF\" bgcolor=\"#FFFFFF\">";
|
||||
echo "<tr bgcolor=\"#E6E6E6\">";
|
||||
echo "<td>System</td>";
|
||||
echo "<td>Type</td>";
|
||||
echo "<td>TG</td>";
|
||||
for($i=0;$i<$fieldnum;$i++)
|
||||
{
|
||||
//{$csta_fields[$i]}
|
||||
if($csvData[$i] != 0)
|
||||
echo "<td>{$csvFieldName[$i]}</td>";
|
||||
}
|
||||
echo "<td>Time</td>";
|
||||
echo "</tr>";
|
||||
|
||||
if($recordnum == 0)
|
||||
{
|
||||
echo "<tr>";
|
||||
echo "<td>--</td>";
|
||||
echo "<td>--</td>";
|
||||
echo "<td>--</td>";
|
||||
for($j=0;$j<$fieldnum;$j++)
|
||||
{
|
||||
if($csvData[$j] != 0)
|
||||
echo "<td>--</td>";
|
||||
}
|
||||
echo "<td>--</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
|
||||
for($i=0;$i<$cstaConf[DataObjectCount];$i++)
|
||||
{
|
||||
$doConf=$cstaConf[DataObject][$i];
|
||||
for($keyIndex=$doConf[KeyOneStart];$keyIndex<=$doConf[KeyOneEnd];$keyIndex++)
|
||||
{
|
||||
$keyCountConf[$keyIndex]=$doConf[KeyFieldCount];
|
||||
}
|
||||
}
|
||||
if(0)
|
||||
{
|
||||
echo "<pre>";
|
||||
print_r($keyCountConf);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
for($i=0;$i<$recordnum;$i++)
|
||||
{
|
||||
$row=@mysqli_fetch_array($res);
|
||||
echo "<tr>";
|
||||
$system_id="{$generalConf[$sysTypeNo][Module]}_".($row[key_sys_id]+0);
|
||||
echo "<td>$system_id</td>";
|
||||
|
||||
$typestr=$generalConf[KeyOneName][$sysTypeNo][$row[key_type]];
|
||||
if($keyCountConf[$row[key_type]] > 0)
|
||||
echo "<td>$typestr</td>";
|
||||
else
|
||||
echo "<td>--</td>";
|
||||
|
||||
if($keyCountConf[$row[key_type]] == 2)
|
||||
echo "<td>{$row[key_e1_tg]}</td>";
|
||||
else
|
||||
echo "<td>--</td>";
|
||||
|
||||
for($j=0;$j<$fieldnum;$j++)
|
||||
{
|
||||
if($csvData[$j] != 0)
|
||||
echo "<td>{$row[$csta_fields[$j]]}</td>";
|
||||
}
|
||||
|
||||
echo "<td>{$row[csta_datetime]}</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
echo "</table>";
|
||||
if($recordnum >= 25)
|
||||
{
|
||||
echo "<table border=0 width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\" align=\"left\">";
|
||||
echo "Record: $start_recordstr - $end_recordstr, Total: $totalrecordnum";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\">";
|
||||
if($page_id > 0)
|
||||
{
|
||||
echo "<a href=\"$PHP_SELF?sysTypeNo=$sysTypeNo&sel_date_from=$sel_date_from&keyOne=$keyOne&keyTwo=$keyTwo&page_id=$prev_page_id\">";
|
||||
echo "Previous<img src=\"../../images/left.gif\" alt=$strNextPage align=absBottom border=0></img></a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<font color=\"#808080\">Previous</font><img src=\"../../images/left_1.gif\" alt=$strNextPage align=absBottom border=0></img>";
|
||||
}
|
||||
echo "<select name=\"page_select_down\" onchange=\"javascript:select_page_down('$sysTypeNo','$sel_date_from','$keyOne','$keyTwo');\">";
|
||||
for($i=0;$i<$pagenum;$i++)
|
||||
{
|
||||
$showpage=$i+1;
|
||||
if($page_id == $i)
|
||||
echo "<option value=\"$i\" selected>$showpage</option>";
|
||||
else
|
||||
echo "<option value=\"$i\">$showpage</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
if($page_id < ($pagenum-1))
|
||||
{
|
||||
echo "<a href=\"$PHP_SELF?sysTypeNo=$sysTypeNo&sel_date_from=$sel_date_from&keyOne=$keyOne&keyTwo=$keyTwo&page_id=$next_page_id\">";
|
||||
echo "<img src=\"../../images/right.gif\" alt=$strNextPage align=absBottom border=0>Next</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<img src=\"../../images/right_1.gif\" alt=$strNextPage align=absBottom border=0><font color=\"#808080\">Next</font>";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
}
|
||||
adjust_content_tail("down");
|
||||
echo "</form>";
|
||||
?>
|
||||
8
wxc2_omc/performance/detailCsta/detail_csta_index.php
Executable file
8
wxc2_omc/performance/detailCsta/detail_csta_index.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<frameset rows="75,*" frameborder=0 border=0>
|
||||
<?php
|
||||
$sysTypeNo = $_REQUEST['sysTypeNo'];
|
||||
$sysNo=$_REQUEST['sysNo'];
|
||||
echo "<frame scrolling=\"no\" name=\"detail_csta_up\" src=\"detail_csta_up.php?sysTypeNo=$sysTypeNo\">";
|
||||
echo "<frame name=\"detail_csta_down\" src=\"detail_csta_down.php?sysTypeNo=$sysTypeNo\">";
|
||||
?>
|
||||
</frameset>
|
||||
178
wxc2_omc/performance/detailCsta/detail_csta_up.php
Executable file
178
wxc2_omc/performance/detailCsta/detail_csta_up.php
Executable file
@@ -0,0 +1,178 @@
|
||||
<?php
|
||||
//Include the head file
|
||||
require("../../inc/header.inc");
|
||||
require("../generalCsta/function.inc");
|
||||
?>
|
||||
|
||||
<script language="JavaScript">
|
||||
function refresh_page()
|
||||
{
|
||||
|
||||
var sysTypeNo=document.myform.sysTypeNo.value;
|
||||
var down_date_from=document.myform.sel_date_from.value;
|
||||
var keyOne=document.myform.keyOne.value;
|
||||
var keyTwo=document.myform.keyTwo.value;
|
||||
|
||||
var urll='<?php echo"$PHP_SELF";?>?sysTypeNo='+sysTypeNo+'&sel_date_from='+down_date_from+'&keyOne='+keyOne+'&keyTwo='+keyTwo;
|
||||
window.location.href=urll;
|
||||
}
|
||||
|
||||
function openFieldConf(sysTypeNo)
|
||||
{
|
||||
URL="./csta_field.php?sysTypeNo="+sysTypeNo;
|
||||
var setWindow = open(URL, 'newWin', 'toolbar=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,status=yes,width=400,height=350');
|
||||
setWindow.focus();
|
||||
}
|
||||
</script>
|
||||
|
||||
<base target="detail_csta_down">
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust_frame('up');" onresize="javascript:adjust_frame('up');" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form action="detail_csta_down.php" method="post" name="myform">
|
||||
|
||||
<?php
|
||||
$sysTypeNo=$_REQUEST['sysTypeNo'];
|
||||
$generalConf=parse_ini_file("general.conf",true);
|
||||
$cstaConf=GetCstaConf($sysTypeNo);
|
||||
if(0)
|
||||
{
|
||||
echo "<pre>";
|
||||
print_r($generalConf);
|
||||
echo "</pre>";
|
||||
}
|
||||
adjust_head_frame("up");
|
||||
adjust_title_head_frame("up");
|
||||
echo "<table id=\"table_up\" border=0 width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=80% align=\"left\">";
|
||||
echo "{$generalConf[$sysTypeNo][PageTitle]}";
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\">";
|
||||
if(isset($generalConf[HelpID][$sysTypeNo][$page_id]))
|
||||
showHelp($generalConf[HelpID][$sysTypeNo][$page_id]);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\">";
|
||||
|
||||
//select day
|
||||
for($i=0;$i<$generalConf[MaxDay];$i++)
|
||||
{
|
||||
$startDay[]=date("Y-m-d",mktime(0,0,0,date("m"),date("d")-$i,date("Y")));
|
||||
}
|
||||
echo "Date <select name=\"sel_date_from\">";
|
||||
for($i=0;$i<$generalConf[MaxDay];$i++)
|
||||
{
|
||||
if($i==$sel_date_from)
|
||||
echo "<option selected value=$i>{$startDay[$i]}</option>";
|
||||
else
|
||||
echo "<option value=$i>{$startDay[$i]}</option>";
|
||||
}
|
||||
echo "</select> ";
|
||||
|
||||
|
||||
//KeyOne selection
|
||||
if(!isset($keyOne))
|
||||
$keyOne=-1;
|
||||
$keyonenum=sizeof($generalConf[KeyOneName][$sysTypeNo]);
|
||||
echo "Type <select name=\"keyOne\" onchange=\"javascript:refresh_page();\">";
|
||||
if($keyOne==-1)
|
||||
echo "<option selected value=\"-1\">All</option>";
|
||||
else
|
||||
echo "<option value=\"-1\">All</option>";
|
||||
for($i=0;$i<$keyonenum;$i++)
|
||||
{
|
||||
if(strcmp($generalConf[KeyOneName][$sysTypeNo][$i],"none"))
|
||||
{
|
||||
if($keyOne == $i)
|
||||
echo "<option selected value=\"$i\">{$generalConf[KeyOneName][$sysTypeNo][$i]}</option>";
|
||||
else
|
||||
echo "<option value=\"$i\">{$generalConf[KeyOneName][$sysTypeNo][$i]}</option>";
|
||||
}
|
||||
}
|
||||
echo "</select> ";
|
||||
|
||||
//KeyTwo selection
|
||||
if(!isset($keyTwo))
|
||||
$keyTwo=-1;
|
||||
$hideFlag=0;
|
||||
if($keyOne == -1)
|
||||
{
|
||||
$hideFlag=0;
|
||||
}
|
||||
else
|
||||
{
|
||||
for($i=0;$i<$cstaConf[DataObjectCount];$i++)
|
||||
{
|
||||
$doConf=$cstaConf[DataObject][$i];
|
||||
if($keyOne >= $doConf[KeyOneStart] && $keyOne <= $doConf[KeyOneEnd])
|
||||
break;
|
||||
}
|
||||
}
|
||||
if($i == $cstaConf[DataObjectCount])
|
||||
$hideFlag=1;
|
||||
else
|
||||
{
|
||||
if($doConf[KeyFieldCount] == 2)
|
||||
$hideFlag=0;
|
||||
else
|
||||
$hideFlag=1;
|
||||
}
|
||||
|
||||
echo "<span ";
|
||||
if($hideFlag == 1)
|
||||
echo " style=\"display:none;\" ";
|
||||
echo ">";
|
||||
echo "TG <select name=\"keyTwo\">";
|
||||
if($keyTwo==-1)
|
||||
echo "<option selected value=\"-1\">All</option>";
|
||||
else
|
||||
echo "<option value=\"-1\">All</option>";
|
||||
if($hideFlag == 0)
|
||||
{
|
||||
for($i=$doConf[KeyTwoStart];$i<=$doConf[KeyTwoEnd];$i++)
|
||||
{
|
||||
if($keyTwo == $i)
|
||||
echo "<option selected value=\"$i\">{$i}</option>";
|
||||
else
|
||||
echo "<option value=\"$i\">{$i}</option>";
|
||||
}
|
||||
}
|
||||
echo "</select> ";
|
||||
echo "</span>";
|
||||
|
||||
if($hideFlag == 1)
|
||||
echo "<input type=\"hidden\" name=\"keyTwo\" value=\"-1\">";
|
||||
|
||||
//search button
|
||||
echo "<span onClick=\"javascript:myform.submit()\" style=\"cursor:hand\">";
|
||||
echo "<IMG align=absBottom border=0 src=\"../../images/search.gif\">$strSearch";
|
||||
echo "</span>";
|
||||
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\">";
|
||||
|
||||
//Config the field
|
||||
echo "<span onClick=\"javascript:openFieldConf('$sysTypeNo');\" style=\"cursor:hand\">";
|
||||
echo "<img border=0 src=\"../../images/list.gif\" width=16 height=16>";
|
||||
echo "</span> ";
|
||||
|
||||
?>
|
||||
<span onClick="window.print();" style="cursor:hand">
|
||||
<img border=0 src="../../images/printer.gif" width="16" height="16">
|
||||
</span>
|
||||
|
||||
<?php
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
echo "<input type=\"hidden\" name=\"sysTypeNo\" value=\"$sysTypeNo\">";
|
||||
|
||||
echo "</form>";
|
||||
adjust_title_tail_frame("up");
|
||||
adjust_content_head_frame("up");
|
||||
adjust_content_tail_frame("up");
|
||||
|
||||
echo "</form>";
|
||||
?>
|
||||
1
wxc2_omc/performance/detailCsta/fieldConf/311_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/311_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/311_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/311_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
PPS service attempt,PPS service success,MSC service attempt,MSC service success,Invalid call
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/320_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/320_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/320_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/320_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
Attempt,Success,Duration,Normal,Call Deny,Net Busy,Caller Clear,Sub Busy,No Answer,Signal Error
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/325_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/325_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,1,1
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/325_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/325_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
Attempted MS memory available notifications,Successful MS memory available notifications,Attempted Identification requests to PVLRs,Successful Identification requests to PVLRs,Attempted page requests,Successful page requests,Attempted page requests per Location Area,Successful page requests per Location Area,Attempted requests for Authentication sets sent to HLR by VLRs,Successful received Authentication sets from HLR to VLRs,Empty responses to request for Authentication sets from HLR to VLRs,Attempted authentication procedures in VLR,Successful authentication procedures in the VLR,Attempted intra-VLR Location Updates,Successful intra-VLR Location Updates,Attempted inter-VLR Location Updates,Successful inter-VLR Location Updates,Arrivals of Visitors from other PLMNs,Subscribers from other PLMNs registered in the VLR,Number of roamers in the VLR
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/330_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/330_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/330_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/330_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
Number of current MS's Roaming outside HPLMN,Attempted requests for Authentication sets,Successful returned Authentication sets,Empty responses to request for Authentication sets,Attempted insert subscriber data service,Successful insert subscriber data service,Attempted Location Updates,Successful Location Updates,Attempted SS related operations,Successful SS related operations,Attempted request for SM routing information,Successful request for SM routing information,Attempted SM delivery status report procedures,Successful SM delivery status report procedures,Attempted number of send alerts,Successful number of send alerts,Attempted request for MSRN,Successful request for MSRN,MS Initial USSD Attempt,MS Initial USSD Success,Relay USSD to SCF Attempt,Relay USSD to SCF Success
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/340_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/340_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,1,0,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/340_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/340_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
Triplets require success,HLR create subscriber success,HLR delete subscriber success,AUC create subscriber success,AUC delete subscriber success,Tripletes require fail,HLR create subscriber fail,HLR delete subscriber fail,AUC create subscriber fail,AUC delete subscriber fail,Interrogate subscriber success,Interrogate subscriber fail
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/350_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/350_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/350_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/350_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
MS to SMSC attempt,MS to SMSC success,MS to SMSC sysfail,MS to SMSC userfail,MS to SMSC smfail,MS to SMSC byte,PPS to SMSC attempt,PPS to SMSC success,PPS to SMSC sysfail,PPS to SMSC userfail,PPS to SMSC smfail,PPS to SMSC byte,VMS to SMSC attempt,VMS to SMSC success,VMS to SMSC sysfail,VMS to SMSC userfail,VMS to SMSC smfail,VMS to SMSC byte,SMPP to SMSC attempt,SMPP to SMSC success,SMPP to SMSC sysfail,SMPP to SMSC userfail,SMPP to SMSC smfail,SMPP to SMSC byte,SMSC to MS attempt,SMSC to MS success,SMSC to MS sysfail,SMSC to MS userfail,SMSC to MS smfail,SMSC to MS byte,SMSC to PPS attempt,SMSC to PPS success,SMSC to PPS sysfail,SMSC to PPS userfail,SMSC to PPS smfail,SMSC to PPS byte,SMSC to VMS attempt,SMSC to VMS success,SMSC to VMS sysfail,SMSC to VMS userfail,SMSC to VMS smfail,SMSC to VMS byte,SMSC to SMPP attempt,SMSC to SMPP success,SMSC to SMPP sysfail,SMSC to SMPP userfail,SMSC to SMPP smfail,SMSC to SMPP byte,SM begin,SM end
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/360_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/360_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/360_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/360_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
Local call,Trunk out,NDD call,HMT call,IDD call,Local called,Call in,Periodic charge,Assisted recharge,Assisted withdraw,Recharge success,Recharge fail,SM,CNF,Third party,Emergency call number,Local calling cost,Trunk out cost,NDD call cost,HMT call cost,IDD call cost,Local called cost,Call in cost,Periodic charge cost,Assisted recharge cost,Assisted withdraw cost,Recharge success cost,Recharge fail cost,SM cost,CNF cost,Third party cost,Emergency call cost,Local calling duration,Trunk out duration,NDD call duration,HMT call duration,IDD call duration,Local called duration,Call in duration,Periodic charge duration,Assisted recharge duration,Assisted withdraw duration,Recharge success duration,Recharge fail duration,SM duration,CNF duration,Third party duration,Emergency call duration,GPRS attempt,GPRS total charged,GPRS duration,GPRS total volumn
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/361_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/361_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/361_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/361_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
num_of_online_enb,num_of_registered_ues,num_of_connected_ues,num_of_idle_ues
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/362_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/362_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/362_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/362_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
attemp_sess_est_num,suc_sess_est_num,actived_user_num,max_actived_user_num,cur_ps_active_user_num,max_cur_ps_active_user_num,cur_ims_active_user_num,max_cur_ims_active_user_num,ps_ip_addr_allocated,ps_ip_addr_free,ims_ip_addr_allocated,ims_ip_addr_free,ps_pagin_num,fail_ps_paging_num,ims_paging_num,fail_ims_paging_num,ps_ccr_update_num,ps_ccr_update_time_interval,uplink_average_pack_num,downlink_average_pack_num,uplink_average_pack_size,downlink_average_pack_size,uplink_data_bit_rate,uplink_data_max_bit_rate,downlink_data_bit_rate,downlink_data_max_bit_rate,gtp_context_num,gtp_active_tunnrl_num,total_up_pktnum,total_down_pktnum
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/363_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/363_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,1
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/363_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/363_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
num_of_register_success,num_of_register_failed,num_of_moc_setup,num_of_moc_ring,num_of_mtc_setup,num_of_mtc_ring
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/364_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/364_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/364_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/364_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
numRtpBytesReceivedUplink,numRtpPacketsReceivedUplink,numRtpBytesSentUplink,numRtpPacketsSentUplink,numRtpBytesReceivedDnlink,numRtpPacketsReceivedDnlink,numRtpBytesSentDnlink,numRtpPacketsSentDnlink,numLsCall,numGtpKBytesReceivedUplink,numGtpPacketsReceivedUplink,numGtpKBytesSentUplink,numGtpPacketsSentUplink,numGtpKBytesReceivedDnlink,numGtpPacketsReceivedDnlink,numGtpKBytesSentDnlink,numGtpPacketsSentDnlink,numLuAttempt,numLuSuccess,numDetach,numMoAttempt,numMoSuccess,numMoNoAnswer,numMtAttempt,numMtSuccess,numMtNoAnswer,numEmoAttempt,numEmoSuccess,numEmoNoAnswer,numSmoAttempt,numSmoSuccess,numSmtAttempt,numSmtSuccess,numGprsAttachAttempt,numGprsAttachSuccess,numRauAttempt,numRauSuccess,numPdpActivateAttempt,numPdpActivateSuccess,numPdpDeactivate
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/365_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/365_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,0,0,0,0,0
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/365_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/365_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
n5GAKAAuthAttempt,n5GAKAAuthSuc,nEAPAKAAuthAttempt,nEAPAKAAuthSuc,nAMF3GPPAccessRegAttempt,nAMF3GPPAccessRegSuc,nAMFNON3GPPAccessRegAttempt,nAMFNON3GPPAccessRegSuc,nSMFRegAttempt,nAMFRegSuc
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/380_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/380_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,1,0,0,1,1
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/380_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/380_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
MSs added to black-list success,MSs added black-list fail,MSs added to gray-list success,MSs added to gray-list fail,MSs deleted from black-list success,MSs deleted from black-list fail,MSs deleted from gray-list success,MSs deleted from gray-list fail,Times of checking IMEI success,Times of checking IMEI fail
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/390_flag.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/390_flag.csv
Executable file
@@ -0,0 +1 @@
|
||||
1,1,1,1,1,1,1,1,1
|
||||
|
1
wxc2_omc/performance/detailCsta/fieldConf/390_name.csv
Executable file
1
wxc2_omc/performance/detailCsta/fieldConf/390_name.csv
Executable file
@@ -0,0 +1 @@
|
||||
Original call attempt,Original call success,Terminal call attempt,Terminal call success,Leave message attempt,Leave message success,Maintain message attempt,Maintain message success,Access to fail
|
||||
|
0
wxc2_omc/performance/detailCsta/function.inc
Executable file
0
wxc2_omc/performance/detailCsta/function.inc
Executable file
102
wxc2_omc/performance/detailCsta/general.conf
Executable file
102
wxc2_omc/performance/detailCsta/general.conf
Executable file
@@ -0,0 +1,102 @@
|
||||
; The day range to statistic the CSTA
|
||||
MaxDay=30
|
||||
MaxRow=50
|
||||
|
||||
[320]
|
||||
PageTitle="Advanced > Performance > MSC"
|
||||
DataTable="mscSumData"
|
||||
Module="MSC"
|
||||
|
||||
[330]
|
||||
PageTitle="Advanced > Performance > HLR"
|
||||
DataTable="hlrDetailData"
|
||||
Module="HLR"
|
||||
|
||||
[325]
|
||||
PageTitle="Advanced > Performance > VLR"
|
||||
DataTable="vlrDetailData"
|
||||
Module="VLR"
|
||||
|
||||
[360]
|
||||
PageTitle="Advanced > Performance > PPS"
|
||||
DataTable="ppsDetailData"
|
||||
Module="PPS"
|
||||
|
||||
[361]
|
||||
PageTitle="Advanced > Performance > MME"
|
||||
DataTable="mmeDetailData"
|
||||
Module="MME"
|
||||
|
||||
[362]
|
||||
PageTitle="Advanced > Performance > SPGW"
|
||||
DataTable="spgwDetailData"
|
||||
Module="SPGW"
|
||||
|
||||
[363]
|
||||
PageTitle="Advanced > Performance > IMS"
|
||||
DataTable="imsDetailData"
|
||||
Module="IMS"
|
||||
|
||||
[364]
|
||||
PageTitle="Advanced > Performance > RCS"
|
||||
DataTable="rcsDetailData"
|
||||
Module="RCS"
|
||||
|
||||
[365]
|
||||
PageTitle="Advanced > Performance > UDM"
|
||||
DataTable="udmDetailData"
|
||||
Module="UDM"
|
||||
|
||||
[366]
|
||||
PageTitle="Advanced > Performance > AUSF"
|
||||
DataTable="ausfDetailData"
|
||||
Module="AUSF"
|
||||
|
||||
[350]
|
||||
PageTitle="Advanced > Performance > SMSC"
|
||||
DataTable="smscDetailData"
|
||||
Module="SMSC"
|
||||
|
||||
[340]
|
||||
PageTitle="Advanced > Performance > AUC"
|
||||
DataTable="aucDetailData"
|
||||
Module="AUC"
|
||||
|
||||
[380]
|
||||
PageTitle="Advanced > Performance > EIR"
|
||||
DataTable="eirDetailData"
|
||||
Module="EIR"
|
||||
|
||||
[390]
|
||||
PageTitle="Advanced > Performance > VSS"
|
||||
DataTable="vssDetailData"
|
||||
Module="VSS"
|
||||
|
||||
[311]
|
||||
PageTitle="Advanced > Performance > AAS"
|
||||
DataTable="aasDetailData"
|
||||
Module="AAS"
|
||||
|
||||
[KeyOneName]
|
||||
320[]="none"
|
||||
320[]="none"
|
||||
320[]="none"
|
||||
320[]="TG Incoming"
|
||||
320[]="TG Outgoing"
|
||||
320[]="Subs to Subs"
|
||||
320[]="Subs to Trunk"
|
||||
320[]="Trunk to Subs"
|
||||
320[]="Trunk to Trunk"
|
||||
320[]="Intraconnection"
|
||||
320[]="Subs to IP"
|
||||
320[]="Trunk to IP"
|
||||
320[]="Mobile Originated"
|
||||
320[]="Mobile Terminated"
|
||||
320[]="In Trunk"
|
||||
320[]="Out Trunk"
|
||||
320[]="IP Termiginated"
|
||||
|
||||
390[]="none"
|
||||
390[]="ISUP"
|
||||
390[]="VMS APP"
|
||||
|
||||
Reference in New Issue
Block a user