public void BuildWriteBoolTest( ) { OperateResult <byte[]> read = FatekProgram.BuildWriteBoolCommand(1, "Y0", new bool[] { true, false, false, true }); Assert.IsTrue(read.IsSuccess); Assert.IsTrue(SoftBasic.IsTwoBytesEquel(read.Content, new byte[] { 0x02, 0x30, 0x31, 0x34, 0x35, 0x30, 0x34, 0x59, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x30, 0x31, 0x30, 0x42, 0x03 })); }