Example #1
0
 public static bool CheckLight(F4SharedMem.Headers.LightBits2 datamask, FlightData BMSdata)
 {
     if ((BMSdata.lightBits2 & (Int32)datamask) == (Int32)datamask)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
 private bool CheckLight(F4SharedMem.Headers.LightBits2 datamask)
 {
     if ((BMSdata.lightBits2 & (Int32)datamask) == (Int32)datamask)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }