Ejemplo n.º 1
0
 public UBTController(DelegateUpdateInfo fxUpdateInfo, DelegateRefreshServo fxRefreshServo)
 {
     updateInfo = fxUpdateInfo;
     refreshServo = fxRefreshServo;
     InitServo();
     InitSerialPort();
     config = new data.BoardConfig();
     comboTable = new data.ComboTable();
     actionTable = new data.ActionTable();
 }
Ejemplo n.º 2
0
        public UBTController(DelegateUpdateInfo fxUpdateInfo, DelegateRefreshServo fxRefreshServo, RobotConnection robot)
        {
            updateInfo   = fxUpdateInfo;
            refreshServo = fxRefreshServo;
            this.robot   = robot;

            InitServo();
            // InitSerialPort();
            config        = new data.BoardConfig();
            networkConfig = new data.NetworkConfig();
            comboTable    = new data.ComboTable();
            actionTable   = new data.ActionTable();
        }