Overridable emulator heatup
This commit is contained in:
parent
0f1e522a89
commit
b5d8832fe4
2 changed files with 13 additions and 2 deletions
|
|
@ -196,6 +196,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
// Load the TestEnv config
|
||||
var config = TestAutomationConfig.Load();
|
||||
|
||||
Emulator.DefaultHeatUpTime = config.HeatupTime;
|
||||
|
||||
// Create the printer
|
||||
testRunner.AddAndSelectPrinter(make, model);
|
||||
|
||||
|
|
@ -810,6 +812,11 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
public double MouseUpDelay { get; set; } = 0.2;
|
||||
|
||||
/// <summary>
|
||||
/// The number of seconds the emulator should take to heat up and given target
|
||||
/// </summary>
|
||||
public double HeatupTime { get; set; } = 0.5;
|
||||
|
||||
public static TestAutomationConfig Load()
|
||||
{
|
||||
TestAutomationConfig config = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue