public bool SetOutBit(bool bOn) { if (ioData.bignore) { return(true); } if (bready == false) { return(false); } return(actionOutput.SetOutBit(iOutputNo, bOn)); }
public bool SetOutBit(bool bOn) { try { if (outputData.Ignore) { return(true); } if (bready == false) { return(false); } return(actionOutput.SetOutBit(outputData.Index, bOn)); } catch (Exception) { return(false); } }