public DisplayController(BikeData inBikeData) { bikeData = inBikeData; // Setup views speedTimeCtrl = new SpeedTimeDisplayProcessor(bikeData); odoTripCtrl = new OdometerTripTimeDisplayProcessor(bikeData); wheelCtrl = new WheelSizeDisplayProcessor(bikeData); setTimeCtrl = new SetTimeDisplayProcessor(bikeData); Initialise(); }
public OdometerTripTimeDisplayProcessor(BikeData inBikeData) { bikeData = inBikeData; }
public SpeedTimeDisplayProcessor(BikeData inBikeData) { bikeData = inBikeData; }
public WheelSizeDisplayProcessor(BikeData inBikeData) { bikeData = inBikeData; }
public SetTimeDisplayProcessor(BikeData inBikeData) { bikeData = inBikeData; }