Automap (client) [VS plugin mod]
リビジョン | 1bc6b3f492ef8575eb458b32b88d7d0f47bf2bed (tree) |
---|---|
日時 | 2021-01-27 08:36:23 |
作者 | melchior <melchior@user...> |
コミッター | melchior |
Added Entity UID to TSV file
@@ -417,7 +417,7 @@ namespace Automap | ||
417 | 417 | |
418 | 418 | using (var tsvWriter = new StreamWriter(pointsTsvPath, false, Encoding.UTF8)) |
419 | 419 | { |
420 | - tsvWriter.WriteLine("Name\tDescription\tLocation\tTime\tDestination"); | |
420 | + tsvWriter.WriteLine("Name\tDescription\tLocation\tTime\tDestination\tEntity_UID"); | |
421 | 421 | foreach (var point in this.POIs) |
422 | 422 | { |
423 | 423 | tsvWriter.Write(point.Name + "\t"); |
@@ -429,6 +429,7 @@ namespace Automap | ||
429 | 429 | tsvWriter.Write(point.Location.PrettyCoords(ClientAPI) + "\t"); |
430 | 430 | tsvWriter.Write(point.Timestamp.ToString("u") + "\t"); |
431 | 431 | tsvWriter.Write((point.Destination != null ? point.Destination.PrettyCoords(ClientAPI) : "---") +"\t"); |
432 | + tsvWriter.Write("null\t"); | |
432 | 433 | tsvWriter.WriteLine(); |
433 | 434 | } |
434 | 435 | foreach (var entity in this.EOIs) |
@@ -441,7 +442,8 @@ namespace Automap | ||
441 | 442 | tsvWriter.Write(notes + "\t"); |
442 | 443 | tsvWriter.Write(entity.Location.PrettyCoords(ClientAPI) + "\t"); |
443 | 444 | tsvWriter.Write(entity.Timestamp.ToString("u") + "\t"); |
444 | - tsvWriter.Write("n/a\t"); | |
445 | + tsvWriter.Write("---\t"); | |
446 | + tsvWriter.Write(entity.EntityId.ToString("D")); | |
445 | 447 | tsvWriter.WriteLine(); |
446 | 448 | } |
447 | 449 | tsvWriter.WriteLine(); |