| | |
| | | public int ctl_type; //'操作类型[1-清空所有授权ID卡 2-远程开锁 3-远程重启 4-设置锁具地址 5-添加授权ID 6-移除授权ID]',
|
| | | public boolean ctl_result; //'操作结果[0-失败 1-成功]',
|
| | | public Date ctl_time; //'操作时间',
|
| | | public int ctl_id_card; //'添加或者移除的授权ID卡号',
|
| | | public long ctl_id_card; //'添加或者移除的授权ID卡号',
|
| | | public String ctl_uname = ""; //操作用户名
|
| | |
|
| | | public ElectLock_Ctl_Log() {
|
| | | this.ctl_time = new Date();
|
| | |
| | | this.ctl_time = new Date();
|
| | | }
|
| | |
|
| | | public ElectLock_Ctl_Log(int lock_id,int ctl_type,boolean ctl_result,int ctl_id_card) {
|
| | | // public ElectLock_Ctl_Log(int lock_id,int ctl_type,boolean ctl_result,int ctl_id_card) {
|
| | | // this.lock_id = lock_id;
|
| | | // this.ctl_type = ctl_type;
|
| | | // this.ctl_result = ctl_result;
|
| | | // this.ctl_id_card = ctl_id_card;
|
| | | // this.ctl_time = new Date();
|
| | | // }
|
| | |
|
| | | public ElectLock_Ctl_Log(int lock_id,int ctl_type,boolean ctl_result,long ctl_id_card,String ctl_uname) {
|
| | | this.lock_id = lock_id;
|
| | | this.ctl_type = ctl_type;
|
| | | this.ctl_result = ctl_result;
|
| | | this.ctl_id_card = ctl_id_card;
|
| | | this.ctl_time = new Date();
|
| | | this.ctl_uname = ctl_uname;
|
| | | }
|
| | |
|
| | | }
|