Пример #1
0
        public int SetPIO(CTC_PIO CTCtoPMC, bool bOnOff)
        {
            int nRet = 0;

            nRet = SetBit((short)CTCtoPMC, bOnOff);
            return(nRet);
        }
Пример #2
0
        public int GetPIO(CTC_PIO CTCtoPMC)
        {
            int nRet = 0;

            nRet = GetBit((short)CTCtoPMC);
            if (nRet < 0)
            {
                //Error
            }
            return(nRet);
        }