// Data Preferences
/// <summary>
/// Passes the Data Preferences from the MainForm to the AFAccess.
/// </summary>
/// <param name="timestamp"> true: exports the timestamp to Matlab.</param>
/// <param name="datapref"> Integer for Attribute.GetValues; 0(raw), negative(sampling), positive(profiled sampling)</param>
/// <param name="format"> String representation of the Data Preferences. </param>
public void currentDataPrefChanges(bool timestamp, int datapref, string format)
{
AFAccess.setDataPrefs(timestamp, datapref, format);
}