![]() _Random | Randomizer (Perhaps a Merssene twister would be better here). |
![]() cDefPricePerHour | Default price for a parking place ( not a garage these have their own tariff's ) |
SectorStation Constructor
|
Default constructor. |
GetLampPostEnumerator | Gets an enumerator over all lampposts in the collection of the station. |
Id | Gets the id of the sector station. |
LampPosts | Gets the number of lampposts in the collection of the current station. |
AddLampPost | Adds a lamppost to the collection of lampposts operated by the current sector station. |
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. |
GetLampPost | Gets a lamppost by the specified id. |
GetType (inherited from Object) | Gets the Type of the current instance. |
RemoveLampPost | Removes a lamppost from the collection of lampposts. |
ReserveParkingPlace | Reserves a parking place. |
Reset | Resets the sector station. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
_Id | The pseudo-unique id of the sector station. |
_Lampposts | The list of lampposts managed by this sector station. |
_PlacesFree | The number of places free in the sector. |
_PlacesOccupied | The number of places occupied in the sector. |
_PlacesReserved | The places reserved in the sector. |
_PricePerHour | Price per hour of a parking place in the current sector. |
Revenue | The revenue in the current sector; |
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. |
SectorStation Class | CBPRS.Parking Namespace