public DataTable GetCheckInfo(int number, string name, string beginTime, string endTime, int checkType) { DataTable dt = null; try { dt = new CameraDataAccess().GetCheckInfo(number, name, beginTime, endTime, checkType); } catch (Exception ex) { Util.WriteLog(ex.ToString(), Util.EXCEPTION_LOG_TITLE); } return dt; }
public DataTable GetCameraInfo() { DataTable dt = null; try { dt = new CameraDataAccess().GetCameraInfo(); } catch (Exception ex) { Util.WriteLog(ex.ToString(), Util.EXCEPTION_LOG_TITLE); } return dt; }