Esempio n. 1
0
        private bool GetActiveState(COMLineType lineType)
        {
            bool state = false; // default - unknown state

            //Get the current active state
            if (m_hostCommandExt != null)
            {
                try
                {
                    state = m_hostCommandExt.IsLineActive(lineType);
                }
                catch(COMException e)
                {
                    DebugPrint(MethodInfo.GetCurrentMethod().Name, "INFO: cannot get line active state. Note: expected on D100 which does not support mutliline.");
                }
            }

            return state;
        }
Esempio n. 2
0
        private bool GetHoldState(COMLineType lineType)
        {
            bool state = false; // default - unknown state

            //Get the current hold state
            if (m_hostCommandExt!=null)
            {
                state = m_hostCommandExt.GetLinkHoldState(lineType);
            }

            return state;
        }
Esempio n. 3
0
        private bool GetActiveState(COMLineType lineType)
        {
            bool state = false; // default - unknown state

            //Get the current active state
            if (m_hostCommandExt != null)
            {
                state = m_hostCommandExt.IsLineActive(lineType);
            }

            return state;
        }