<sub id="62jh5"><p id="62jh5"><li id="62jh5"></li></p></sub>
  1. <center id="62jh5"></center>

    <legend id="62jh5"></legend>
    <sub id="62jh5"></sub>
    YW_ComInitial
    打開串口

    參數(shù)列表:

     YW_ComInitial

    (

    int PortIndex, 

    int Baud

    )


    參數(shù)含義:

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

    PortIndex: COM口序號

     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讀寫器:
    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

      <sub id="62jh5"><p id="62jh5"><li id="62jh5"></li></p></sub>
    1. <center id="62jh5"></center>

      <legend id="62jh5"></legend>
      <sub id="62jh5"></sub>
      情趣玩具体验h道具玩h | 在线播放精品 | 欧养性猛交XXXX乱大交3 在线高潮视频 | 思思热在线观看 | www.国产毛片 | 伊人大香蕉在线免费 | 豆花视频在线一区二区在线视频 | 天天躁日日躁狠狠躁伊人 | 69xx国产 | 日韩AV免费在线 |