/// <summary> /// Converts back to CSV comment string /// </summary> /// <returns>Converted string</returns> public override string ToString() { CSV_Line line = new CSV_Line(4); line.SetString(0, "#" + Name); line.SetString(1, Value); line.SetString(2, Unit); line.SetString(3, Description); return(line.ToString()); }
/// <summary> /// Generated the data header /// </summary> private string DescriptionsToString() { CSV_Line line = new CSV_Line(Channels.Count); for (int i = 0; i < Channels.Count; i++) { line.SetString(i, Channels[i].Description); } return(line.ToString()); }
/// <summary> /// Generated the data header /// </summary> private string DataUnitsToString() { CSV_Line line = new CSV_Line(Channels.Count); for (int i = 0; i < Channels.Count; i++) { line.SetString(i, Channels[i].Unit); } return(line.ToString()); }
/// <summary> /// Generated the data header /// </summary> private string LogMnemonicsToString() { CSV_Line line = new CSV_Line(Channels.Count); for (int i = 0; i < Channels.Count; i++) { line.SetString(i, Channels[i].Name); } return(line.ToString()); }