/// <summary>
 /// Add this junction with state to the given set.
 /// </summary>
 public override void AddTo(IJunctionWithStateSet junctionWithStateSet)
 {
     junctionWithStateSet.Add((ISwitch)Junction, Direction);
 }
 /// <summary>
 /// Add this junction with state to the given set.
 /// </summary>
 public override void AddTo(IJunctionWithStateSet junctionWithStateSet)
 {
     junctionWithStateSet.Add((ITurnTable)Junction, Position);
 }
 /// <summary>
 /// Add this junction with state to the given set.
 /// </summary>
 public override void AddTo(IJunctionWithStateSet junctionWithStateSet)
 {
     junctionWithStateSet.Add((IPassiveJunction)Junction);
 }