Rename ApplicationControl static printer property to ActivePrinter
This commit is contained in:
parent
2ac9b5932e
commit
ed66d862a4
11 changed files with 20 additions and 20 deletions
|
|
@ -499,7 +499,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
fanChangedCount++;
|
||||
};
|
||||
|
||||
var layerTwoZHeight = ApplicationController.Instance.Printer.Settings.GetValue<double>(SettingsKey.layer_height) * 2;
|
||||
var layerTwoZHeight = ApplicationController.Instance.ActivePrinter.Settings.GetValue<double>(SettingsKey.layer_height) * 2;
|
||||
|
||||
// Wait for layer 2
|
||||
emulator.ZPositionChanged += (s, e) =>
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
// close the pause dialog pop-up
|
||||
testRunner.ClickByName("Yes Button");
|
||||
|
||||
var printer = ApplicationController.Instance.Printer;
|
||||
var printer = ApplicationController.Instance.ActivePrinter;
|
||||
|
||||
testRunner.Delay(() => printer.Bed.ActiveLayerIndex + 1 == indexToWaitFor, 30, 500);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue