Skip to content

Commit 586e2a1

Browse files
author
Giannis Roussos
committed
Working on file version/revision
1 parent 0e0c08b commit 586e2a1

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

libEDSsharp/CanOpenXDD.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ public EDSsharp convert(ISO15745ProfileContainer container)
11861186
case "FileRevision":
11871187
byte.TryParse(keyvalue[1], out eds.fi.FileVersion);
11881188
break;
1189-
case "RevisionNum":
1189+
case "RevisionNumber":
11901190
byte.TryParse(keyvalue[1], out eds.fi.FileRevision);
11911191
break;
11921192
}

libEDSsharp/eds.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,13 @@ public partial class FileInfo : InfoSection
589589
[EdsExport]
590590
public byte FileRevision;//=1
591591

592+
/// <summary>
593+
/// indicate the file version as a vendor-specific string
594+
/// </summary>
595+
[EdsExport(commentonly = true)]
596+
public string fileVersionString = "";
597+
598+
592599
[DcfExport]
593600
public string LastEDS = "";
594601

0 commit comments

Comments
 (0)