Example #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="_odometer"></param>
 public TripInfo(Odometer _odometer)
 {
     this._odometer = _odometer;
     this._tripA = _odometer.currentMileage();
     this._tripB = _odometer.currentMileage();
 }
Example #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="_odometer">current odometer to determine current mileage</param>
 public System_Status(Odometer _odometer)
 {
     this._odometer = _odometer;
     lastOilChange = _odometer.currentMileage();
 }