2017-03-31 3 views
0

zkemkeeper.dllを使用してバイオメトリックデバイスから出席記録をダウンロードしています。 これは私のコードです。 sdwEnrollNumberはnullまたは間違った文字列を返します。 しかし、同じプログラムは他のcompiuterと他のデバイスを動作させます。返信が間違っていますEnrollNumber zkemkeeper経由で出席記録をダウンロードする

if (device2.ReadGeneralLogData(1))//read all the attendance records to the memory 
       { 
        string sdwEnrollNumber = ""; 
        int idwVerifyMode = 0; 
        int idwInOutMode = 0; 
        int idwYear = 0; 
        int idwMonth = 0; 
        int idwDay = 0; 
        int idwHour = 0; 
        int idwMinute = 0; 
        int idwSecond = 0; 
        int idwWorkcode = 0; 
        while (device2.SSR_GetGeneralLogData(1, out sdwEnrollNumber, out idwVerifyMode, 
           out idwInOutMode, out idwYear, out idwMonth, out idwDay, out idwHour, out idwMinute, out idwSecond, ref idwWorkcode))//get records from the memory 
        { 
         devece2_log(deviceIp, sdwEnrollNumber, 0, idwInOutMode, idwVerifyMode, idwYear, idwMonth, idwHour, idwHour, idwMinute, idwSecond, idwWorkcode); 
        } 
       } 

答えて

0

デバイスは、このGetGeneralExtLogData

while (device2FingersList["device_" + deviceIp].GetGeneralExtLogData(1, ref idwEnrollNumber, ref idwVerifyMode, ref idwInOutMode, 
          ref idwYear, ref idwMonth, ref idwDay, ref idwHour, ref idwMinute, ref idwSecond, ref idwWorkCode, ref idwReserved))//get records from the memory 
        { 
         devece2_log(deviceIp, idwEnrollNumber.ToString(), 0, idwInOutMode, idwVerifyMode, idwYear, idwMonth, idwDay, idwHour, idwMinute, idwSecond, idwWorkCode, "BAW"); 
        } 
同じ使用ではありません
関連する問題