R3000ScannerReadTagByFilter 方法 |
获取指定标签设置的内容
命名空间:
Smobiler.Device
程序集:
Smobiler.Device (在 Smobiler.Device.dll 中) 版本:1.0.0
语法 public void ReadTagByFilter(
int mbank,
int startaddress,
int length,
int fbank,
string fdata,
int fstartaddr,
bool matching = true,
string password = "00000000",
int timeout = 1000
)
Public Sub ReadTagByFilter (
mbank As Integer,
startaddress As Integer,
length As Integer,
fbank As Integer,
fdata As String,
fstartaddr As Integer,
Optional matching As Boolean = true,
Optional password As String = "00000000",
Optional timeout As Integer = 1000
)
参数
- mbank
- 类型:SystemInt32
读取标签的区域,0:RESERVED区,1:EPC区,2:TID区,3:USER区 - startaddress
- 类型:SystemInt32
读取标签的起始地址 - length
- 类型:SystemInt32
读取标签数据的长度,单位word - fbank
- 类型:SystemInt32
过滤数据的区域 1 :EPC区,2: TID区 ,3: USER区 - fdata
- 类型:SystemString
过滤的数据 - fstartaddr
- 类型:SystemInt32
数据开始地址 如果fbank设置1,此参数设置2为按epc过滤 - matching (Optional)
- 类型:SystemBoolean
是否匹配,默认true,true:读与过滤数据相匹配的标签,false:读与过滤数据不相匹配的标签 - password (Optional)
- 类型:SystemString
访问密码,默认值:'00000000' - timeout (Optional)
- 类型:SystemInt32
读取的超时时间,单位:毫秒 默认值:1000
参见