Please enable JavaScript.
Coggle requires JavaScript to display documents.
Lungyen timer, waitQRCODE, JsonsetplateNoStr(), JsonsetplateNoStrOut,…
-
-
JsonsetplateNoStr()
if (newstr.Equals(plateNo)) // 同車牌
{
count++;
if (count > count_wait) count = (count_wait+1); //過時TimeOut
}
else { //不同車牌
label12.Text = str; count = 0; resetQRCODE(); //等待解析 QRCODE
if (plateNo.Equals("FirstTime")) count = (count_wait + 1);
}
plateNo = ConvertStrNon(str);
// 判斷是否 要進入 收QRCODE.
if ((park_in == 1) && (count < count_wait)) { waitQRCODE(); } // 臨停, 非(firsttime,過時TimeOut).
else { UpdateStatus("等待來車...."); nonQRCODE(); }// 非臨停
-
-
TCPsetplateNoStr
if (newstr.Equals(plateNo)) //同車牌
{
count++;
if (count > count_wait) count = (count_wait + 1); //過時TimeOut
}
else
{
label12.Text = str; count = 0; resetQRCODE(); //等待解析 QRCODE
}
plateNo = TCPConvertStrNon(str);
// 判斷是否 要進入 收QRCODE.
if ((park_in == 1) && (count < count_wait)) { waitQRCODE(); }// 臨停, 非(firsttime,過時TimeOut).
else { UpdateStatus( "等待來車 ...."); nonQRCODE(); }// 非臨停
fileCodeOutAppendrOutcheck(plateNoOut) 出場搜尋免費車依車號取資料庫 ID,車位設定
-