use of jmri.jmrix.ecos.EcosTrafficController in project JMRI by JMRI.
the class EcosLocoToRosterTest method testCTor.
@Test
public void testCTor() {
EcosTrafficController tc = new EcosInterfaceScaffold();
EcosSystemConnectionMemo memo = new EcosSystemConnectionMemo(tc);
EcosLocoToRoster t = new EcosLocoToRoster(memo);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.ecos.EcosTrafficController in project JMRI by JMRI.
the class NetworkDriverAdapter method configure.
/**
* set up all of the other objects to operate with an ECOS command station
* connected to this port
*/
@Override
public void configure() {
// connect to the traffic controller
EcosTrafficController control = new EcosTrafficController();
control.connectPort(this);
control.setAdapterMemo(this.getSystemConnectionMemo());
this.getSystemConnectionMemo().setEcosTrafficController(control);
this.getSystemConnectionMemo().configureManagers();
}
Aggregations