Skip to content

Commit 3ee3f45

Browse files
committed
Fixed result serialization
1 parent f08b6dc commit 3ee3f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Libraries/Adapters/PIAdapters/PIBufferInputAdapter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private IEnumerable<AFValue> ReadData(AFTime startTime, AFTime endTime, PIPointL
250250
/// <param name="start"> The start Time of the requested data.</param>
251251
/// <param name="end">The end time for the data requested.</param>
252252
/// <param name="tags">The list of PI Tags of the data requested separated by ;.</param>
253-
/// <returns>A string representing the read buffer data as comma-separated values in form tag:data1,time1,data2,time2 \newLine</returns>
253+
/// <returns>A string representing the read buffer data as comma-separated values in form tag:data1,time1;data2,time2 \newLine</returns>
254254
public string ReadBuffer(DateTime start, DateTime end, string tags)
255255
{
256256
if (start.Kind == DateTimeKind.Unspecified)
@@ -313,7 +313,7 @@ public string ReadBuffer(DateTime start, DateTime end, string tags)
313313
}
314314

315315
return string.Join(Environment.NewLine,
316-
tagList.Select(item => $"{item.Key}:{string.Join(",", item.Value.Select(v => $"{v.Item2},{v.Item1}"))}"));
316+
tagList.Select(item => $"{item.Key}:{string.Join(";", item.Value.Select(v => $"{v.Item2},{v.Item1}"))}"));
317317
}
318318

319319
/// <inheritdoc/>

0 commit comments

Comments
 (0)