Ejemplo n.º 1
0
        public void disconnect()
        {
            int result;

            result = MyClient.Disconnect();

            if (result != 0)
            {
                string error = "Error during PLC disconnect";
                throw new wPlcException(error, result);
            }
        }