Example #1
0
        //public bool IsVirtualProduct//是否为虚拟产品(换乘)
        //{
        //    get
        //    {
        //        return StartStation == EndStation;
        //    }
        //}

        public override string ToString()
        {
            return(StartStation + "->" + EndStation + " via " + Train.ToString());
        }
Example #2
0
 public StopStation(Train t)
 {
     _Train = t;
 }
Example #3
0
 public override string ToString()
 {
     return("Train:" + Train.ToString() + ",Section:" + StartStation + "->" + EndStation);
 }