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 | 154 | /// <summary> |
| 139 | 155 | /// Gets the style of compression used to compress the PQDIF file. |
| 140 | 156 | /// </summary> |
| @@ -192,6 +208,11 @@ namespace GSF.PQDIF.Logical · 51 unmodified lines | ||
| 192 | 208 | /// </summary> |
| 193 | 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 | 216 | /// <summary> |
| 196 | 217 | /// Tag that identifies the compression style of the PQDIF file. |
| 197 | 218 | /// </summary> |