示例#1
0
        public void TestCERECORDCmdStr1()
        {
            AdcpCommands cmd = new AdcpCommands();

            cmd.CERECORD_EnsemblePing = true;
            cmd.CERECORD_SinglePing = true;

            Assert.AreEqual("CERECORD 1,1", cmd.CERECORD_CmdStr(), "CERECORD Command String is incorrect.");
        }
示例#2
0
        public void TestCERECORDCmdStr()
        {
            AdcpCommands cmd = new AdcpCommands();

            cmd.CERECORD_EnsemblePing = AdcpCommands.AdcpRecordOptions.Disable;
            cmd.CERECORD_SinglePing = false;

            Assert.AreEqual("CERECORD 0,0", cmd.CERECORD_CmdStr(), "CERECORD Command String is incorrect.");
        }