Пример #1
0
        public PC(string configurationFilePath, CC ccPointer, RC rcPointer, LRM lrmPointer)
        {
            InitialiseVariables(configurationFilePath);
            InitializeSocket();

            _moduleCC  = ccPointer;
            _moduleRC  = rcPointer;
            _moduleLRM = lrmPointer;
        }
Пример #2
0
 public Lrm(string areaName, CC cc)
 {
     this.areaName            = areaName;
     isActive                 = true;
     this.cc                  = cc;
     keepAliveTimer           = new System.Timers.Timer();
     keepAliveTimer.Elapsed  += new System.Timers.ElapsedEventHandler(OnTimedEvent);
     keepAliveTimer.AutoReset = false;
     keepAliveTimer.Interval  = 40000;
     keepAliveTimer.Enabled   = true;
 }