Note:
Environment: WinCE
Tool: vs2008
Function: 2.45g card retrieval record, number of cards scanned per hour
The source code is as follows:
/// <Summary> //// </Summary> /// <Param name = "Sid"> NO. </param> /// <Param name =" time1 "> Start time </param> /// <Param name =" timeend "> end time </param> /// <Param name =" num "> Times </ param> Public void write (INT Sid, string time1, string timeend, int num) {try {streamwriter S = new streamwriter ("\ storage card \ RFID [active 2.45g] card reading (one second) \ lcb.txt ", true, encoding. getencoding ("gb2312"); S. write ("\ r \ n" + Sid + "" + tim E1 + "" + timeend + "" + num); // s. write ("\ r \ N1 9:14:17 9:14:24"); // write the browsed content to richtextbox1. // "\ R \ n no. Start Time and End Time") s. close ();} catch (exception ex) {MessageBox. show (ex. tostring ());}}