コード例 #1
0
        public void BuildStopCommandTest( )
        {
            byte[] right = new byte[] { 0x05, 0x30, 0x30, 0x46, 0x46, 0x52, 0x53, 0x30, 0x43, 0x31 };
            OperateResult <byte[]> command = MelsecFxLinks.BuildStop(0, true, 0);

            Assert.IsTrue(HslCommunication.BasicFramework.SoftBasic.IsTwoBytesEquel(command.Content, right), HslCommunication.BasicFramework.SoftBasic.ByteToHexString(command.Content, ' '));
        }