예제 #1
0
        private void B_red_Click(object sender, EventArgs e)
        {
            IPAddress dd       = IPAddress.Parse("127.0.0.1");
            var       ip       = new IPEndPoint(dd, 9600);
            var       testFins = new FinsClient(ip);
            var       data     = testFins.ReadData(1, 100);

            Close();
        }
예제 #2
0
 public AngleSender(IPEndPoint robotEndPoint, TimeSpan updateInterval)
 {
     _client = new FinsClient(robotEndPoint);
     _rate   = new Rate(updateInterval);
 }