Example #1
0
 /// <summary>
 /// Check the Station Controller software version and update it if necessary
 /// </summary>
 /// <param name="swVersion">Station Controller software version</param>
 /// <param name="ipStationController">Station Controller IP</param>
 public void CheckUpdateStationController(string swVersion, string ipStationController)
 {
     if (m_localData.GetStationControllerSwVersion() != swVersion)
     {
         string urlStationControllerSw = Path.Combine(m_localData.GetSystemFilesFolderLocation(), m_localData.GetStationControllerSwUrl());
         m_comUpdaterService.SendUpdateSw(urlStationControllerSw, ipStationController);
     }
 }