コード例 #1
0
 //OPERATIONS
 public void AssignCarPark(CarPark carPark)  //Machine constructed after CarPark, thus needs an extra function.
 {
     this.carPark = carPark;
 }
コード例 #2
0
        // ATTRIBUTES

        // CONSTRUCTORS
        public ExitSensor(CarPark carPark)
            : base()
        {
            this.carPark = carPark;
        }
コード例 #3
0
        // ATTRIBUTES

        // CONSTRUCTORS
        public EntrySensor(CarPark carPark)
            : base()
        {
            this.carPark = carPark;
        }