mattercontrol/MatterControlLib/PrinterCommunication/Drivers/X3G/X3GSerialPortFactory.cs
2018-10-05 09:25:05 -07:00

15 lines
No EOL
464 B
C#

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)
{
return new X3GSerialPortWrapper(serialPortName, ApplicationController.Instance.ActivePrinter);
}
}
}