public int SetPIO(CTC_PIO CTCtoPMC, bool bOnOff) { int nRet = 0; nRet = SetBit((short)CTCtoPMC, bOnOff); return(nRet); }
public int GetPIO(CTC_PIO CTCtoPMC) { int nRet = 0; nRet = GetBit((short)CTCtoPMC); if (nRet < 0) { //Error } return(nRet); }