Class BicycleRentalLayer
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Inheritance
System.Object
BicycleRentalLayer
Implements
System.Collections.Generic.IEnumerable<BicycleRentalStation>
System.Collections.IEnumerable
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SOHBicycleModel.Rental
Assembly: SOHBicycleModel.dll
Syntax
public class BicycleRentalLayer : VectorLayer<BicycleRentalStation>, IEnumerable<BicycleRentalStation>, IEnumerable, IBicycleRentalLayer, IVectorLayer<BicycleRentalStation>, IVectorLayer, IEnvelopDataLayer, IDataSet, IDisposable, IDataLayer, IChangingLayer, INotifyChangedSource<IVectorFeature>, IModalLayer, ILayer, IModelObject
Properties
| Improve this Doc View SourceEntityManager
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public IEntityManager EntityManager { get; }
Property Value
Type | Description |
---|---|
IEntityManager |
IsInitialized
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public bool IsInitialized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeyCount
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public string KeyCount { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ModalChoice
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public ModalChoice ModalChoice { get; }
Property Value
Type | Description |
---|---|
ModalChoice |
Scenario
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public char Scenario { get; set; }
Property Value
Type | Description |
---|---|
System.Char |
SpatialGraphMediatorLayer
Provides access to the ISpatialGraphEnvironment on which the Bicycles move.
Declaration
public SpatialGraphMediatorLayer SpatialGraphMediatorLayer { get; set; }
Property Value
Type | Description |
---|---|
SpatialGraphMediatorLayer |
SynchronizationTimePoints
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public List<DateTime> SynchronizationTimePoints { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.DateTime> |
SynchronizeAlwaysSince
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public DateTime? SynchronizeAlwaysSince { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Methods
| Improve this Doc View SourceInitLayer(LayerInitData, RegisterAgent, UnregisterAgent)
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public override bool InitLayer(LayerInitData layerInitData, RegisterAgent registerAgentHandle = null, UnregisterAgent unregisterAgent = null)
Parameters
Type | Name | Description |
---|---|---|
LayerInitData | layerInitData | |
RegisterAgent | registerAgentHandle | |
UnregisterAgent | unregisterAgent |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Mars.Components.Layers.VectorLayer<SOHBicycleModel.Rental.BicycleRentalStation>.InitLayer(Mars.Interfaces.Data.LayerInitData, Mars.Interfaces.Layers.RegisterAgent, Mars.Interfaces.Layers.UnregisterAgent)
|
Improve this Doc
View Source
Nearest(Position, Boolean)
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public BicycleRentalStation Nearest(Position position, bool notEmpty)
Parameters
Type | Name | Description |
---|---|---|
Position | position | |
System.Boolean | notEmpty |
Returns
Type | Description |
---|---|
BicycleRentalStation |
SetCurrentTick(Int64)
The
BicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
It requires a vector file that contains all available stations.
Declaration
public override void SetCurrentTick(long currentStep)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | currentStep |
Overrides
Mars.Components.Layers.VectorLayer<SOHBicycleModel.Rental.BicycleRentalStation>.SetCurrentTick(System.Int64)
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable