Added temp tower to calibration folder
issue: MatterHackers/MCCentral#6123 Create a temperature calibration object
This commit is contained in:
parent
975c9294ca
commit
a84805e164
15 changed files with 253 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2019, Lars Brubaker, John Lewin
|
||||
Copyright (c) 2019, Lars Brubaker
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -83,14 +83,22 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
public override Task Rebuild()
|
||||
{
|
||||
this.DebugDepth("Rebuild");
|
||||
bool valuesChanged = false;
|
||||
|
||||
using (RebuildLock())
|
||||
{
|
||||
Temperature = agg_basics.Clamp(Temperature, 140, 400, ref valuesChanged);
|
||||
|
||||
using (new CenterAndHeightMaintainer(this))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (valuesChanged)
|
||||
{
|
||||
Invalidate(InvalidateType.DisplayValues);
|
||||
}
|
||||
|
||||
Parent?.Invalidate(new InvalidateArgs(this, InvalidateType.Mesh));
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue