| | |
| | | int ver = ComBase.changeShortToInt(buffer.getShort());
|
| | | this.lock_version = " V"+ ver; //'软件版本号',
|
| | | this.unlock_type = ComBase.changeShortToInt(buffer.getShort()); //'上一次开锁方式[0-485开锁 1-刷卡开锁 2-蓝牙开锁 3-DI开锁]',
|
| | | this.unlock_id = (buffer.getInt()&0xFFFFFFFF); //'上一次刷开开锁卡号[仅刷开开锁时有效]',
|
| | | this.unlock_id = (buffer.getInt()&0xFFFFFFFF); //'上一次刷开开锁卡号[仅刷开开锁时有效]',
|
| | | this.lock_addr = ComBase.changeShortToInt(buffer.getShort()); //'设备地址',
|
| | |
|
| | | //System.out.println(this);
|
| | |
| | | return true;
|
| | | }
|
| | |
|
| | | public int getLockDevId() {
|
| | | return 10000000 + this.lock_addr;
|
| | | }
|
| | | |
| | | public Date getRecord_time() {
|
| | | return record_time;
|
| | | }
|