mattercontrol/MatterControlLib/PrinterCommunication/Drivers/X3G/X3GSerialPortFactory.cs
John Lewin bc4efaf18a Remove ActivePrinter from serial ports, pass settings to port calls
- Add PrinterSettings to PortFactory Create/PortAvailable methods
- Add ApplicationController->LogInfo for status reporting
- Remove printer coupling in tcp/x3g for status reporting
- Issue MatterHackers/MCCentral#4549
Remove ActivePrinter from ApplicationController
2018-11-30 14:08:29 -08:00

16 lines
No EOL
509 B
C#

using MatterHackers.MatterControl.SlicerConfiguration;
using MatterHackers.Plugins.X3GDriver;
using MatterHackers.SerialPortCommunication.FrostedSerial;
namespace MatterHackers.MatterControl.Plugins.X3GDriver
{
public class X3GFrostedSerialPortFactory : FrostedSerialPortFactory
{
override protected string GetDriverType() => "X3G";
public override IFrostedSerialPort Create(string serialPortName, PrinterSettings settings)
{
return new X3GSerialPortWrapper(serialPortName, settings);
}
}
}