Михаил Капелько 10 mesi fa
parent
commit
a35ffcfbd4
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      Utilities/platform/2/generation/pipeBusSource.py

+ 2
- 0
Utilities/platform/2/generation/pipeBusSource.py Vedi File

@@ -2,9 +2,11 @@ from generation.isPipeMany import *

def pipeBusSource(name, entity, busKey, structure, fmt):
valueType = structure.model.fields[name][0]
print(f"pipeBS-1 name: '{name}'")
if isPipeMany(name, entity):
itemType = structure.model.fields[key][0]
valueType = f"MPAK.Many<{itemType}>"
print(f"pipeBS-2 name: '{name}'")

return fmt \
.replace("%BUS_KEY%", busKey) \


Loading…
Annulla
Salva