public override void Write(int data) { var handle = ((FyyingIOBoardDevice)Parent).Handle; Debug.Assert(handle != IntPtr.Zero); OfficalAPI.FY6400_DO_Bit(handle, data, Index); }