//Calibration calibration = null;
 
 public TestSubject(string ID)
 {
     //this.calibration = cal;
     this.personData = new PersonData();
     this.personData.PersonID = ID;
     try
     {
         //if (calibration.LeftFoot_Marker != null)
         //{
             left = new Foot("left");
             right = new Foot("right");
         //}
         //else
         //{
         //    left = new Foot("left");
         //    right = new Foot("right");
         //}
     }
     catch (System.Net.Sockets.SocketException)
     {
         MessageBox.Show("Problem with connecting to the server. (Accessing calibration file in TestSubject.cs)");
     }
 }
Esempio n. 2
0
        //Calibration calibration = null;

        public TestSubject(string ID)
        {
            //this.calibration = cal;
            this.personData          = new PersonData();
            this.personData.PersonID = ID;
            try
            {
                //if (calibration.LeftFoot_Marker != null)
                //{
                left  = new Foot("left");
                right = new Foot("right");
                //}
                //else
                //{
                //    left = new Foot("left");
                //    right = new Foot("right");
                //}
            }
            catch (System.Net.Sockets.SocketException)
            {
                MessageBox.Show("Problem with connecting to the server. (Accessing calibration file in TestSubject.cs)");
            }
        }