|
@@ -5,7 +5,6 @@ from generation.pipeSource import * |
|
|
|
|
|
|
|
|
def sectionGeneratedPipes(entity, sub, c): |
|
|
def sectionGeneratedPipes(entity, sub, c): |
|
|
fmtBusPipe = c.readFile(f"{c.dir}/templates/section-generated-pipe-src-bus")[0] |
|
|
fmtBusPipe = c.readFile(f"{c.dir}/templates/section-generated-pipe-src-bus")[0] |
|
|
fmtBusPipeToggle = c.readFile(f"{c.dir}/templates/section-generated-pipe-src-bus-toggle")[0] |
|
|
|
|
|
fmtExRecent = c.readFile(f"{c.dir}/templates/section-generated-pipe-ex-recent") |
|
|
fmtExRecent = c.readFile(f"{c.dir}/templates/section-generated-pipe-ex-recent") |
|
|
fmtRecent = c.readFile(f"{c.dir}/templates/section-generated-pipe-recent") |
|
|
fmtRecent = c.readFile(f"{c.dir}/templates/section-generated-pipe-recent") |
|
|
fmtSet = c.readFile(f"{c.dir}/templates/section-generated-pipe-set") |
|
|
fmtSet = c.readFile(f"{c.dir}/templates/section-generated-pipe-set") |
|
@@ -32,7 +31,7 @@ def sectionGeneratedPipes(entity, sub, c): |
|
|
src = pipeSource(key, entity) |
|
|
src = pipeSource(key, entity) |
|
|
# Bus. |
|
|
# Bus. |
|
|
if src.startswith("K."): |
|
|
if src.startswith("K."): |
|
|
src = pipeBusSource(key, entity, src, c.structure, fmtBusPipe, fmtBusPipeToggle) |
|
|
|
|
|
|
|
|
src = pipeBusSource(key, entity, src, c.structure, fmtBusPipe) |
|
|
|
|
|
|
|
|
fmtPipe = pipeFormat(fmtExRecent, fmtRecent, fmtSet, fmtToggle, fmtToggleNil, key, entity) |
|
|
fmtPipe = pipeFormat(fmtExRecent, fmtRecent, fmtSet, fmtToggle, fmtToggleNil, key, entity) |
|
|
for fmt in fmtPipe: |
|
|
for fmt in fmtPipe: |
|
|