示例#1
0
        private static AU4 TestContaunerAU4()
        {
            VC4 containerVC4 = TestContainerVC4();

            AU4 containerAU4 = new AU4();

            containerAU4.createAU4(containerVC4);

            Console.WriteLine(containerAU4.GetAU4());

            Console.ReadKey();

            return(containerAU4);
        }
示例#2
0
        private static void TestContainerSTM1()
        {
            AU4 au4 = TestContaunerAU4();

            MSOH msoh = TestMSOH();

            STM1 containerSTM1 = new STM1();

            containerSTM1.CreateSTM1(msoh, au4);

            Console.WriteLine(containerSTM1.GetSTM1());

            string message1 = containerSTM1.PrepareToSend();

            Console.WriteLine(message1);

            containerSTM1.GetSTM1fromSendedContainer(message1);

            Console.ReadKey();
        }
示例#3
0
 public void CreateSTM1(MSOH msoh, AU4 au4)
 {
     stm1 = "MSOH:[" + msoh.GetMSOH() + "], RSOH:[" + RSOH.Rsoh + "], AU-4:[" + au4.GetAU4() + "]";
 }