refactoring

This commit is contained in:
Lars Brubaker 2019-05-21 16:05:55 -07:00
parent debd4e6b93
commit d77c942e69
3 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ namespace MatterControl.Printing
/// <summary>
/// Gets total print time that will leave the heaters on at the conclusion of the print.
/// </summary>
public static int PrintTimeToLeaveHeatersOn => 60 * 10;
public static int LeaveHeatersOnTime => 60 * 10;
public GCodeMemoryFile(bool gcodeHasExplicitLayerChangeInfo = false)
{
@ -446,7 +446,7 @@ namespace MatterControl.Printing
{
// don't turn of extruders if we will end the print within 10 minutes
if (instructionIndex < gCodeCommandQueue.Count
&& this.TotalSecondsInPrint < PrintTimeToLeaveHeatersOn)
&& this.TotalSecondsInPrint < LeaveHeatersOnTime)
{
return (toolToLookFor, gCodeCommandQueue[instructionIndex].SecondsToEndFromHere);
}