Проверка шаблона шины для iOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pipeBusSource.py 210B

11 months ago
11 months ago
11 months ago
12345
  1. def pipeBusSource(name, entity, busKey, structure, fmt):
  2. valueType = structure.model.fields[name][0]
  3. return fmt \
  4. .replace("%BUS_KEY%", busKey) \
  5. .replace("%BUS_VALUE_TYPE%", valueType)