Unified · Split
| @@ -135,6 +135,22 @@ namespace GSF.PQDIF.Logical · 134 unmodified lines | |||
| 135 | } | 135 | } |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | /// <summary> | ||
| 139 | /// Gets the notes stored in the file. | ||
| 140 | /// </summary> | ||
| 141 | public string Notes | ||
| 142 | { | ||
| 143 | get | ||
| 144 | { | ||
| 145 | VectorElement notesVector = m_physicalRecord.Body.Collection.GetVectorByTag(NotesTag); | ||
| 146 | |||
| 147 | if ((object)notesVector == null) | ||
| 148 | return null; | ||
| 149 | |||
| 150 | return Encoding.ASCII.GetString(notesVector.GetValues()).Trim((char)0); | ||
| 151 | } | ||
| 152 | } | ||
| 153 | |||
| 138 | /// <summary> | 154 | /// <summary> |
| 139 | /// Gets the style of compression used to compress the PQDIF file. | 155 | /// Gets the style of compression used to compress the PQDIF file. |
| 140 | /// </summary> | 156 | /// </summary> |
| @@ -192,6 +208,11 @@ namespace GSF.PQDIF.Logical · 51 unmodified lines | |||
| 192 | /// </summary> | 208 | /// </summary> |
| 193 | public static readonly Guid CreationTag = new Guid("89738609-f1c3-11cf-9d89-0080c72e70a3"); | 209 | public static readonly Guid CreationTag = new Guid("89738609-f1c3-11cf-9d89-0080c72e70a3"); |
| 194 | 210 | ||
| 211 | /// <summary> | ||
| 212 | /// Tag that identifies the notes stored in the PQDIF file. | ||
| 213 | /// </summary> | ||
| 214 | public static readonly Guid NotesTag = new Guid("89738617-f1c3-11cf-9d89-0080c72e70a3"); | ||
| 215 | |||
| 195 | /// <summary> | 216 | /// <summary> |
| 196 | /// Tag that identifies the compression style of the PQDIF file. | 217 | /// Tag that identifies the compression style of the PQDIF file. |
| 197 | /// </summary> | 218 | /// </summary> |