Esempio 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();
        }
        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 OdometerTripTimeDisplayProcessor(BikeData inBikeData)
 {
     bikeData = inBikeData;
 }
Esempio n. 5
0
 public SpeedTimeDisplayProcessor(BikeData inBikeData)
 {
     bikeData = inBikeData;
 }
 public WheelSizeDisplayProcessor(BikeData inBikeData)
 {
     bikeData = inBikeData;
 }
 public SetTimeDisplayProcessor(BikeData inBikeData)
 {
     bikeData = inBikeData;
 }
 public WheelSizeDisplayProcessor(BikeData inBikeData)
 {
     bikeData = inBikeData;
 }