/// <summary> /// contructor /// </summary> /// <param name="pStatistic">out statistic class</param> /// <param name="pComm"></param> /// <param name="pErrorFrequency"></param> internal ApplicationLayerMaster (IProtocolParent pStatistic, ICommunicationLayer pComm, int pErrorFrequency) : base(pComm) { this.myStatistic = pStatistic; m_errorfrequency = pErrorFrequency; }
/// <summary> /// contructor /// </summary> /// <param name="pStatistic">out statistic class</param> /// <param name="pComm"></param> /// <param name="pErrorFrequency"></param> internal NULL_ApplicationLayerMaster (IProtocolParent pStatistic, ICommunicationLayer pComm, int pErrorFrequency) : base(pComm) { this.myStatistic = pStatistic; m_errorfrequency = pErrorFrequency; ComPortCli = pComm; CommunicationThroughCommunicationLayer = true; if (pComm.GetType().Name.Contains("NULL")) { CommunicationThroughCommunicationLayer = false; } }
internal ApplicationLayerSlave (IProtocolParent pStatistic, ICommunicationLayer pComm) : base(pComm) { this.myStatistic = pStatistic; }