<td id="n3ws3"></td>
          <th id="n3ws3"></th>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
            <del id="n3ws3"><form id="n3ws3"></form></del>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
          1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
            YW_ComInitial
            打開(kāi)串口

            參數(shù)列表:

             YW_ComInitial

            (

            int PortIndex, 

            int Baud

            )


            參數(shù)含義:

            打開(kāi)讀卡器串口,使用用串口讀卡器,485讀卡器,還有USB轉(zhuǎn)串口的讀卡器

            PortIndex: COM口序號(hào)

             Baud:串口波特率


            C++聲明(VC++和C++ Builder):

            int stdcall YW_ComInitial(int PortIndex, int Baud);


            Delphi聲明:

            function YW_ComInitial(PortIndex: Integer; Bound: Integer): Integer;stdcall;external YOWOREADERDLL;


            VB聲明:

            Public Declare Function YW_ComInitial Lib "YW60x.dll" (ByVal PortIndex As Long, ByVal Bound As Long) As Long


            JAVA聲明:

            public int YW_ComInitial(int PortIndex, int Baud)

            {

            int ret;

            try

            {

            JNative fuc = new JNative("YW60x.dll", "YW_ComInitial");

            fuc.setRetVal(Type.INT);

            fuc.setParameter(0, PortIndex);

            fuc.setParameter(1,Baud);

            fuc.invoke();

            ret = fuc.getRetValAsInt();

            }

            catch(NativeException e)

            {

            ret = -1;

            }

            catch(IllegalAccessException e)

            {

            ret = -2;

            }

            return ret;

            }


            C#聲明:

            [DllImport("YW60x.dll")]

            public static extern int YW_ComInitial(int PortIndex, int Bound);


            Power Builder 9 聲明:

            public FUNCTION long YW_ComInitial(long PortIndex , long Baud) library "YW60x.dll"


            支持的RFID讀寫(xiě)器:
            YW-605RA, YW-605RB, YW-605RC, YW-605SA, YW-605SB, YW-605SC, YW-605UA, YW-605UB, YW-605UC, YW-608RA, YW-608RB, YW-608RC, YW-608SA, YW-608SB, YW-608SC, YW-608UA, YW-610SA, YW-610SB, YW-610SC, YW-602-R, YW-602-U, YW-602-3, YW-602-8, YW-655, YW-657, YW-656

              <td id="n3ws3"></td>
                    <th id="n3ws3"></th>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                      <del id="n3ws3"><form id="n3ws3"></form></del>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                    1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
                      色天天男人天堂婷婷 | 国产精品稀缺盗摄盗拍 | 国产美女插逼 | www91九色 | 在线黄色亚洲视频 |