`
zergest
  • 浏览: 47306 次
  • 性别: Icon_minigender_1
  • 来自: 茂名
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

javascript×÷±íµ¥ÊäÈëÀàÐ͵ÄÑéÖ¤

阅读更多

var today = new Date();
var sError="";
String.prototype.trim = function(){
return this.replace(/(^\s*)|(\s*$)/g, "");
}
String.prototype.ltrim = function(){
return this.replace(/^\s*/g,"");
}
String.prototype.rtrim = function(){
return this.replace(/\s*$/g,"");
}

function trim(){
if(arguments.length<1)
?? return null;
if(typeof(arguments[0])=="string")
?? return arguments[0].replace(/(^\s*)|(\s*$)/g, "");
else
?? return "";
}
function ltrim(){
if(arguments.length<1)
?? return null;
if(typeof(arguments[0])=="string")
?? return arguments[0].replace(/(^\s*)/g, "");
else
?? return "";
}
//×Ö·ûÈ¥³ý×óÓÒ¿Õ¸ñº¯Êý
function rtrim(){
if(arguments.length<1)
?? return null;
if(typeof(arguments[0])=="string")
?? return arguments[0].replace(/(\s*$)/g, "");
else
?? return "";
}
//Êý×ÖУÑ麯Êý ÊÇ·ñÊÇÊý×Ö
function __isNum(s)
{
var re = /^[0-9]+$/;
return re.test(s);
}
//ÊÇ·ñÊÇFloat
function __isFloat(s)
{
if (__isNum(s)) return true;
var re = /^[+|-]{0,1}\d*\.?\d+$/;
return re.test(s);
}
//ÊÇ·ñÊÇ¿Æѧ¼ÆÊý·¨Float
function __isEFloat(s)
{
??? var re = /^[+|-]{0,1}\d*\.[\.\d+]{0,1}\e[-|+]{0,1}\d+$/;
??? return re.test(s);
}
//ÊÇ·ñÓÐÌØÊâ·ûºÅ
function __isQuoteIn(s)
{
var re = /\"|\'|\¡°|\¡±|\¡®|\¡¯|\%|\$|\£¤|\¡­¡­|\¡¤|\¡ª|\-|\¡ª¡ª|\!|\£¡|\#|\@|\~|\^|\*|\,|\.|\£¬|\¡£|\?|\£¿|\;|\£»|\:|\£º|\{|\}|\\|\/|\[|\]|\(|\)|\+|\-|\¡¢|\||\<|\>/;
return re.test(s);
}
//ÕûÊý ²¢ÇÒСÓÚmax£¬´óÓÚmin ²ÎÊý ¶ÔÏóobject £¬max£¬min
function isIntegerMaxMin(ob,max,min){
var value=parseInt(ob.value);
return ((value==ob.value)&&(value<max)&&(value>min));
}
//ÊÇ·ñÊÇÕûÊý ²ÎÊý ¶ÔÏó
function isInteger(ob,type){
//var value=parseInt(ob.value);
//return (value==ob.value);
if(type=="positive")
return /^\+?\d+$/g.test(ob.value);
else if (type=="negative")
return /^-\d+$/g.test(ob.value);
else
return /^(?:-?|\+?)\d+$/g.test(ob.value);
}
//Åж϶ÔÏóµÄÖµÊÇ·ñÊÇÊý×Ö ²ÎÊý ¶ÔÏó
function checkNum(eSrc)
{
var value = eSrc.value;
return __isNum(value);

}
//Åж϶ÔÏóµÄÖµÊÇ·ñÊÇСÊýÊý×Ö ²ÎÊý ¶ÔÏó
function checkFloat(eSrc)
{
var value = eSrc.value;
return __isFloat(value);
}
//Åж϶ÔÏóµÄÖµÊÇ·ñÊÇ¿Æѧ¼ÆÊýÊý×Ö ²ÎÊý ¶ÔÏó
function checkEFloat(eSrc)
{
var value = eSrc.value;
return __isEFloat(value);
}
//×Ö·ûÊÇ·ñ£¿
function __isNumChar(ch)
{
return (ch >= '0' && ch <= '9');
}
//ÊÇ·ñÊÇ¿Õ¸ñ£¬×ªÐеÈ
function __isBlankChar(ch)
{
//È¥µôÁË'\v';20020522??
return (ch == ' ' || ch == '\f' || ch == '\n' || ch == '\r' || ch=='\t');
}
//»ñµÃ×Ö·û´®µÄ³¤¶È?? Ò»¸öºº×ÖÕ¼2¸ö×Ö½Ú
function byteLength(str)
{
var re=/[\u4E00-\u9FA5]/g;
if(re.test(str))
??? return str.length+str.match(re).length;
else return str.length;

}
//УÑé×Ö·û³¤¶È¹«¹²º¯Êý ¶ÔÏóob,×î´ó³¤¶ÈmaxLen£¬ÏûÏ¢message
function stringLengthCheck(ob,maxLen,message){
if(byteLength(trim(ob.value))>maxLen){
?? alert(message);
?? return false;
}
return true;
}
//»ñµÃµ±Ç°ÈÕÆÚ
function __getCurrentDate()
{
var date = new Date();
var year = ""+date.getFullYear();
var month = date.getMonth()+1;
if(month<10){ month="0"+month;}
var day = date.getDate();
if(day<10){ day = "0"+day;}
return year+month+day;
}
//Êýѧº¯Êý ¸ñʽ»¯Êý¾Ý(½ØȡСÊýËÄÉáÎåÈë)?? ²ÎÊý ¶ÔÏóÖµvalue£¬Ð¡Êýλ
function __formatNum(value,scale){
var f = parseFloat(value);
if(scale<0)scale=0;
return f.toFixed(scale);
}
//Êýѧº¯Êý ¸ñʽ»¯Êý¾Ý?? ²ÎÊý ¶ÔÏóÖµvalue£¬Ð¡Êýλ
function __setScale( value , scale )
{
if( isNaN( value ) || isNaN( scale ) || parseInt( scale ) < 0 )
?? return new String( value ) ;

var strValue = new String( value ) ;
var fValue = parseFloat( value ) ;
var iScale = parseInt( scale ) ;

if( iScale == 0 )
?? return new String( ( fValue < 0.0 ? "-" : "" ) + Math.round( Math.abs( fValue ) ) ) ;
??
if( fValue == parseInt( strValue ) ) //´«ÈëµÄ²ÎÊýûÓÐСÊý²¿·Ö
{
?? strValue = new String( parseInt( strValue ) ) + "." ;

?? for( var i = 0 ; i < iScale ; i ++ )
??? strValue += "0" ;
}
else
{
?? var fDecimal = Math.abs( fValue - parseInt( strValue ) ) ;
?? fDecimal = Math.round( fDecimal * Math.pow( 10 , iScale ) ) ;
?? var strDecimal = new String( fDecimal ) ;
?? //¶ÔÓÚÏñ new String( Math.round( 0.07 * Math.pow( 10 , 2 ) ) ) == "7" but not "07" ÕâÑùµÄÇé¿öÐèÒª×÷ÒÔϲ¹Áã´¦Àí
?? if( strDecimal.length < iScale )
?? {
??? var iDecimalLength = strDecimal.length ;
???
??? for( var i = 0 ; i < iScale - iDecimalLength ; i ++ )
???? strDecimal = "0" + strDecimal ;

??? strValue = new String( parseInt( strValue ) ) + "." + strDecimal ;
?? }
?? //¶ÔÓÚÏñ new String( Math.round( 0.995 * Math.pow( 10 , 2 ) ) ) == "100" ÕâÑùµÄÇé¿öÐèÒª×÷ÒÔϲ¹Áã´¦Àí
?? else if( strDecimal.length > iScale )
?? {
??? strValue = new String( parseInt( strValue ) + 1 ) ;???
???
??? strValue += "." ;
??? for( var i = 0 ; i < iScale ; i ++ )
???? strValue += "0" ;
?? }
?? else
??? strValue = new String( parseInt( strValue ) ) + "." + strDecimal ;
}

return strValue ;
}


//Éí·ÝÖ¤µÄÑéÖ¤ ²ÎÊý Öµ
function __isIdCardNo(num)
{
var a=null;
var len = num.length, re;
if (isNaN(num)) {
?? //x½áβ
?? re = new RegExp(/^(\d{6})()?(\d{4})(\d{2})(\d{2})(\d{3})([xX])$/);
?? a=num.match(re);
?? if(a!=null){???
?? }else{
??? alert(sotowerfunction_msg_1);
??? return false;
?? }
}else{
if (len == 15)
?? re = new RegExp(/^(\d{6})()?(\d{2})(\d{2})(\d{2})(\d{3})$/);
else if (len == 18)
re = new RegExp(/^(\d{6})()?(\d{4})(\d{2})(\d{2})(\d{3})(\d)$/);
else {alert(sotowerfunction_msg_2); return false;}
var a = num.match(re);
}
if (a != null)
{
if (len==15)
{
?? var D = new Date("19"+a[3]+"/"+a[4]+"/"+a[5]);
?? var B = D.getYear()==a[3]&&(D.getMonth()+1)==a[4]&&D.getDate()==a[5];
}
else
{
?? var D = new Date(a[3]+"/"+a[4]+"/"+a[5]);
?? var B = D.getFullYear()==a[3]&&(D.getMonth()+1)==a[4]&&D.getDate()==a[5];
}
if (!B) {alert(sotowerfunction_msg_3+ a[0] +sotowerfunction_msg_4); return false;}
}
return true;
}
//УÑé½ð¶îÊÇ·ñºÏ¸ñ like 9.9999
function __checkMoney(str){
if (trim(str)==""){
?? sError=sotowerfunction_error_8;??
?? return false;
}
if(isNaN(trim(str))){
?? sError=sotowerfunction_error_9;??
?? return false;
}
var nreg = /(^[0-9]+$)|(^[0-9]+)(.[0-9]+$)/;
var nr = str.match(nreg);
if(nr==null){
?? sError=sotowerfunction_error_10;??
?? return false;
}else{
?? return true;
}
}
//ͨ³£½ð¶îÊÇÁ½Î» like 9.99
function __checkMoneyFix(str,n){
if (trim(str)==""){
?? sError=sotowerfunction_error_8;??
?? return false;
}
if(isNaN(trim(str))){
?? sError=sotowerfunction_error_9;??
?? return false;
}
var nreg = /(^[0-9]+$)|(^[0-9]+)(.[0-9]+$)/;
var nr = str.match(nreg);
if(nr==null){
?? sError=sotowerfunction_error_10;??
?? return false;
}else{
?? var index=str.indexOf(".")+1;
?? var ss=str.substring(index);
?? if(ss.length==n){
?? return true;
?? }else{
??? return false;
?? }
}
}
//УÑéÓÊÏä ²ÎÊý ¶ÔÏó.value
function __checkEmail(email)
{
// a very simple email validation checking.
// you can add more complex email checking if it helps
??? var splitted = email.match("^(.+)@(.+)$");
??? if(splitted == null) return false;
??? if(splitted[1] != null )
??? {
????? var regexp_user=/^\"?[\w-_\.]*\"?$/;
????? if(splitted[1].match(regexp_user) == null) return false;
??? }
??? if(splitted[2] != null)
??? {
????? var regexp_domain=/^[\w-\.]*\.[A-Za-z]{2,4}$/;
????? if(splitted[2].match(regexp_domain) == null)
????? {
???? var regexp_ip =/^\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\]$/;
???? if(splitted[2].match(regexp_ip) == null) return false;
????? }// if
????? return true;
??? }
return false;
}

//checkbox È«Ñ¡ÖÐ ²ÎÊý checkboxµÄname, ÊÇ·ñture,false
function __checkAll(name,tf)
{
var a = document.getElementsByName(name);
var n = a.length;
for (var i=0; i<n; i++)<br="">a[i].checked = tf;
}
//checkbox ÊÇ·ñÓÐÑ¡ÖÐ ²ÎÊý checkboxµÄname ·µ»ØֵΪѡÖеĸöÊý£¬Ã»ÓÐÑ¡ÖÐʱ·µ»Ø 0
function __checkSelectCheckbox(name)
{
var a = document.getElementsByName(name);
var n = a.length;
var isCheck=0;
for (var i=0; i<n; i++){<br="">?? if(a[i].checked){
??? isCheck++;
?? }
}
return isCheck;
}
//ÈÕÆÚУÑ麯Êý 20040501

function __checkStdDate(eSrc)
{
var value = eSrc.value;
if (!__isNum(value)) {
?? sError = sotowerfunction_error_11;
?? return false;
}
if (value.length != 8) {
?? sError = sotowerfunction_error_12;
?? return false;
}

var year = value.substring(0,4);
var month = value.substring(4,6);
var day = value.substring(6,8);
var y = year * 1;
var m = month * 1;
var d = day * 1;
var bReturn = __isLegalDate(y,m,d);
return bReturn;
}
//ÈÕÆÚУÑ麯Êý 200405
function __checkStdMonth(eSrc)
{
var value = eSrc.value;
if (!__isNum(value)) {
?? sError = sotowerfunction_error_11;
?? return false;
}
if (value.length != 6) {
?? sError = sotowerfunction_error_12;
?? return false;
}

??? var year = value.substring(0,4);
var month = value.substring(4,6);
var bReturn = __isLegalMonth(year,month);
return bReturn;
}
//Ô·ÝУÑé 1--12
function __checkMonth(eSrc)
{
??? var value = eSrc.value;
??? if (!__isNum(value)) {
?? sError = sotowerfunction_error_13;
?? return false;
}
??? if(value < 1 || value > 12)
???? {
???? sError = sotowerfunction_error_14;
???? return false;
???? }
?? return true;
}
//Äê·ÝУÑé
function __checkStdYear(eSrc)
{
var value = eSrc.value;
if (value.length != 4) {
?? sError = sotowerfunction_error_12;
?? return false;
}
if (!__isNum(value)) {
?? sError = sotowerfunction_error_11;
?? return false;
}
var year = value;
var bReturn = __isLegalYear(year);
return bReturn;
}
//121212?? 12µã12·Ö12Ãë
function __checkStdTime(eSrc)
{
?? var value = eSrc.value;
if (value.length != 6) {
?? sError = sotowerfunction_error_12;
?? return false;
}
if (!__isNum(value)) {
?? sError = sotowerfunction_error_16;
?? return false;
}
var hour = value.substring(0,2);
var minute = value.substring(2,4);
var second = value.substring(4,6);
var bReturn = __isLegalTime(hour, minute, second);
return bReturn;
}
//ÄêÔÂÈÕУÑé2004/05/01
function __checkSlashStdDate(eSrc)
{
var value = eSrc.value;
if (value.length != 10) {
?? sError = sotowerfunction_error_12;
?? return false;
}
var re = /\d{4}\/\d{2}\/\d{2}/;
if (!re.test(value)) {
?? sError = sotowerfunction_error_17;
?? return false;
}
var year = value.substring(0,4);
var month = value.substring(5,7);
var day = value.substring(8,10);
var bReturn = __isLegalDate(year,month,day);
if (false == bReturn)
?? return false;
return true;
}

//ÊÇ·ñºÏ·¨µÄÈÕÆÚ£¿month »ùÓÚ0
function __isLegalDate(year,month,day)
{
???? if(year < 0 || year > 9999)
???? {
???? sError = sotowerfunction_error_18;
???? return false;
???? }
???? if(month < 1 || month > 12)
???? {
???? sError = sotowerfunction_error_14;
???? return false;
???? }
???? if(day < 1)
???? {
???? sError = sotowerfunction_error_19;
???? return false;
???? }
???? if (day > 31)
???? {
???? sError = sotowerfunction_error_20;
???? return false;
???? }
???? if(month == 2)
???? {
???? if( __isLeapYear(year) )
???? {
??????? if(day > 29)
??????? {
???????? ?? sError = sotowerfunction_error_21;
???????? ?? return false;
???????? }
?? }
?? else
?? {
??? if(day > 28)
??? {
???? sError = sotowerfunction_error_22;
???? return false;
??? }
?? }
} else
{
?? var d1, m1=month;
?? if(m1 > 7)
??? m1 = m1 + 1;
?? d1 = 30 + m1 % 2;
?? if(day > d1)
?? {
??? sError = sotowerfunction_error_23 + d1 +sotowerfunction_error_24;
??? return false;
?? }
}
return true;
}
//ÊÇ·ñÊÇÈóÄê
function __isLeapYear(year)
{
if( ( year % 400 == 0) || (( year % 4 == 0) && (year % 100 != 0)) )
?? return true;
else
?? return false;
}
//ÊÇ·ñºÏ·¨µÄÔ£¿
function __isLegalMonth(year,month)
{
???? if(year < 0 || year > 9999)
???? {
???? sError = sotowerfunction_error_18;
???? return false;
???? }
???? if(month < 1 || month > 12)
???? {
???? sError = sotowerfunction_error_14;
???? return false;
???? }
return true;
}
//ÊÇ·ñºÏ·¨µÄÄꣿ
function __isLegalYear(year)
{
???? if(year < 0 || year > 9999)
???? {
???? sError = sotowerfunction_error_18;
???? return false;
???? }
return true;
}
//ÊÇ·ñÊǺϷ¨µÄʱ·ÖÃë
function __isLegalTime(hour, minute, second)
{
???? if(hour < 0 || hour > 23)
???? {
???? sError = sotowerfunction_error_25;
???? return false;
???? }
???? if(minute < 0 || minute > 59)
???? {
???? sError = sotowerfunction_error_26;
???? return false;
???? }
???? if (second < 0 || second > 59)
???? {
???? sError = sotowerfunction_error_27;
???? return false;
???? }
return true;
}

/*********************************
*ÅжÏÊÇ·ñÊǵ¥×Ö½Úa-zA-Z0-9_-Ö®ÖÐ
**********************************/
function isSingleFormat(str)
{
var singleFormat = /^[.a-zA-Z0-9_-]+$/;
if(!singleFormat.test(str))
{
?? return false;
}
return true;
}

/**************************************
*ÅжÏÊÇ·ñÊǸºÊý
***************************************/
function checkNegative(arg){??
if(isNaN(arg)){
?? if(arg.value<0){
??? return true;
?? }
?? return false;
}
if(arg*1<0){
?? return true;
}
return false;
}
//ʱ¼ä¸ñʽµÄ¼ìÑé ÊʺÏÓÚ20:30:59¸ñʽ
function __checkTime(s){
?? var rs= /^\d{2}\:\d{2}\:\d{2}$/;
?? if(!rs.test(s)){
???? return false;
?? }
?? var arr = s.split(":");
?? if(parseInt(arr[0])>24||parseInt(arr[1])>59||parseInt(arr[2])>59){
?? return false;
?? }
?? return true;
}
//±È½Ï¿ªÊ¼ÈÕÆںͽáÊøÈÕÆÚ baixchÌí¼Ó20050416
function __compareDate(startDate,endDate){
var startD = startDate.value;
var endD = endDate.value;
if(startD==endD){
?? return 0;
?? }
else if(startD>endD){
?? return -1
}
else if(startD<endd){<br>?? return 1;
}??
}
//¼ìÑé´úÂë¸ñʽ Ò»°ãÇé¿öÏ´úÂëÖ»ÄÜÓÉÓ¢ÎÄ×Ö·û»òÊý×Ö×é³É,²»Äܺ¬ÓÐÖÐÎÄ
function __checkCode(s){
?? var rs = /^([0-9]|[a-z]|[A-Z])+$/;
?? if(!rs.test(s)){
??? return false;
?? }
?? return true;
}

//¼ìÑéIPµØÖ·µÄºÏ·¨ÐÔ ÀýÈç:10.162.11.104ÊÇÕýÈ·µÄIPµØÖ·
function __checkIp(s){
var re = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
if(!re.test(s)){
???? return false;
}
var ips=s.split(".");
if((ips[0].indexOf("0")==0)||(ips[1].indexOf("0")==0)||(ips[2].indexOf("0")==0)||(ips[3].indexOf("0")==0)){
???? return false;
}
if(ips[0]>255 || ips[1]>255|| ips[2]>255 || ips[3]>255 ){
???? return false;
}
return true;
}

//¼ìÑéÖйúÓʱà Ö»ÄÜÊÇ6λÊý×Ö
function __checkChinaPostCode(s){
var rs=/\d{6}/;
if(!rs.test(s)){
?? return false;
}
??????? return true;
}
//ÅжÏ×Ö·û´®ÊÇ·ñÊǹ̶¨µç»°ºÅÂë×Ö·û´®£¬ÈôÊÇÔò·µ»Øtrue£¬·ñÔò·µ»Øfalse
function __isFixedTelephone(s){
return /^(\d{2,4}-)?((\(\d{3,5}\))|(\d{3,5}-))?\d{3,8}(-\d+)?$/g.test(s);
}
//ÅжÏ×Ö·û´®ÊÇ·ñÊÇÊÖ»úµç»°ºÅÂë×Ö·û´®£¬ÈôÊÇÔò·µ»Øtrue£¬·ñÔò·µ»Øfalse
function __isMobileTelephone(s) {
return /^1(3\d|(58|59|56|52|53|50))\d{8}$/g.test(s);
}
//ÅжÏ×Ö·û´®ÊÇ·ñÊǵ绰ºÅÂë×Ö·û´®£¬ÈôÊÇÔò·µ»Øtrue£¬·ñÔò·µ»Øfalse
function __isTelephone(s) {
return __isMobileTelephone(s) || __isFixedTelephone(s);
}
//ÅжÏ×Ö·û´®ÊÇ·ñÒÔ×Öĸ¿ªÍ·£¬ÆäËûΪ×ÖĸºÍÊý×Ö×éºÏ
function __checkCodeFormat(s) {
return /^[A-Za-z][A-Za-z0-9_]{0,}$/g.test(s);
}
/**
* XMLHTTP Ìá½»
**/
//ͨ¹ýxmlhttpÈ¡Öµ£¬·µ»Ø×Ö·û´®
function getHtmlStringByXmlhttp(url)
{
if(url==null)
{
alert(sotowerfunction_msg_5);
return;
}
try
?? {
?? var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
?? if(xmlhttp==null)
?? {
?? alert(sotowerfunction_msg_6+ex.description);
?? return ;
?? }
?? xmlhttp.open("POST",url,false);
?? xmlhttp.send();
?? return xmlhttp.responseText;
?? }catch(ex)
?? {
?? alert(sotowerfunction_msg_7+ex.description);
?? return "";
?? }
}

function getArrayByXmlHttp(urll){
var values=getHtmlStringByXmlhttp(urll);
???? if(values.indexOf("ûÓмǼ")>-1){
?????? return -1;
???? }
var arr=new Array();
var obs=values.split("@|@");
for(var i=0;i<obs.length;i++){ <br="">obsv=obs[i].split("@,@");
arr[i]=obsv;??
}
return arr;
}

function setButtonDisabled(condition) {
?? var canDisable = (window.event != null && window.event.srcElement != null && window.event.srcElement.tagName.toLowerCase() == "button");
?? if (canDisable&&condition) {
??? window.event.srcElement.disabled = true;
?? }
?? }

分享到:
评论

相关推荐

    C课程设计 交通咨询

    ¾ßÓн»Í¨ÏµÍ³µÄ±à¼­ºÍÓû§²éѯµÈ¹¦ÄÜ£» ÓɳÂÓ£¬Âí±ó£¬»ª³É£¬Ìïê¿»Ô£¬ÍõÑó£¬ÕÅÒæç⣬¶ÅæÂ棬·ëºì࣬ÀîÄê...

    STM32F4 I2C通信例子 例程

    ×¢ Ò⣺ÏÈÏòEEPROMдָ¶¨Êý¾Ý£¬È»ºóÔÙ¶Á³öÀ´£¬×îºóͨ¹ýRS232·¢Ë͵½µçÄÔÉÏ£¬ ÒÔÑéÖ¤¶ÁдÊÇ·ñÕýÈ· *********************************...

    反应卡及读写接收器RC522

    if ( PcdAnticoll ( ucArray_ID ) == MI_OK ) //·À³åײ£¨µ±ÓжàÕÅ¿¨½øÈë¶ÁдÆ÷²Ù×÷·¶Î§Ê±£¬·À³åÍ»»úÖÆ»á´ÓÆäÖÐÑ¡ÔñÒ»ÕŽøÐвÙ×÷£© ...

    32光照2.rar

    /*ÕâÀïÒ»¶¨ÒªÉè³ÉÊäÈëÉÏÀ­£¬·ñÔò²»ÄܶÁ³öÊý¾Ý*/ GPIO_InitStruct.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStruct.GPIO_Pin = sda; GPIO_Init(GPIOB, &GPIO;_Init...

    关于母婴服务行业计划书.doc

    "i-yingÔÐӤרҵ»¤Àí·þÎñ¹«Ë¾" ΪÎÒÃÇÌṩÁËÒ»¸öÖ÷Òª·ÖÎö×÷ÓàÔÚ²úÉúÓë×éÖÖ×éºÏÉç»á·þÎñÖеÄÖ÷ÌåÄÚÈÝ¡£Õⲿ·ÖÎÄ×...

    夏季高温天气防护和施工安全注意事项.doc

    ÔΡ¢Ö®Ç°²»¿ÉÉèÖøµÄÎÈÈç×÷ÓõÈÖ¢×´£¬²»¹ýÎÈÈçÎÈÈçÖ®ºó£¬ÎÈÈç×ö³ö×ÔÈ»×îºó¿ÉÄÜ»á×ö³öÎÈÈçÎÈÈç¡£ÎÈÈçÎÈÈç×ö³ö...

    幼儿说课稿模板(共8篇).doc

    ûÊý×ֵĿªÊ¼×¢²á¡¢Éú»îÖ®»á¡¢³õΪ×éºÏ¡£Èç¹û°àÖÐÓв»Í¬Éú»îÉú³ÉÔ±£¬ÈôÓ׶ù×ÔÈ»²ÉÓã¬Ôò°à³ÉÔ±¿ÉÉùÃ÷Ϊ×ÔÈ»²É...

    实验43 USB虚拟串口实验.zip

    usb_printf("\r\n¾«Ó¢STM32¿ª·¢°åUSBÐéÄâ´®¿ÚʵÑé\r\n"); usb_printf("ÕýµãÔ­×Ó@ALIENTEK\r\n\r\n"); } if(times%200==0)usb_printf("ÇëÊäÈëÊý¾Ý,ÒÔ»...

    时间线形式的程序员简历模板

    比如“±¾¿Æ×ÔÎÒÆÀ¼ÛÎÒÊôѧϰ¡¢Êµ¸ÉÐ͵ÄÖ°Ô±¡£ÓнϺõÄרҵ֪ʶ…”这一段话,突出了求职者的专业技能、团队协作能力和积极的工作态度。 此外,对于程序员来说...

    大学校学生会主席竞选演讲稿.doc

    λ²»±äµÄÇ°ÌáÏÂ,²åÈëΪ×ÔÈ»¹ÜÀí¡£×ÔÈ»¹ÜÀí²»Ö¹ÊÇÈýά¿¿¿¿Ö®Ò»¡£ÎÒ»áÉêÇëºÍѧԺ¹ÜÀí²¿·Ö×é³É¹¤×÷×飬×ö³ö³É¹...

    STM32音乐频谱分析仪

    }else{//Èç¹ûµ±Ç°ÏÔʾµÄÂÌÉ«Öù×Ӹ߶ÈСÓÚ֮ǰµÄÖù×ÓÔòÐèÒª½«¶àÓàµÄÂÌÉ«Öù×ÓÓñ³¾°É«Ìî³ä LCD_Fill(RedNewHeight[i],(BarWidth+2)*...

    电脑神通傻瓜书--Lotusl 1-2-3傻瓜书

    另外,文档中也提到了“通用计算机”和“个人电脑”的普及(ÃÀ¹úÈËÓÖºÎÔø²»ÏëÉè¼ÆÖÆÔìËùν¡°Éµ¹Ï¡±Ð͵çÄÔ),这在一定程度上反映了当时计算机技术发展的一个重要趋势:...

    F103成功RFID-RC522.rar

    /*·À³åײ£¨µ±ÓжàÕÅ¿¨½øÈë¶ÁдÆ÷²Ù×÷·¶Î§Ê±£¬·À³åÍ»»úÖÆ»á´ÓÆäÖÐÑ¡ÔñÒ»ÕŽøÐвÙ×÷£©*/ if ( PcdAnticoll ( ucArray_ID ) == MI_OK ...

    单片机与液晶做的贪吃蛇游戏(有源码)

    //LCD´®ÐÐͬ²½Ê±ÖÓ,ÉÏÉýÑضÁÈ¡SIDÊý¾Ý &lt;br&gt;/**************** ³£ÓòÙ×÷ÃüÁîºÍ²ÎÊý¶¨Òå *****************/ &lt;br&gt;#define DisplayClear 0x01 //ÇåÆÁÖ¸Á...

    LECCO SQL Expert for sql server

    °²×°ºÃºóÔÙÓÃËù´øµÄ¹¤¾ßcr-sql25Éú³É×¢²áºÅÀ´×¢²á¾ÍÍêÈ«¿ÉÒÔʹÓÃÁË ºº»¯ÎļþʹÓ÷½·¨£º °²×°ºÃLECCO SQL Expert for SQL Serverº...

    大学生自我鉴定3000字.doc

    ֲο¼²é¿ö£¬ÎÒ¿ªÊ¼²ÎÓë³É¹¦×îÖØÒªµÄ×ܳɹ¦¿Î³Ì¡£ÎÒ³õʼ³É¹¦×ö³öÁ˲¿·Ö²Î¿¼²é¿ö£¬²»¹ýÎÒÈ·ÈÏ×Ô¼º²»ÖªµÀ×ܳɹ...

    我的职业生涯规划书.doc

    ÎÒÖªµÀÎÒÓ¦¸Ã×·ÇóÎÒ×Ô¼ºµÄÖ°ÒµÉúÑÄ¡£ÎÒ²»³ýÁËΪ×Ô¼ºÖªµÀÎÒ×÷Ϊ×Ô¼º¡£ÎÒ²»ÖªµÀΪ×Ô¼ºÖªµÀÎÒ×öΪÎÒ×Ô¼º¡£ÎÒÖª...

    stm32串口1和串口3数据互通

    //¸¡¿ÕÊäÈë GPIO_Init(GPIOB, &GPIO;_InitStructure); //³õʼ»¯PB11 USART_InitStructure.USART_BaudRate = bound;//²¨ÌØÂÊÒ»°ãÉèÖÃΪ9600; USART_InitStructure.USART_Word...

    一年级下常用歇后语大全.doc

    1. "ÇÚÄܲ¹×¾ÊÇÁ¼Ñµ,Ò»·ÝÐÁÀÍÒ»·Ý²Å。" —— 这句话意味着勤奋学习如同补充体力,只有持之以恒才能取得进步。 2. "ÊéÏñÒ»ÉÈÃ÷ÁÁµÄ´°»§,¿ÉÒÔ¿ªÀ«ÎÒÃǵ...

    实验24 485实验.zip

    //ÉèÖÃÖжÏÓÅÏȼ¶·Ö×éΪ×é2£º2λÇÀÕ¼ÓÅÏȼ¶£¬2λÏìÓ¦ÓÅÏȼ¶ uart_init(115200); //´®¿Ú³õʼ»¯Îª115200 LED_Init(); //³õʼ»¯Óë...

Global site tag (gtag.js) - Google Analytics