public Dictionary <int, StmLevel> GetPorts()
 {
     return(spi.GetPorts());
 }