public static MachineInfo GetLogData(ZkemClient objZkeeper, int machineNumber)
        {
            string dwEnrollNumber1 = "";
            int    dwVerifyMode    = 0;
            int    dwInOutMode     = 0;
            int    dwYear          = 0;
            int    dwMonth         = 0;
            int    dwDay           = 0;
            int    dwHour          = 0;
            int    dwMinute        = 0;
            int    dwSecond        = 0;
            int    dwWorkCode      = 0;

            MachineInfo lstEnrollData = new MachineInfo();

            objZkeeper.ReadAllGLogData(machineNumber);

            while (objZkeeper.SSR_GetGeneralLogData(machineNumber, out dwEnrollNumber1, out dwVerifyMode, out dwInOutMode, out dwYear, out dwMonth, out dwDay, out dwHour, out dwMinute, out dwSecond, ref dwWorkCode))


            {
                string inputDate = new DateTime(dwYear, dwMonth, dwDay, dwHour, dwMinute, dwSecond).ToString();

                MachineInfo objInfo = new MachineInfo();
                objInfo.MachineNumber  = machineNumber;
                objInfo.IndRegID       = int.Parse(dwEnrollNumber1);
                objInfo.dwVerifyMode   = dwVerifyMode;
                objInfo.dwInOutMode    = dwInOutMode;
                objInfo.DateTimeRecord = inputDate;

                lstEnrollData = objInfo;
            }

            return(lstEnrollData);
        }