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; }
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; }
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; }