City Based Parking and Routing System API Documentation

ParkingPlace Members

ParkingPlace overview

Protected Static Fields

cParkingPlaces The number of parking places.

Public Instance Constructors

ParkingPlace Constructor Default constructor

Public Instance Properties

Cell Gets or sets the cell at which this parking place resides.
FillCell Should the cell be filled with the presented color ?
Id Gets the id of the parking place.
Indicator The legend indicator of the side object
IsFree Gets a boolean that indicates that the parking place is free.
IsFull Gets a boolean that indicates that the parking place is full.
IsOccupied Boolean indicating if the parking place is occupied.
IsReserved Gets a boolean that indicates if the parking place is reserved.
Lane Gets or sets the lane to which this parking place is attached.
Places Gets the number of parking places on the current parking.
PlacesFree Gets the number of places free on the current parking.
SideColor The color to fill the cell of the side object with
VehiclesParked Gets the number of vehicles parked on the current parking.

Public Instance Methods

EjectVehicleOnRoad Ejects a vehicle from the parking place and inserts in onto the road.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ParkVehicle Parks a vehicle on the parking place.
Reserve Reserves the parking place for a certain vehicle.
Reset Resets the parking place
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

_Cell The cell that indicates the position along the lane.
_Id The pseudo unique id of the parking place.
_Lane The lane that connects to this parking place.
_Status The current status of the parking system.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ParkingPlace Class | CBPRS.Parking Namespace