<script language=javascript>
<!--
var WIN_POS_X = 0;
var WIN_POS_Y = 0;
var SB_BODY_MARGIN = 5;
/*[6,3,1023,"serial2/0",2000,0]*/
/*new */
function getTips(iftype,ifName,ifSpeed,ifDuplex)
{
}
/*mew */
/*******************************************************************************
* following function used to show & hide tip
* html body must have a div(id named "tip1")
* <DIV id="tip1" style="position:absolute;background:#FFFFBB;BORDER-RIGHT: 1px inset;
* BORDER-LEFT:1px inset;border-top:1px inset;border-bottom:1px inset"></DIV>
*******************************************************************************/
var interval;
var tipObj = null;
var gPopRoot = null;
var count = 0;
var x, y;
function showTip(obj, even)
{
var n = 0;
var tip = "";
var IE = true;
var tmp = obj.getAttribute("tip");
var sUserAgent = window.navigator.userAgent;
if(sUserAgent.indexOf("MSIE") == -1) {
IE = false;
}
while(n != -1) {
n = tmp.indexOf("\\n");
if(n == -1) {
tip += tmp;
break;
}
tip = tip + tmp.substring(0,n);
tmp = tmp.substring(n+2);
if( tip != "") {
if(IE) {
tip += "\n";
}
else {
tip += "<BR>";
}
}
}
if(IE) {
if(tip != "") {
obj.title = tip;
obj.setAttribute("tip","");
}
}
else {
//netscape broswer
//save format string
if(tip != "") {
obj.setAttribute("tip", tip);
}
tipObj = document.getElementById('tip1');
if(tipObj == null) {
return;
}
tipObj.setAttribute("tip", obj.getAttribute("tip"));
hideTip();
/*挂接记录鼠标位置函数*/
document.body.onmousemove = traceMousePostion;
interval = setTimeout("nsTip()", 1000);
}
}
function hideTip()
{
/*
showPopMenu(gPopRoot,false);
*/
var sUserAgent = window.navigator.userAgent;
if(sUserAgent.indexOf("MSIE") > 0) {
return;
}
clearTimeout(interval);
//only used by netscape. used to hide the tip
tipObj.style.visibility = 'hidden';
count = 0;
}
function nsTip()
{
if(count == 0) {
tipObj.innerHTML = tipObj.getAttribute("tip");
tipObj.style.top = y + 20 + "px";
tipObj.style.left = x + "px";
interval = setTimeout("nsTip()", 5);
}
else if(count == 1) {
tipObj.style.visibility = 'visible';
interval = setTimeout("nsTip()", 2000);
}
else if(count > 1) {
hideTip();
}
count++;
}
function traceMousePostion( evt )
{
/*把鼠标位置保存到全局变量中*/
x = evt.clientX;
y = evt.clientY;
}
/*new*/
function createPort(x,y,index,status)
{
var sztip = "";
var iftype = status[0];
var ifstatus = status[1];
var ifname = status[3];
var ifspeed = status[4];
var ifduplex = status[5];
sztip += "name:";
sztip +=ifname;
sztip += "\\n";
sztip +="speed:";
sztip += ifspeed/1000000;
sztip +="M\\n";
if (3 == ifduplex)
{
sztip += "Duplex:Full\\n";
}
else if (2 == ifduplex)
{
sztip += "Duplex:Half\\n";
}
else
{
sztip += "Duplex:Unknown\\n";
}
/*port status*/
if (ifstatus == 1)
{
sztip += "Status:Up";
}
else if (ifstatus == 2)
{
sztip += "Status:Down"
}
else
{
sztip += "Status:Not Connected";
}
var sPortImg = "<div style='position:absolute;left:"+x+";top:"+y+";' tip='"+sztip+"' onmouseover='showTip(this,event)' onmouseout='hideTip()'>"
+ "<img id=sbimg_"+index
+ " src=/https/download.csdn.net/images/empty.gif onclick='showPopMenu(event,this)'"
+"></div>";
return sPortImg;
}
var sbPreBoardType = null;
var sbBoardInfo = null;
/**
* ["type_100m_multimode_fx_3" ,[[1,x,y],[1,x,y],[1,x,y]]]
* format for sbBoardInfo:
* [[端口方向,x,y], ...]
*/
/*new*/
function createMulPort(x,y,index,status)
{
var sztip = "";
var mulLength = status.length;
var i= 0;
for(i = 0;i < mulLength;i++)
{
var iftype = status[i][0];
var ifstatus = status[i][1];
var ifname = status[i][3];
var ifspeed = status[i][4];
var ifduplex = status[i][5];
sztip += "Name:";
sztip +=ifname;
sztip += "\\n";
sztip +="Speed:";
sztip += ifspeed/1000000;
sztip +="M\\n";
if (3 == ifduplex)
{
sztip += "Duplex:Full\\n";
}
else if (2 == ifduplex)
{
sztip += "Duplex:Half\\n";
}
else
{
sztip += "Duplex:Unknown\\n";
}
/*port status*/
if (ifstatus == 1)
{
sztip += "Status:Up\\n";
}
else if (ifstatus == 2)
{
sztip += "Status:Down\\n"
}
else
{
sztip += "Status:Not Connected\\n";
}
}
var sPortImg = "<div style='position:absolute;left:"+x+";top:"+y+";' tip='"+sztip+"' onmouseover='parent.showTip(this,event)' onmouseout='parent.hideTip()'>"
+ "<img id=sbimg_"+index
+ " src=/https/download.csdn.net/images/empty.gif onclick='showPopMenu(event,this)'"
+"></div>";
return sPortImg;
}
function refresh(portInfo)
{
try
{
if ( portInfo==null )
{
if ( sbPreBoardType=="empty" )
{
return false;
}
// set the subboard page to EMPTY page
if ( top.IsPDevice() )
{
document.body.firstChild.innerHTML = "";
}
else
{
document.body.firstChild.innerHTML =
"<table cellspacing=0 cellpadding=0 border=0 width=100% height=42>"+
"<tr><td width=17 style='BACKGROUND-IMAGE: url(images/empty_l.gif);'>"+
"<td style='BACKGROUND-IMAGE: url(images/empty_m.gif);'><div id=cc> </div>"+
"<td width=17 style='BACKGROUND-IMAGE: url(images/empty_r.gif);'>"+
"</TD></TR></TABLE>";
}
return true;
}
var nBoardType = portInfo[0];/*remember RPU*/
var StatusArr = portInfo[1];
if(nBoardType == "RPU" && StatusArr.length == 4)
{
nBoardType = "ERPU";
}
//if ( sbPreBoardType!=nBoardType )
if(1)
{
sbBoardInfo = top.getSubLayout(nBoardType);
if ( sbBoardInfo==null)
{
alert("DSB001(refresh): 不支持的子板类型:"+nBoardType);
return false;
}
// check the data match
var nPortNumber = sbBoardInfo.layout.length;
if (nPortNumber!=StatusArr.length)
{
alert("DSB002(refresh): 数据不符合:"+nBoardType);
return false;
}
// create ports images
document.body.firstChild.innerHTML = "";
// 2004.1.12 hdx
// 特殊处理不同设备的子板背景图。
if ( top.WnmGetDevicePanel()=="3528" )
{
document.body.background = "";
}
else
{
var sBackGround;
var sDeviceName = top.WnmGetDeviceName();
if ( sDeviceName=="S3026T" || sDeviceName=="S3026G" )
{
sBackGround = sDeviceName;
}
else
{
sBackGround = nBoardType;
}
if(nBoardType.indexOf("_F")!=-1)
{
sBackGround = "_F";
}
if(nBoardType.indexOf("_S")!=-1)
{
sBackGround = "_S";
}
if((nBoardType.indexOf("_L")==-1)&&(nBoardType!="RPU")&&(nBoardType!="ERPU"))
{
sBackGround = "_M";
}
document.body.background = "images/"+sBackGround+".gif";
}
var sPortImgHtml = "";
for ( var i=0; i<nPortNumber; i++ )
{
var x = sbBoardInfo.layout[i][1];
var y = sbBoardInfo.layout[i][2];
sPortImgHtml += createPort(x,y,i,StatusArr[i]);
}
document.body.firstChild.innerHTML = sPortImgHtml;
// save the last subboard type
sbPreBoardType = nBoardType;
top.WnmSetSmallPort(sbBoardInfo.IsSmall);
if(!top.isMulBoard(portInfo[0]))
{
for ( var i=0; i<StatusArr.length; i++ )
{
var sImgID = "sbimg_"+i;
var oImg = document.getElementById(sImgID);
// ASSERT ( oImg )
top.WnmSetPortStatus(oImg,sbBoardInfo.layout[i][0],StatusArr[i]);
没有合适的资源?快使用搜索试试~ 我知道了~
AR18-22 WEB包

共240个文件
htm:105个
js:51个
gif:41个

需积分: 10 11 下载量 61 浏览量
2018-09-16
09:15:19
上传
评论 5
收藏 461KB ZIP 举报
温馨提示
一般来说,版本升级分为两部分:BOOTROM(相当于PC主板上的BIOS芯片)和VRP文件(相当于windowsXP操作系统)的升级;BOOTROM文件又分为upgrade和full文件。升级顺序为先升级BOOTROM,再升级VRP;BOOTROM文件升级顺序为先升级upgrade,再升级full。(一般来说,升级时只需要升级full文件)
资源推荐
资源详情
资源评论















收起资源包目录





































































































共 240 条
- 1
- 2
- 3
资源评论


vekrio
- 粉丝: 0
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 互联网年中总结通用【ppt精选模板】.pptx
- 程序设计驱动计算思维能力培养的大学计算机基础课的改革和研究.docx
- 毕业优秀论文(旅游网站建设)张禹.doc
- 单片机控制电动机的方案设计书.doc
- 区块链技术下的供应链融资服务平台的构建.docx
- 置换算法存储管理.doc
- 五综合布线系统设计.ppt
- 浅析我国网络信息安全存在的问题及对策.docx
- 2015年软考网络工程施工师学习笔记(整理版).doc
- 浅析情景模拟式项目管理教学法在《报关实务》课程教学中的应用.doc
- 软考网络工程师测验考试知识问答精华.doc
- 基于Android平台的乡村旅游App系统设计与实现.docx
- STC89C52RC单片机的特点.doc
- MATLAB编程与工程应用——第2章-矩阵及其运算.ppt
- 工业自动化控制中计算机控制技术的应用路径思考.docx
- 第六章-面向对象的程序设计44845.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
