Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }