mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Added missing PLC types for FP2, FP10SH, FM-M, FP10
This commit is contained in:
@@ -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>");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user