Пример #1
0
        public void Command_0E_10_Check_008()
        {
            var Command = new Command_0E_10();

            Command.ResData     = new byte[13];
            Command.ResData[0]  = 0x0F;
            Command.ResData[1]  = 0x10;
            Command.ResData[2]  = 0x00;
            Command.ResData[3]  = 0x09;
            Command.ResData[4]  = 0x04;
            Command.ResData[5]  = 0x00;
            Command.ResData[6]  = 0x00;
            Command.ResData[7]  = 0x01;
            Command.ResData[8]  = 0x00;
            Command.ResData[9]  = 0x01;
            Command.ResData[10] = 0x00;
            Command.ResData[11] = 0x01;
            Command.ResData[12] = 0x00;

            try
            {
                Command.Check();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Assert.Fail();
            }
        }
Пример #2
0
        public void Command_0E_10_Check_017()
        {
            var Command = new Command_0E_10();

            Command.ResData     = new byte[13];
            Command.ResData[0]  = 0x0F;
            Command.ResData[1]  = 0x10;
            Command.ResData[2]  = 0x00;
            Command.ResData[3]  = 0x09;
            Command.ResData[4]  = 0x04;
            Command.ResData[5]  = 0x00;
            Command.ResData[6]  = 0x00;
            Command.ResData[7]  = 0x00;
            Command.ResData[8]  = 0x00;
            Command.ResData[9]  = 0x00;
            Command.ResData[10] = 0x00;
            Command.ResData[11] = 0x00;
            Command.ResData[12] = 0x02;

            Command.Check();
        }