Program.cs 790 B

1234567891011121314151617181920212223242526272829
  1. //using System;
  2. //using System.Collections.Generic;
  3. //using System.Linq;
  4. //using System.Text;
  5. //using System.Threading.Tasks;
  6. //namespace ConsoleApplication2
  7. //{
  8. // class Program
  9. // {
  10. // static void Main(string[] args)
  11. // {
  12. // using (SerialPortDevice spd = new SerialPortDevice("COM1"))
  13. // {
  14. // if (!spd.Open())
  15. // {
  16. // return;
  17. // }
  18. // var bpq = new CH4BPQ(spd);
  19. // double[] freqs = new double[3];
  20. // freqs[0] = 950.01;
  21. // freqs[1] = 1950.12;
  22. // freqs[2] = 1150.23;
  23. // String errmsg = String.Empty;
  24. // bpq.SetFreqs(freqs, ref errmsg);
  25. // }
  26. // }
  27. // }
  28. //}