Sepasoft MES Module Suite
system.mes.getChildGateways()
Returns a list of the immediate child gateway names for the current gateway (does not include the children of the immediate child gateways, etc).
For information about child gateways, see MES Enterprise Network.
Syntax
system.mes.getChildGateways()
- Parameters
None
- Returns
List childGateways - Python list of immediate child gateway names, returned as unicode-formatted strings.
- Scope
All
Python |
#Print a list of immediate child gateway names for the current gateway childGateways = system.mes.getChildGateways() print childGateways |
Output
Code |
[ignition-site-2, ignition-site-1] |
Sepasoft MES Module Suite