Exemplo n.º 1
0
        public ControlForm()
        {
            InitializeComponent();

            manager = new RaceManager(groupFile, racerFile, sensorFile);
            manager.Start();
        }
Exemplo n.º 2
0
        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");
        }
Exemplo n.º 3
0
 public RacerStatusReceiver(int port, RaceManager manager)
 {
     client = new UdpClient(port);
     this.manager = manager;
 }