33 lines
813 B
C#
33 lines
813 B
C#
using Aurora.Api;
|
|
using Aurora.Api.Devices;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO.Ports;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AuroraLaser.Coherent.HyperRapid
|
|
{
|
|
public class LaserHyperRapidConfig : IDeviceConfig
|
|
{
|
|
public IConnConfig ConnConfig { get; set; }
|
|
public LaserHyperRapidConfig()
|
|
{
|
|
ConnConfig = new SerialConnConfig() {
|
|
BaudRate = 19200,
|
|
DataBits = 8,
|
|
StopBits = StopBits.One,
|
|
Parity = Parity.None,
|
|
PortNum = 1,
|
|
NewLine = "\r\n"
|
|
};
|
|
}
|
|
|
|
public static LaserHyperRapidConfig GetDefaultConfig()
|
|
{
|
|
return new LaserHyperRapidConfig();
|
|
}
|
|
}
|
|
}
|