/// <summary> /// Create a maintence entry and add it to the /// maintence log. /// </summary> private void WriteResultsToMaintenceLog() { // Create an entry with the results // Add it to the list MaintenceEntry entry = new MaintenceEntry(MaintenceEntry.EntryId.UserCompassCal, ResultsString(), ""); _adcpConn.AddMaintenceEntry(entry); }
/// <summary> /// Add the entry to the maintence log. This will /// create a list of entries and write it to the log. /// </summary> /// <param name="adcp">Adcp to write the entry to.</param> /// <param name="entry">Entry to write.</param> public void AddEntry(AdcpSerialPort adcp, MaintenceEntry entry) { // Create a list var maintList = new List <MaintenceEntry>(); maintList.Add(entry); // Append the entry WriteLog(adcp, maintList, true); }