City Based Parking and Routing System API Documentation

AdminSystem Members

AdminSystem overview

Public Static Properties

ParkingHourSlots Gets the maximum hour slots in the administration system.
ParkingHourSlotsPerHour The number of parking slots per hour.

Protected Static Fields

cMaxParkingHourSlots The maximum number of hours that a vehicle can reserve a parking place.
cMaxParkingSlotsPerHour The slot per hour limiting the time a place can be reserved.
cSecondsPerHour The number of seconds per hour.

Public Instance Constructors

AdminSystem Constructor Default constructor

Public Instance Properties

MaxParkingTime Gets the maximum time a vehicle is allowed to parked.

Public Instance Methods

AddVehicleSlot Creates a vehicle parking slot.
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.
GetParkingSlot Gets the parking slot at the specified hour and slot.
GetType (inherited from Object)Gets the Type of the current instance.
Reset Resets the parking system by cleaning all parking slots.
Simulate Simulates the parking system thus allowing vehicles to exit.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

_Parking The list of all parked vehicles in the simulation.

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

AdminSystem Class | CBPRS.Parking Namespace