/// <summary> /// Performs general and specific data checks on Blaney-Criddle data. </summary> /// <param name="props"> A property list for specific properties. </param> /// <param name="data_vector"> list of data to check. </param> private void checkBlaneyCriddleData(PropList props, System.Collections.IList data_vector) { // Create elements for the checks and check file string[] header = StateCU_BlaneyCriddle.getDataHeader(); System.Collections.IList data = new List <object>(); string title = "Blaney Criddle"; // Perform the general validation using the Data Table Model StateCU_Data_TableModel tm = new StateCU_BlaneyCriddle_TableModel(data_vector, false); System.Collections.IList @checked = performDataValidation(tm, title); //String [] columnHeader = getDataTableModelColumnHeader( tm ); string[] columnHeader = getColumnHeader(tm); // Do specific checks int size = 0; if (data_vector != null) { size = data_vector.Count; } data = doSpecificDataChecks(data_vector, props); // Add the data and checks to the check file. // Provides basic header information for this data check table string info = "The following " + title + " (" + data.Count + " out of " + size + ") have no ....."; // Create data models for Check file CheckFile_DataModel dm = new CheckFile_DataModel(data, header, title, info, data.Count, tm.getRowCount()); CheckFile_DataModel gen_dm = new CheckFile_DataModel(@checked, columnHeader, title + " Missing or Invalid Data", "", __gen_problems, tm.getRowCount()); __check_file.addData(dm, gen_dm); }