Example #1
0
        public void Test_MT_Helpers_MT_ArrivalToRailWayAll()
        {
            MT        mts = new MT();
            MTContent mt  = new MTContent();

            foreach (MTSostav sos in mt.Get_MTSostav())
            {
                int v = mts.ArrivalToRailWay(sos.IDMTSostav);
                if (v > 0)
                {
                    Console.WriteLine("Состав {0} - вагонов {1}", sos.CompositionIndex, v);
                }
            }
        }
Example #2
0
        public void Test_MT_Helpers_MT_ArrivalToRailWay()
        {
            MT  mts = new MT();
            int v1  = mts.ArrivalToRailWay(6391);
            //int v1 = mts.ArrivalToRailWay(5012);
            //int v2 = mts.ArrivalToRailWay(5021);
            //int v3 = mts.ArrivalToRailWay(5027);
            //int v4 = mts.ArrivalToRailWay(5034);
            //int v5 = mts.ArrivalToRailWay(5040);
            //int v6 = mts.ArrivalToRailWay(5042);
            //int v7 = mts.ArrivalToRailWay(5045);
            //int v8 = mts.ArrivalToRailWay(5055);



            //int v2 = mts.ArrivalToRailWay(4231);
            //    if (v1>0){
            //    Console.WriteLine("Состав {0} - вагонов {1}", "d", v1);}
        }