Microscopic Traffic Simulator
SensorNode.cs
Go to the documentation of this file.
2 using System;
3 using System.Windows;
4 
5 namespace Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes
6 {
10  [Serializable]
11  public class SensorNode : InnerNode
12  {
16  private Sensor sensor;
20  public Sensor Sensor { get { return sensor; } }
21 
28  public SensorNode(Point location, double t, Sensor sensor)
29  : base(location, t)
30  {
31  this.sensor = sensor;
32  }
33  }
34 }
Node on the lane which is not the start or end node.
Definition: InnerNode.cs:10
SensorNode(Point location, double t, Sensor sensor)
Initialization of the sensor node.
Definition: SensorNode.cs:28