

<div class="detailCon">
	<div class="infoDiv">
		<div class="itemCon firItemCon">
			<label class="subTitle">{%label.deviceInfo%}</label>
			<ul class="line lineCon"></ul>
			<div class="item itemF">
				<label class="firstSpan">{%label.curSysTime%}</label>
				<label id="sysTime" class="info">1970-1-1 00:00</label>
			</div>
			<div class="item">
				<label class="firstSpan">{%label.deviceType%}</label>
				<label id="deviceType" class="info">IPC</label>
			</div>
			<div class="item">
				<label class="firstSpan">{%label.eptName%}</label>
				<label id="devName" class="info">Name</label>
			</div>
			<div class="item">
				<label class="firstSpan">{%label.swVersion%}</label>
				<label id="swVersion" class="info">1.0.0</label>
			</div>
		</div>

		<div class="itemCon">
			<label class="subTitle">{%label.networkInfo%}</label>
			<ul class="line lineCon"></ul>
			<div class="item">
				<label class="firstSpan">IP</label>
				<label id="nwIp" class="info">192.168.0.1</label>
			</div>
			<div class="item">
				<label class="firstSpan">MAC</label>
				<label id="nwMac" class="info">00:00:00:00:00:00</label>
			</div>
		</div>

		<div class="itemCon">
			<label class="subTitle">{%label.codeStreamInfo%}</label>
			<ul class="line lineCon"></ul>
			<div class="item">
				<label class="firstSpan">{%label.resolution%}</label>
				<label id="streamResolution" class="info">1280*720</label>
			</div>
			<div class="item">
				<label class="firstSpan">{%label.frameRate%}</label>
				<label id="streamFrameRate" class="info">25</label>
			</div>
		</div>
		<div id="qrcodeCon" class="itemCon">
			<label class="subTitle">{%label.devCode%}</label>
			<ul class="line lineCon"></ul>
			<div class="item">
				<div id="qrcode"></div>
			</div>
		</div>
		<!--div class="itemCon">
			<label class="subTitle">{%label.alarmInfo%}</label>
			<ul class="line lineCon"></ul>
			<div class="item">
				<label class="firstSpan">{%label.alarmInNum%}</label>
				<label id="nwAlarmInNum" class="info">1</label>
			</div>
			<div class="item">
				<label class="firstSpan">{%label.alarmOutNum%}</label>
				<label id="nwAlarmOutNum" class="info">1</label>
			</div>
		</div-->
	</div>
</div>
<script type="text/javascript">function init(){function e(a){10>a&&(a="0"+a);return a}function n(a){var c=new Date(a);a=c.getFullYear();var b=c.getMonth()+1,d=c.getDate(),g=c.getHours(),k=c.getMinutes(),c=c.getSeconds();return a+"-"+e(b)+"-"+e(d)+" "+e(g)+":"+e(k)+":"+e(c)}function l(){d+=1E3;p.innerHTML=n(d);$.setTimeout(l,1E3)}function h(a){var c;a:{c=a[ERR_CODE];var b="";closeNoteAll();switch(c){case ENONE:c=!0;break a;case IPCSYSRPARAERR:b=errStr.ipcSysRparaErr;break;case IPCSYSRCONFERR:b=errStr.ipcSysRconfErr;break;case IPCUBUSCONNFAIL:b=
errStr.ipcUbusConnFail;break;case IPCUBUSCALLERR:b=errStr.ipcUbusCallErr;break;case IPCFILEOPENERR:b=errStr.ipcFileOpenErr;break;case IPCUMGUESTNAUTH:b=errStr.invPermissionDenied;break;case IPCDIRMKERR:b=errStr.ipcDirMkErr;break;case IPCDATESETERR:b=errStr.ipcDateSetErr;break;case IPCFUNCPARAEXPT:b=errStr.ipcFuncParaExpt;break;case IPCUCCONVERR:b=errStr.ipcUcConvErr;break;default:b=errStr.unknown+c}showAlert(b);c=!1}if(!1!=c){b=a[q];c=a[r][uciDeviceInfo.secName.basicInfo];var e=a[s][uciNetwork.dynData.wanStatus],
g=a[t][uciProto.secName.wan],k=a[u][uciVideo.secName.main];a=uciDeviceInfo.optName.barCode;var f;d=b[uciSystem.secName.clockStatus][uciSystem.optName.seconds];d*=1E3;p.innerHTML=n(d);var l=x,h=getStrInMax(b[uciSystem.secName.sys][uciSystem.optName.devAlias],52),m=document.createElement("div");null!=m.textContent?m.textContent=h:m.innerText=h;l.innerHTML="<pre>"+m.innerHTML+"</pre>";x.title=b[uciSystem.secName.sys][uciSystem.optName.devAlias];A.innerHTML=c[uciDeviceInfo.optName.devName];B.innerHTML=
c[uciDeviceInfo.optName.swVer];C.innerHTML=e[uciNetwork.optName.ip];try{f=void 0!=g[uciProto.optName.macaddr]?g[uciProto.optName.macaddr]:g[uciProto.optName.facMac],D.innerHTML=f.toUpperCase()}catch(w){}E.innerHTML=k[uciVideo.optName.resolution];f=k[uciVideo.optName.frame_rate];b=parseInt(parseInt(f)/65536,10);f=parseInt(parseInt(f)%65536,10)/b;F.innerHTML=f;G?id("qrcodeCon").style.display="none":(v=c[a],2<v.length&&0==y&&(new QRCode("qrcode",{text:v,width:160,height:160}),y=1));showDetailCon()}}
function w(){var a={};a[q]={};a[q][NAME]=[uciSystem.secName.clockStatus,uciSystem.secName.sys];a[r]={};a[r][NAME]=uciDeviceInfo.secName.basicInfo;a[s]={};a[s][KEY_NAME]=uciNetwork.dynData.wanStatus;a[t]={};a[t][NAME]=uciProto.secName.wan;a[u]={};a[u][NAME]=uciVideo.secName.main;z?(z=!1,$.query(a,h)):$.queryP(a,h);$.setTimeout(w,H)}var p=id("sysTime"),A=id("deviceType"),x=id("devName"),B=id("swVersion"),C=id("nwIp"),D=id("nwMac"),E=id("streamResolution"),F=id("streamFrameRate"),q=uciSystem.fileName,
r=uciDeviceInfo.fileName,s=uciNetwork.fileName,t=uciProto.fileName,u=uciVideo.fileName,v=0,d,H=6E4,I=new Date,z=!0,y=0,G=1==parseInt($.moduleSpec[uciFunction.optName.licensePlateRecongnition])?!0:!1;d=I.getTime();p.innerHTML=n(d);$.setTimeout(l,1E3);w()}init();
</script><style type="text/css">div.infoDiv{width:720px;display:inline-block;*display:inline;*zoom:1}div.itemCon{margin:40px 0 0 0}div.firItemCon{margin-top:0}div.item{padding:5px 0;margin-bottom:8px}label.firstSpan{display:inline-block;color:#666;width:130px;font-size:13px}label.subTitle{display:block;font-size:16px;color:#7a8599;height:40px;line-height:40px}label.info{display:inline-block;color:#333;font-size:13px;white-space:pre}ul.lineCon{background:url(../../web-static/images/line.png) repeat-x 0 0;clear:both;padding-top:12px;font-size:0}#qrcode{margin-right:5px;margin-top:5px;width:160px;height:160px;background-color:#fff}</style>