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