コード例 #1
0
 public int PrepareMonthAttendanceRegisterForOffice(int Month, int Year)
 {
     try
     {
         return(BioMetricDeviceIntegration.PrepareMonthAttendanceRegisterForOffice(Month, Year));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
コード例 #2
0
 public int InsertBioDeviceData(string BioDeviceEmployeeID, DateTime PunchDateTime)
 {
     try
     {
         return(BioMetricDeviceIntegration.InsertBioDeviceData(BioDeviceEmployeeID, PunchDateTime));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
コード例 #3
0
 public DataTable ImportDataFromBioMetricDeviceViaExcel()
 {
     try
     {
         return(BioMetricDeviceIntegration.ImportDataFromBioMetricDeviceViaExcel());
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
コード例 #4
0
 public int PrepareMusterSheetByOffice(int Month, int Year, int OfficeID = -1, Boolean IncludeReportingOffice = false)
 {
     try
     {
         return(BioMetricDeviceIntegration.PrepareMusterSheetByOffice(Month, Year, OfficeID, IncludeReportingOffice));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }