Пример #1
0
        public GPSDeviceBase(int id, ControllerBase controller, string GPSName, string ComName, int baud)
            : base(id,GPSName, ComName, baud)
        {
            //  this.DeviceName= GPSName;

            this.controller = controller;
            new System.Threading.Thread(ProcessGpsSignal).Start();
        }
Пример #2
0
 public GPSDeviceBase(int id, ControllerBase controller, string GPSName, System.Net.IPEndPoint endpoint, double refx, double refy, double refz)
     : this(id, controller, GPSName, endpoint)
 {
     this.IsReference = true;
     this.refx = refx;
     this.refy = refy;
     this.refz = refz;
 }
Пример #3
0
 public GPSDeviceBase(int id,ControllerBase controller,  string GPSName, string ComName, int baud, double refx, double refy, double refz)
     : this(id,controller,GPSName, ComName, baud)
 {
     this.IsReference = true;
     this.refx = refx;
     this.refy = refy;
     this.refz = refz;
 }
Пример #4
0
 public GPSDeviceBase(int id, ControllerBase controller, string GPSName, System.Net.IPEndPoint endpoint)
     : base(id, GPSName, 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;
     new System.Threading.Thread(ProcessGpsSignal).Start();
 }