Making printer connection have lest instance data
This commit is contained in:
parent
4ad41f1c70
commit
28668ca3da
10 changed files with 97 additions and 106 deletions
|
|
@ -5,6 +5,7 @@ using System.Threading.Tasks;
|
|||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.GuiAutomation;
|
||||
using MatterHackers.MatterControl.PrinterCommunication;
|
||||
using MatterHackers.MatterControl.SlicerConfiguration;
|
||||
using NUnit.Framework;
|
||||
|
||||
|
|
@ -116,7 +117,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
Assert.IsTrue(testRunner.NameExists("Start Print Button"));
|
||||
|
||||
int g28Count = 0;
|
||||
foreach(var line in PrinterOutputCache.Instance.PrinterLines)
|
||||
foreach(var line in PrinterConnection.Instance.PrinterOutputCache.PrinterLines)
|
||||
{
|
||||
if(line.Contains("G28"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue