12 lines
296 B
Python
12 lines
296 B
Python
from syslab import SwitchBoard
|
|
|
|
name = '319-2'
|
|
SB_connection = SwitchBoard(name)
|
|
print("Let's look at what is going on in the switchboard {}.".format(name))
|
|
|
|
for bay in range(SB_connection.getNumBays()):
|
|
print(SB_connection.getBayName(bay),' : ',SB_connection.getActivePower(bay))
|
|
|
|
|
|
|