public void GetAllIOStatus()
 {
     lock (lockObj)
     {
         try
         {
             for (int index = 0; index < 48; index++)
             {
                 //int iTemp = Dmc1000.d1000_in_bit(index);
                 _bArrayInputSta[index]  = Dmc1000.d1000_in_bit(index) == 1 ? false : true;
                 _bArrayOutputSta[index] = Dmc1000.d1000_get_outbit(index) == 1 ? false : true;
             }
         }
         catch
         {
         }
     }
 }