public void BuildWriteTest( ) { OperateResult <byte[]> read = FatekProgram.BuildWriteByteCommand(1, "Y8", new byte[] { 0xAA, 0xAA, 0x55, 0x55 }); Assert.IsTrue(read.IsSuccess); Assert.IsTrue(SoftBasic.IsTwoBytesEquel(read.Content, new byte[] { 0x02, 0x30, 0x31, 0x34, 0x37, 0x30, 0x32, 0x57, 0x59, 0x30, 0x30, 0x30, 0x38, 0x41, 0x41, 0x41, 0x41, 0x35, 0x35, 0x35, 0x35, 0x38, 0x30, 0x03 })); }