Пример #1
0
 private bool CompareLaneProperties(Lane laneToCompare)
 {
     if (laneToCompare != null &&
         this.ApproachID == laneToCompare.ApproachID &&
         this.LaneID == laneToCompare.LaneID &&
         this.Description == laneToCompare.Description &&
         this.MovementTypeID == laneToCompare.MovementTypeID &&
         this.LaneGroupTypeID == laneToCompare.LaneGroupTypeID &&
         this.Detectors == laneToCompare.Detectors
         )
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Пример #2
0
 public bool Equals(Lane laneToCompare)
 {
     return(CompareLaneProperties(laneToCompare));
 }