Update test mode for template export signature and discovered-user reporting.
parent
a5d0bc04c1
commit
803d645360
|
|
@ -144,6 +144,7 @@ internal static class AttendanceTestMode
|
||||||
Console.WriteLine($"Exporting ALL face + fingerprint templates via ISAPI: device={exportAllIsapiDeviceId}, pageSize={exportAllIsapiPageSize}, maxUsers={exportAllIsapiMaxUsers}");
|
Console.WriteLine($"Exporting ALL face + fingerprint templates via ISAPI: device={exportAllIsapiDeviceId}, pageSize={exportAllIsapiPageSize}, maxUsers={exportAllIsapiMaxUsers}");
|
||||||
|
|
||||||
string jsonPath = "";
|
string jsonPath = "";
|
||||||
|
int discoveredUsers = 0;
|
||||||
string exportErr = "";
|
string exportErr = "";
|
||||||
bool exportOk = await Task.Run(() =>
|
bool exportOk = await Task.Run(() =>
|
||||||
manager.TryExportAllUsersTemplatesToIsapiFile(
|
manager.TryExportAllUsersTemplatesToIsapiFile(
|
||||||
|
|
@ -153,6 +154,7 @@ internal static class AttendanceTestMode
|
||||||
exportAllIsapiMaxUsers,
|
exportAllIsapiMaxUsers,
|
||||||
cts.Token,
|
cts.Token,
|
||||||
out jsonPath,
|
out jsonPath,
|
||||||
|
out discoveredUsers,
|
||||||
out exportErr), cts.Token).ConfigureAwait(false);
|
out exportErr), cts.Token).ConfigureAwait(false);
|
||||||
|
|
||||||
if (exportOk)
|
if (exportOk)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue