(name, cirType, source)
| 362 | _CIRCUITS[name].parDefs[key] = parDefs[key] |
| 363 | |
| 364 | def _addSource(name, cirType, source): |
| 365 | global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS |
| 366 | if source != None: |
| 367 | if cirType == 'system': |
| 368 | _SLiCAPCIRCUITS[name].source = source |
| 369 | elif cirType == 'user': |
| 370 | _USERCIRCUITS[name].source = source |
| 371 | elif cirType == 'main': |
| 372 | _CIRCUITS[name].source = source |
| 373 | |
| 374 | def _addDetector(name, cirType, detector): |
| 375 | global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS |