//OPERATIONS public void AssignCarPark(CarPark carPark) //Machine constructed after CarPark, thus needs an extra function. { this.carPark = carPark; }
// ATTRIBUTES // CONSTRUCTORS public ExitSensor(CarPark carPark) : base() { this.carPark = carPark; }
// ATTRIBUTES // CONSTRUCTORS public EntrySensor(CarPark carPark) : base() { this.carPark = carPark; }