|
|
@@ -6,6 +6,7 @@ from generation.pipeSource import * |
|
|
|
def sectionGeneratedPipes(entity, sub, c): |
|
|
|
fmtBusPipe = c.readFile(f"{c.dir}/templates/section-generated-pipe-src-bus")[0] |
|
|
|
fmtExRecent = c.readFile(f"{c.dir}/templates/section-generated-pipe-ex-recent") |
|
|
|
fmtMany = c.readFile(f"{c.dir}/templates/section-generated-pipe-many") |
|
|
|
fmtRecent = c.readFile(f"{c.dir}/templates/section-generated-pipe-recent") |
|
|
|
fmtSet = c.readFile(f"{c.dir}/templates/section-generated-pipe-set") |
|
|
|
fmtToggle = c.readFile(f"{c.dir}/templates/section-generated-pipe-toggle") |
|
|
@@ -33,7 +34,7 @@ def sectionGeneratedPipes(entity, sub, c): |
|
|
|
if src.startswith("K."): |
|
|
|
src = pipeBusSource(key, entity, src, c.structure, fmtBusPipe) |
|
|
|
|
|
|
|
fmtPipe = pipeFormat(fmtExRecent, fmtRecent, fmtSet, fmtToggle, fmtToggleNil, key, entity) |
|
|
|
fmtPipe = pipeFormat(fmtExRecent, fmtMany, fmtRecent, fmtSet, fmtToggle, fmtToggleNil, key, entity) |
|
|
|
for fmt in fmtPipe: |
|
|
|
ln = fmt \ |
|
|
|
.replace("%EX_NAME%", exName) \ |
|
|
|