Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨亮
hnxtbaboot
Commits
faae26e3
Commit
faae26e3
authored
Oct 17, 2019
by
e
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉不需要用到的文件
parent
627f461b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
src/main/java/com/founder/controller/CertCard.java
+0
-52
No files found.
src/main/java/com/founder/controller/CertCard.java
deleted
100644 → 0
View file @
627f461b
package
com
.
founder
.
controller
;
public
class
CertCard
{
public
static
void
main
(
String
[]
args
)
{
int
hReader
=
JavaCallCppService
.
INSTANCE
.
ICC_Reader_Open
(
"USB1"
);
System
.
out
.
println
(
"hReader="
+
hReader
);
if
(
hReader
<=
0
){
// 结果大于0表示成功
System
.
err
.
println
(
"==打开接口失败==hReader="
+
hReader
+
"=======状态码====="
+
hReader
);
return
;
}
String
filepath
=
"D:\\zp.bmp"
;
byte
[]
pName
=
new
byte
[
100
];
byte
[]
pSex
=
new
byte
[
100
];
byte
[]
pNation
=
new
byte
[
100
];
byte
[]
pBirth
=
new
byte
[
100
];
byte
[]
pAddress
=
new
byte
[
100
];
byte
[]
pCertNo
=
new
byte
[
100
];
byte
[]
pDepartment
=
new
byte
[
100
];
byte
[]
pEffectDate
=
new
byte
[
100
];
byte
[]
pExpire
=
new
byte
[
100
];
byte
[]
pErrMsg
=
new
byte
[
100
];
int
ret
=
JavaCallCppService
.
INSTANCE
.
PICC_Reader_ReadIDMsg
(
hReader
,
filepath
,
pName
,
pSex
,
pNation
,
pBirth
,
pAddress
,
pCertNo
,
pDepartment
,
pEffectDate
,
pExpire
,
pErrMsg
);
System
.
out
.
println
(
"ret = "
+
ret
+
"\n姓名:"
+
new
String
(
pName
));
System
.
out
.
println
(
"性別:"
+
new
String
(
pSex
));
System
.
out
.
println
(
"民族:"
+
new
String
(
pNation
));
System
.
out
.
println
(
"出生日期:"
+
new
String
(
pBirth
));
System
.
out
.
println
(
"地址:"
+
new
String
(
pAddress
));
System
.
out
.
println
(
"身份证号:"
+
new
String
(
pCertNo
));
System
.
out
.
println
(
"签发机关:"
+
new
String
(
pDepartment
));
System
.
out
.
println
(
"发卡日期:"
+
new
String
(
pEffectDate
));
System
.
out
.
println
(
"有效期限:"
+
new
String
(
pExpire
));
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment