<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_G2_Write
            超高頻讀寫器G2標(biāo)簽寫內(nèi)容

            參數(shù)列表:

            int stdcall YW_G2_Write 

            (

            int ReaderID, 

            int EPCLen, 

            unsigned char *EPC,

            unsigned char MemType, 

            unsigned char StartPos, 

            unsigned int Password,

            int G2DataLen, 

            unsigned char *G2Data

            );


            參數(shù)含義:

            參數(shù)

            類型

            含義

            ReaderID

            int

            老的設(shè)備標(biāo)示ID,范圍0x00-0xFF,0xFF為廣播地址

            EPCLen

            int

            要讀寫的EPC標(biāo)簽EPC長(zhǎng)度,字節(jié)數(shù)

            EPC

            unsigned char *

            EPC內(nèi)容

            MemType

            unsigned char

            要寫的區(qū)塊                   G2_BLOCK_RESERVE=0;保留區(qū)

            G2_BLOCK_EPC =1;EPC區(qū)

            G2_BLOCK_TID =2;TID區(qū)

            G2_BLOCK_USER =3;USER區(qū)

             

            StartPos

            unsigned char

            開始寫的地址(必須為偶數(shù)地址)

            Password

            unsigned int

            標(biāo)簽操作的密碼,默認(rèn)為0

            G2DataLen

            int

            要寫的字節(jié)數(shù)

            G2Data

            unsigned char

            寫的內(nèi)容

            返 回 值:大于0為成功,小于0為錯(cuò)誤


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

            int stdcall YW_G2_ Write (int ReaderID, int EPCLen, unsigned char *EPC,unsigned char MemType, unsigned char StartPos, unsigned int Password,int G2DataLen, unsigned char *G2Data);


            Delphi聲明:

            function  YW_G2_Write(ReaderID: Integer; EPCLen: Integer; EPC: PChar;

                            MemType: Byte; StartPos: Byte;

                            Password: Integer;

                            G2DataLen: Integer; G2Data: PChar): Integer;stdcall;external YW602DLL;


            VB聲明:

            Public Declare Function YW_G2_Write Lib "YW602.dll" (ByVal ReaderID As Long, ByVal EPCLen As Integer, EPC As Byte, _

                            ByVal MemType As Byte, ByVal StartPos As Byte, _

                            ByVal Password As Long, _

                            ByVal G2DataLen As Integer, G2Data As Byte) As Long


            JAVA聲明:

            C#聲明:

            Power Builder 9 聲明:

            支持的RFID讀寫器:
            YW-602-R, YW-602-U, YW-602-3, YW-602-8

              <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>
                      影音先锋女人站 | 伊人网站 | 先锋影音资源久久久久久久久 | 日韩欧美国产A片 | 亚洲高清无码在线观看 |