void scanner(UIDatadata) {
int notifyId=data.getNotifyId();
ScanData scanData= (ScanData) data.getData();
switch (notifyId) {
case ScanService.START_SCANNER://开始扫描
LogUtil.i("========开始扫描========");
break;
case ScanService.DECODE_COMPLETE:
if(scanData!=null){
int i=scanData.getI();
int i1=scanData.getI1();
LogUtil.i("====解码完成======i=" + i + " i1=" + i1);
}
break;
case ScanService.DECODE_TIME_OUT:
if(scanData!=null){
int i=scanData.getI();
int i1=scanData.getI1();
LogUtil.i("====解码超时======i=" + i + " i1=" + i1)