public bool GetStopService()
        {
            try
            {
                driverHelper.Disconnect();

                return(true);
            }
            catch (System.Exception ex)
            {
                EventscadaException?.Invoke(this.GetType().Name, ex.Message);
            }
            return(true);
        }
 public bool GetStopService()
 {
     try
     {
         lock (mutexStop)
         {
             driverHelper.Disconnect();
         }
     }
     catch (System.Exception ex)
     {
         var err = new HMIException.ScadaException(this.GetType().Name, ex.Message);
     }
     return(true);
 }