本文整理匯總了C#中AdcpSubsystemCommands.GetCBTBB_Mode方法的典型用法代碼示例。如果您正苦於以下問題:C# AdcpSubsystemCommands.GetCBTBB_Mode方法的具體用法?C# AdcpSubsystemCommands.GetCBTBB_Mode怎麽用?C# AdcpSubsystemCommands.GetCBTBB_Mode使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類AdcpSubsystemCommands
的用法示例。
在下文中一共展示了AdcpSubsystemCommands.GetCBTBB_Mode方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: TestCBTBB_GetModeDefault
public void TestCBTBB_GetModeDefault()
{
Subsystem ss = new Subsystem(Subsystem.SUB_600KHZ_VERT_PISTON_B, 1);
AdcpSubsystemCommands ssc = new AdcpSubsystemCommands(new SubsystemConfiguration(ss, 0, 0));
string type = ssc.GetCBTBB_Mode();
Assert.AreEqual(AdcpSubsystemCommands.eCBTBB_Mode.BROADBAND_CODED, ssc.CBTBB_Mode, "CBTBB_Mode is incorrect.");
Assert.AreEqual(AdcpSubsystemCommands.BT_BB_MODE_BROADBAND_CODED, type, "CBTBB_Mode Get is incorrect.");
}
示例2: TestCBTBB_GetModeNB
public void TestCBTBB_GetModeNB()
{
Subsystem ss = new Subsystem(Subsystem.SUB_600KHZ_VERT_PISTON_B, 1);
AdcpSubsystemCommands ssc = new AdcpSubsystemCommands(new SubsystemConfiguration(ss, 0, 0));
ssc.CBTBB_Mode = AdcpSubsystemCommands.eCBTBB_Mode.NARROWBAND_LONG_RANGE;
string type = ssc.GetCBTBB_Mode();
Assert.AreEqual(AdcpSubsystemCommands.eCBTBB_Mode.NARROWBAND_LONG_RANGE, ssc.CBTBB_Mode, "CBTBB_Mode is incorrect.");
Assert.AreEqual(AdcpSubsystemCommands.BT_BB_MODE_NARROWBAND, type, "CBTBB_Mode Get is incorrect.");
}
示例3: TestCBTBB_GetModeAutoSwitch
public void TestCBTBB_GetModeAutoSwitch()
{
Subsystem ss = new Subsystem(Subsystem.SUB_600KHZ_VERT_PISTON_B, 1);
AdcpSubsystemCommands ssc = new AdcpSubsystemCommands(new SubsystemConfiguration(ss, 0, 0));
ssc.CBTBB_Mode = AdcpSubsystemCommands.eCBTBB_Mode.AUTO_SWITCH_NARROWBAND_BB_NONCODED_BB_NONCODED_P2P;
string type = ssc.GetCBTBB_Mode();
Assert.AreEqual(AdcpSubsystemCommands.eCBTBB_Mode.AUTO_SWITCH_NARROWBAND_BB_NONCODED_BB_NONCODED_P2P, ssc.CBTBB_Mode, "CBTBB_Mode is incorrect.");
Assert.AreEqual(AdcpSubsystemCommands.BT_BB_MODE_NB_BBNONCODED_BBNONCODEDP2P, type, "CBTBB_Mode Get is incorrect.");
}