mattercontrol/MatterControlLib/PrinterCommunication/Drivers/X3G/X3GSerialPortFactory.cs
Lars Brubaker bed90234e7 Made MatterControl run as a .net standard app
Moving matter control to a lib and creating a new exe to run it
2018-09-06 16:09:58 -07:00

15 lines
No EOL
418 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);
}
}
}