public TiltDevice(int id, TiltController controller, string devicename, string ComName, int baud) : base(id, devicename, ComName, baud) { // this.DeviceName= GPSName; this.controller = controller; //new System.Threading.Thread(ProcessGpsSignal).Start(); }
public TiltDevice(int id, TiltController controller, string deviceName, System.Net.IPEndPoint endpoint ) : base(id, deviceName, endpoint) { // this.DeviceName= GPSName; // this.endpoint = endpoint; // com = new System.IO.Ports.SerialPort(ComName, baud, System.IO.Ports.Parity.None, 8, System.IO.Ports.StopBits.One); // com.Open(); this.controller = controller; }