//! method for create telegraph with a telegraph type string public Telegraph CreateTelegraph(System.String strType, params Object[] Args) { if (null == strType) { return(null); } if ("" == strType.Trim().ToUpper()) { return(null); } foreach (Telegraph tTelegraph in m_SupportTelegraphList) { if (tTelegraph.Type.Trim().ToUpper() == strType.Trim().ToUpper()) { Telegraph tResultTelegraph = tTelegraph.CreateTelegraph(Args); if (null != tResultTelegraph) { return(tResultTelegraph); } } } return(null); }
//! \brief method for register supported telegraph public abstract Boolean RegisterSupportTelegraph(Telegraph tTelegraph);
public virtual System.Boolean TryToSendTelegraph(Telegraph telTarget) { return(false); }