Ejemplo n.º 1
0
        public bool GetStopService()
        {
            try
            {
                driverHelper.Disconnect();

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