Ejemplo n.º 1
0
        public bool ReadInBit(int index, ref uint value)
        {
            try
            {
                if (m_nModuleCount <= 0)
                {
                    return(false);
                }

                if (index < m_nInputCount)
                {
                    CAXD.AxdiReadInport(index, ref value);

                    return(true);
                }
                else
                {
                    return(false);
                }
            }
            catch (Exception E)
            {
                throw E;
            }
        }