Exemplo 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();
        }
Exemplo 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();
        }