Merge PlcSeriesType into PlcType by using 16 bits

This commit is contained in:
Felix Weiß
2023-07-07 17:59:22 +02:00
parent 864389a4ad
commit 88cdc1a36c
13 changed files with 220 additions and 123 deletions

View File

@@ -63,7 +63,7 @@ void WritePlcTypeTable(IEnumerable<PlcType> vals) {
decomposed = enu.ToNameDecompose();
cpuOrMachCode = ((int)enu).ToString("X2");
cpuOrMachCode = ((int)enu).ToString("X4");
ArgumentNullException.ThrowIfNull(decomposed);
//first iteration
@@ -147,5 +147,4 @@ markdownBuilder.AppendLine($"> These are PLCs that utilize the basic `%EE#RT` an
WritePlcTypeTable(plcs);
File.WriteAllText(filePath, markdownBuilder.ToString());