91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 23KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-08
  • 語言: 其他
  • 標簽:

資源簡介

基于WINCE的 超高頻RFID的演示程序。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Collections;
using?System.Resources;
using?System.Reflection;
using?System.IO.Ports;
using?System.IO;
using?System.Runtime.InteropServices;
using?Urovo.RFID;

namespace?Urovo
{
????public?partial?class?Form1?:?Form
????{
????????public?const?int?MB_ICONEXCLAMATION?=?48;

????????[DllImport(“coredll.dll“)]
????????public?static?extern?bool?MessageBeep(int?uType);

????????private?byte?readerAddr?=?0xff;
????????private?bool?fAppClose?=?false;
????????private?int?fCmdRet?=?0x30;

????????private?bool?isStopInventory?=?false;
????????private?int?CardNum1?=?0;
????????ArrayList?list?=?new?ArrayList();

????????public?Form1()
????????{
????????????InitializeComponent();
????????????btnConnect.Enabled?=?true;
????????????btnDisconnect.Enabled?=?false;
????????????radioButton4.Checked?=?true;
????????}
????????private?string?RR9086GetErrorCodeDesc(byte?errorCode)
????????{
????????????switch?(errorCode)
????????????{
????????????????case?(byte)Reader9803.ErrorCode.OtherError:
????????????????????return?“Unknown?error“;
????????????????default:
????????????????????return?““;
????????????}
????????}

????????private?string?RR9086GetReturnCodeDesc(int?retCode)
????????{
????????????switch?(retCode)
????????????{
????????????????case?(int)Reader9803.Status.OK:?return?“Success“;
????????????????case?(int)Reader9803.Status.CommError:?return?“Communication?Error“;
????????????????case?(int)Reader9803.Status.CRCError:?return?“CRC?Error“;
????????????????default:?return?“Other?Error“;
????????????}
????????}

????????private?void?ShowResultDialog(string?cmdStr?int?cmdRet?byte?errorCode)
????????{
????????????string?s?=?““;
????????????try
????????????{
????????????????if?(!fAppClose)
????????????????{
????????????????????if?(cmdRet?==?0x10)
????????????????????{
????????????????????????if?(errorCode?==?0)
????????????????????????????s?=?cmdStr?+?“:?\r\n“?+?RR9086GetReturnCodeDesc(cmdRet);
????????????????????????else
????????????????????????????s?=?cmdStr?+?“:?\r\n“?+?RR9086GetErrorCodeDesc(errorCode);
????????????????????}
????????????????????else
????????????????????{
????????????????????????s?=?cmdStr?+?“:?“?+?RR9086GetReturnCodeDesc(cmdRet)?+?“\r\n“?+?RR9086GetErrorCodeDesc(errorCode);
????????????????????}
????????????????????MessageBox.Show(s?“Information“);
????????????????}
????????????}
????????????finally
????????????{
????????????????;
????????????}
????????}

????????private?void?ShowResultDialog(string?cmdStr?int?cmdRet)
????????{
????????????string?tp;
????????????try
????????????{
????????????????tp?=?RR9086GetReturnCodeDesc(cmdRet);
????????????????if?(tp?!=?““)
????????????????????MessageBox.Show(cmdStr?+?“:?“?+?tp?“Information“);
????????????????else
???????????????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????29304??2010-05-02?20:34??Reader9803Demo\Form1.cs
?????文件???????44999??2010-05-02?20:34??Reader9803Demo\Form1.Designer.cs
?????文件????????7251??2010-05-02?20:34??Reader9803Demo\Form1.resx
?????文件?????????183??2010-04-10?18:48??Reader9803Demo\mssccprj.scc
?????文件?????????354??2010-02-09?00:02??Reader9803Demo\Program.cs
?????目錄???????????0??2010-04-09?20:34??Reader9803Demo\Properties\
?????文件????????1141??2010-10-10?09:44??Reader9803Demo\Properties\AssemblyInfo.cs
?????文件????????2512??2010-04-10?18:48??Reader9803Demo\Properties\Resources.Designer.cs
?????文件????????5297??2010-02-08?20:30??Reader9803Demo\Properties\Resources.resx
?????文件?????????188??2010-04-10?18:50??Reader9803Demo\Properties\vssver2.scc
?????文件???????18137??2010-04-29?18:07??Reader9803Demo\Reader9803.cs
?????文件????????4727??2010-04-10?18:48??Reader9803Demo\Reader9803Demo.csproj
?????文件?????????234??2010-03-30?17:00??Reader9803Demo\Reader9803Demo.csproj.user
?????文件?????????280??2010-04-09?20:34??Reader9803Demo\Reader9803Demo.csproj.vspscc
?????文件?????????302??2010-05-02?20:37??Reader9803Demo\vssver2.scc

評論

共有 條評論

相關資源