国产成人aaa在线视频免费观看_麻豆精品视频在线观看_欧美亚洲日本国产综合在线_成人网18免费韩国 - 九九热在线精品视频

YW_SR176_LockStatus
SR176卡獲取鎖塊狀態

參數列表:

int stdcall YW_SR176_LockStatus(

int ReaderID, 

unsigned char *LockByte

);


參數含義:

參數

類型

方向

含義

ReaderID

int

IN

所要獲取的設備標示ID,范圍0x0000-0xFFFF,如果未知,則ReaderID=0

LockByte

unsigned char*

OUT

返回鎖塊狀態數據,一個字節

返 回 值:大于0為命令發送成功,小于0為命令發送失敗


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

int stdcall YW_SR176_LockStatus(int ReaderID, unsigned char *LockByte);


Delphi聲明:

function YW_SR176_LockStatus(ReaderID: Integer;var LockByte: Byte): Integer;stdcall;external YOWOREADERDLL;


VB聲明:

Public Declare Function YW_SR176_LockStatus Lib "YW60x.dll" (ByVal ReaderID As Long, ByRef LockByte As Byte) As Long


JAVA聲明:

public int YW_SR176_LockStatus(int ReaderID, Pointer LockByte)

{

int ret;

try

{

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

fuc.setRetVal(Type.INT);

fuc.setParameter(0, ReaderID);

fuc.setParameter(1, LockByte);

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_SR176_LockStatus(int ReaderID, byte [] LockByte);


Power Builder 9 聲明:

public FUNCTION long YW_SR176_LockStatus (long lReaderID , ref char LockByte) library "YW60x.dll"


支持的RFID讀寫器:
YW-605RB, YW-605RC, YW-605SB, YW-605SC, YW-605UB, YW-605UC, YW-605HB, YW-605HC, YW-620HB, YW-620HC, YW-608RB, YW-608RC, YW-608SB, YW-608SC, YW-608UB, YW-608UC, YW-608HB, YW-608HC, YW-610SB, YW-610SC, YW-607