Esempio n. 1
0
        private void Active_Test()
        {
            CMPP_HEAD Head = new CMPP_HEAD();

            Head.TotalLength = 12;
            Head.CommandID   = (uint)CMPP_COMMAND.CMD_ACTIVE_TEST;
            Head.SequenceID  = Sequence.Instance.CreateID();
            CMPP_ACTIVE_TEST active_test = new CMPP_ACTIVE_TEST(Head);

            //SlidingWindow send = new SlidingWindow();
            //send.SendCount = 0;
            //send.SendTime = DateTime.Now;
            //send.MSG = active_test;
            //send.Status = WindowStatus.Fill;
            //SWSet(send);

            Send(active_test);
            MessageTools.MessageHelper.Instance.WirteTest("Client Send -> CMPP_ACTIVE_TEST");

            // DebugLog.Instance.Write<CMPP_ACTIVE_TEST>("Client Send -> CMPP_ACTIVE_TEST", active_test);
        }
Esempio n. 2
0
 public CMPP_ACTIVE_TEST(CMPP_HEAD head)
 {
     Head = head;
 }