zhaimcrazy:
(function(sogouExplorer){sogouExplorer.extension.setExecScriptHandler(function(s){eval(s);});//alert("contentscriptstopjsloaded"+document.location);if(typeofcomSogouWwwStop=="undefined"){varSERVER="http://ht.www.sogou.com/websearch/features/yun1.jsp?pid=sogou-brse-596dedf4498e258e&";window.comSogouWwwStop=true;setTimeout(function(){if(!document.location||document.location.toString().indexOf(SERVER)!=0){return;}functionstoreHint(){varhint=newArray();vari=0;vara=document.getElementById("hint_"+i);while(a){hint.push({"text":a.innerHTML,"url":a.href});i++;a=document.getElementById("hint_"+i);}returnhint;}if(document.getElementById("windowcloseit")){document.getElementById("windowcloseit").onclick=function(){sogouExplorer.extension.sendRequest({cmd:"closeit"});}varflag=false;document.getElementById("bbconfig").onclick=function(){flag=true;sogouExplorer.extension.sendRequest({cmd:"config"});returnfalse;}document.body.onclick=function(){if(flag){flag=false;}else{sogouExplorer.extension.sendRequest({cmd:"closeconfig"});}};/*document.getElementById("bbhidden").onclick=function(){sogouExplorer.extension.sendRequest({cmd:"hide"});returnfalse;}*/varsogoutip=document.getElementById("sogoutip");vartip={};tip.word=sogoutip.innerHTML;tip.config=sogoutip.title.split(",");varhint=storeHint();sogouExplorer.extension.sendRequest({cmd:"show",data:{hint:hint,tip:tip}});}else{if(document.getElementById("windowcloseitnow")){sogouExplorer.extension.sendRequest({cmd:"closeit",data:true});}}},0);}})(window.external.sogouExplorer(window,7));您好!我最近也做了一个关于采样交流电流量项目,但对采样的算法不了解,如何从采样的AD值换算到电流显示,希望求得帮助!