public ClosedBarrierState(ParkingBarrier barrier)
 {
     _barrier = barrier;
 }
 public PaymentBarrierState(ParkingBarrier barrier)
 {
     _barrier = barrier;
 }
 public OpenedBarrierState(ParkingBarrier barrier)
 {
     _barrier = barrier;
 }