Added missing PLC types for FP2, FP10SH, FM-M, FP10

This commit is contained in:
Felix Weiß
2023-07-06 11:39:34 +02:00
parent ab7f5ca302
commit a0da9e77fe
5 changed files with 81 additions and 46 deletions

View File

@@ -28,7 +28,12 @@ void WritePlcTypeTable(IEnumerable<PlcType> vals) {
var groups = vals.GroupBy(x => x.ToNameDecompose()[0].Group)
.SelectMany(grouping => grouping.OrderBy(b => (int)b))
.GroupBy(x => x.ToNameDecompose()[0].Group);
.GroupBy(
x => string.Join(", ",
x.ToNameDecompose()
.DistinctBy(y => y.Group)
.Select(y => y.Group))
);
markdownBuilder.AppendLine("<table>");