Ejemplo n.º 1
0
 public Wheel(IVehicleCommunication comWithWheel, IGpioPin powerPin)
 {
     vehicleCommunication = comWithWheel;
     _powerPin            = powerPin;
     Error = new Error();
     Power = true;
 }
Ejemplo n.º 2
0
        public GroundStationPresenter(IVehicleCommunication model, IGroundStationView view)
        {
            this._view      = view;
            _view.Presenter = this;

            this._model          = model;
            _model.NewTelemetry += _model_NewTelemetry;
            _model.NewPhoto     += _model_NewPhoto;
        }
        public GroundStationPresenter(IVehicleCommunication model, IGroundStationView view)
        {
            this._view = view;
            _view.Presenter = this;

            this._model = model;
            _model.NewTelemetry += _model_NewTelemetry;
            _model.NewPhoto += _model_NewPhoto;
        }
Ejemplo n.º 4
0
        public Ultrasonic(IVehicleCommunication comWithUltrasonic, IGpioPin powerPin, IGpioPin ultrasoundInterruptPin)
        {
            _vehicleCommunication = comWithUltrasonic;
            _power    = powerPin;
            TimeStamp = DateTime.Now;
            Error     = new Error();

            _newDataAvailablePin = ultrasoundInterruptPin;
            Power = true;
        }
Ejemplo n.º 5
0
 public Encoder(IVehicleCommunication comWithEncoder)
 {
     _vehicleCommunication = comWithEncoder;
     Error = new Error();
 }