/// <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;
 }
Exemple #2
0
 /// <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;
     }
 }
Exemple #3
0
 internal ApplicationLayerSlave
     (IProtocolParent pStatistic, ICommunicationLayer pComm)
     : base(pComm)
 {
     this.myStatistic = pStatistic;
 }