• 大小: 1.63MB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-02-01
  • 语言: Java
  • 标签:

资源简介

java二次开发中控考勤机Demo 中控考勤机Java二次开发

资源截图

代码片段和文件信息

package com.zt;

import com.jacob.com.Variant;

public class SensorEvents {

public void OnConnected(Variant[] arge){
System.out.println(“当成功连接机器时触发该事件,无返回值====“);
}

public void OnDisConnected(Variant[] arge){
System.out.println(“当断开机器时触发该事件,无返回值====“);
}

public void OnAlarm(Variant[] arge){
System.out.println(“当机器报警时触发该事件====“+arge);
}

public void OnAttTransactionEx(Variant[] arge){
System.out.println(“id:“+arge[0]);
System.out.println(“是否有效:0有效 1无效“+arge[1]);
System.out.println(“考勤状态:0 上班 1下班 2外出 3外出返回 4 加班签到 5 加班签退....“+arge[2]);
System.out.println(“验证方式 0:密码  1;指纹 15:刷脸认证“+arge[3]);
System.out.println(“验证时间“+arge[4]+“-“+arge[5]+“-“+arge[6]+“-“+arge[7]+“:“+arge[8]+“:“+arge[9]+“ “+arge[10]);
/*for (int i = 0; i < arge.length; i++) {
System.out.println(arge[i]);

}*/
//System.out.println(arge.toString());
System.out.println(“当验证通过时触发该事件====**“+arge);
}

public void OnEnrollFingerEx(Variant[] arge){
System.out.println(“登记指纹时触发该事件====“+arge.clone());
}

public void OnFinger(Variant[] arge){
System.out.println(“当机器上指纹头上检测到有指纹时触发该消息,无返回值“);
}

public void OnFingerFeature(Variant[] arge){
System.out.println(“登记用户指纹时,当有指纹按下时触发该消息====“+arge);
}

public void OnHIDNum(Variant[] arge){
System.out.println(“当刷卡时触发该消息====“+arge);
}

public void OnNewUser(Variant[] arge){
System.out.println(“当成功登记新用户时触发该消息====“+arge);
}

public void OnVerify(Variant[] arge){
System.out.println(“当用户验证时触发该消息====“+arge);
}

public void OnWriteCard(Variant[] arge){
System.out.println(“当机器进行写卡操作时触发该事件====“+arge);
}

public void OnEmptyCard(Variant[] arge){
System.out.println(“当清空 MIFARE 卡操作时触发该事件====“+arge);
}

public void OnEMData(Variant[] arge){
System.out.println(“当机器向 SDK 发送未知事件时,触发该事件====“+arge);
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-06-12 17:25  中控智慧考勤机-SDK-Java二次开发demo\
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\
     文件       26944  2008-09-11 21:42  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\LICENSE.TXT
     文件         519  2010-11-06 22:14  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\README.txt
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\
     文件        7501  2015-06-22 00:04  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\BuildingJacobFromSource.html
     文件        5856  2008-09-11 21:42  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\EventCallbacks.html
     文件        2715  2008-09-11 21:42  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\JacobComLifetime.html
     文件       14367  2008-09-11 21:42  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\JacobThreading.html
     文件       48288  2015-06-22 00:24  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\ReleaseNotes.html
     文件       11820  2010-11-07 21:54  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\UsingJacob.html
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\
     文件        4001  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\allclasses-frame.html
     文件        3441  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\allclasses-noframe.html
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\
     文件       57300  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\ActiveXComponent.html
     文件       19767  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\ActiveXDispatchEvents.html
     文件       15373  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\ActiveXInvocationProxy.html
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\class-use\
     文件        9438  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\class-use\ActiveXComponent.html
     文件        4379  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\class-use\ActiveXDispatchEvents.html
     文件        4390  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\class-use\ActiveXInvocationProxy.html
     文件        1060  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\package-frame.html
     文件        5292  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\package-summary.html
     文件        5661  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\package-tree.html
     文件        5362  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\activeX\package-use.html
     目录           0  2019-06-12 11:48  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\com\
     文件       25329  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\com\ComException.html
     文件       20801  2015-08-05 05:01  中控智慧考勤机-SDK-Java二次开发demo\jacob-1.18\docs\api\com\jacob\com\ComFailException.html
............此处省略111个文件信息

评论

共有 条评论