示例#1
0
 public bool SetOutBit(bool bOn)
 {
     if (ioData.bignore)
     {
         return(true);
     }
     if (bready == false)
     {
         return(false);
     }
     return(actionOutput.SetOutBit(iOutputNo, bOn));
 }
示例#2
0
 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);
     }
 }