- 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
16 lines
No EOL
509 B
C#
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);
|
|
}
|
|
}
|
|
} |