示例#1
0
        public void Command_0E_00_Check_003()
        {
            var Command = new Command_0E_00();

            Command.ResData = new byte[8];

            Command.ResData[0] = 0x0F;
            Command.ResData[1] = 0x00;
            Command.ResData[2] = 0x00;
            Command.ResData[3] = 0x04;
            Command.ResData[4] = 0x00;
            Command.ResData[5] = 0x00;
            Command.ResData[6] = 0x00;
            Command.ResData[7] = 0x02;

            try
            {
                Command.Check();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Assert.Fail();
            }
        }
示例#2
0
        public void Command_0E_00_Check_034()
        {
            var Command = new Command_0E_00();

            Command.ResData = new byte[8];

            Command.ResData[0] = 0x0F;
            Command.ResData[1] = 0x00;
            Command.ResData[2] = 0x00;
            Command.ResData[3] = 0x04;
            Command.ResData[4] = 0xFF;
            Command.ResData[5] = 0x00;
            Command.ResData[6] = 0x00;
            Command.ResData[7] = 0x00;

            Command.Check();
        }