Пример #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();
 }
Пример #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();
        }