Exemple #1
0
 static void Main(string[] args)
 {
     //_bw.DoWork += bw_DoWork;
     //_bw.R
     while (run)
     {
         System.Threading.Thread.Sleep(30000);
         try {
             Mlx906 mlx = new Mlx906();
             mlx.GetMlx9062();
             //GetMlx906().Wait();
             //GetCavityTemp().Wait();
             //GetSdp610 ().Wait ();
             //GetSht15 ().Wait();
             //GetBMP180 ().Wait();
         } catch (Exception ex) {
             string h = ex.Message;
         }
         //PostReading(r).GetAwaiter().GetResult();
         //System.Threading.Thread.Sleep(60000);
     }
 }
Exemple #2
0
 private static async Task GetMlx906()
 {
     Mlx906 mlx = new Mlx906();
     await mlx.GetMlx906();
 }