/// <summary> /// Performs the playback of actions in this module. /// </summary> /// <remarks>You should not call this method directly, instead pass the module /// instance to the <see cref="TestModuleRunner.Run(ITestModule)"/> method /// that will in turn invoke this method.</remarks> void ITestModule.Run() { Mouse.DefaultMoveTime = 300; Keyboard.DefaultKeyPressTime = 100; Delay.SpeedFactor = 1.0; if (this.SetBit == 99) { RelaysAccessMethodsQlib.SetAll(this.CardAddress); } else { RelaysAccessMethodsQlib.SetChannel(this.CardAddress, this.SetBit); } }
/// <summary> /// Performs the playback of actions in this module. /// </summary> /// <remarks>You should not call this method directly, instead pass the module /// instance to the <see cref="TestModuleRunner.Run(ITestModule)"/> method /// that will in turn invoke this method.</remarks> void ITestModule.Run() { Mouse.DefaultMoveTime = 300; Keyboard.DefaultKeyPressTime = 100; Delay.SpeedFactor = 1.0; if (this.UnsetBit == 99) { RelaysAccessMethodsQlib.ClearAll(this.CardAddress); System.Threading.Thread.Sleep(15000); } else { RelaysAccessMethodsQlib.ClearChannel(this.CardAddress, this.UnsetBit); System.Threading.Thread.Sleep(15000); } }