(name, cirType, lgRef)
| 382 | _CIRCUITS[name].detector = detector |
| 383 | |
| 384 | def _addLGref(name, cirType, lgRef): |
| 385 | global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS |
| 386 | if lgRef != None: |
| 387 | if cirType == 'system': |
| 388 | _SLiCAPCIRCUITS[name].lgRef= lgRef |
| 389 | elif cirType == 'user': |
| 390 | _USERCIRCUITS[name].lgRef= lgRef |
| 391 | elif cirType == 'main': |
| 392 | _CIRCUITS[name].lgRef= lgRef |
| 393 | |
| 394 | |
| 395 | def _parseElement(line, name, cirType): |