improving connect procedure

This commit is contained in:
Lars Brubaker 2021-11-30 14:25:15 -08:00
parent de77575fd2
commit 35ef85b73e
16 changed files with 200 additions and 186 deletions

View file

@ -186,12 +186,20 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
public bool ValidateLevelingWithProbe
public bool ProbeBeingUsed
{
get
{
return printerSettings.GetValue<bool>(SettingsKey.has_z_probe)
&& printerSettings.GetValue<bool>(SettingsKey.use_z_probe)
&& printerSettings.GetValue<bool>(SettingsKey.use_z_probe);
}
}
public bool ValidateLevelingWithProbe
{
get
{
return ProbeBeingUsed
&& printerSettings.GetValue<bool>(SettingsKey.validate_leveling);
}
}
@ -343,10 +351,5 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
return printerSettings.GetValue<int>(SettingsKey.extruder_count);
}
public bool UseZProbe()
{
return printerSettings.GetValue<bool>(SettingsKey.has_z_probe) && printerSettings.GetValue<bool>(SettingsKey.use_z_probe);
}
}
}