public Wheel(IVehicleCommunication comWithWheel, IGpioPin powerPin) { vehicleCommunication = comWithWheel; _powerPin = powerPin; Error = new Error(); Power = true; }
public GroundStationPresenter(IVehicleCommunication model, IGroundStationView view) { this._view = view; _view.Presenter = this; this._model = model; _model.NewTelemetry += _model_NewTelemetry; _model.NewPhoto += _model_NewPhoto; }
public Ultrasonic(IVehicleCommunication comWithUltrasonic, IGpioPin powerPin, IGpioPin ultrasoundInterruptPin) { _vehicleCommunication = comWithUltrasonic; _power = powerPin; TimeStamp = DateTime.Now; Error = new Error(); _newDataAvailablePin = ultrasoundInterruptPin; Power = true; }
public Encoder(IVehicleCommunication comWithEncoder) { _vehicleCommunication = comWithEncoder; Error = new Error(); }