private static MSOH TestMSOH() { DataChannel dc = new DataChannel(); MSOH msoh = new MSOH(); msoh.createMSOH(dc); Console.WriteLine(msoh.GetMSOH()); Console.ReadKey(); return(msoh); }
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(); }
public void CreateSTM1(MSOH msoh, AU4 au4) { stm1 = "MSOH:[" + msoh.GetMSOH() + "], RSOH:[" + RSOH.Rsoh + "], AU-4:[" + au4.GetAU4() + "]"; }