public ControlForm() { InitializeComponent(); manager = new RaceManager(groupFile, racerFile, sensorFile); manager.Start(); }
public void SetUp() { File.WriteAllText("testRacer.csv", testRacerString); File.WriteAllText("testGroup.csv", testGroupString); File.WriteAllText("testSensor.csv", testSensorString); File.WriteAllText("testBadRacer.csv", testBadRacerString); File.WriteAllText("testBadGroup.csv", testBadGroupString); File.WriteAllText("testBadSensor.csv", testBadSensorString); manager = new RaceManager("testGroup.csv", "testRacer.csv", "testSensor.csv"); }
public RacerStatusReceiver(int port, RaceManager manager) { client = new UdpClient(port); this.manager = manager; }