예제 #1
0
        /// <summary>
        /// Close the CanOpen CanFestival driver
        /// </summary>
        public void close()
        {
            threadrun = false;

            if (driver == null)
            {
                return;
            }

            driver.close();
        }
예제 #2
0
        /// <summary>
        /// Close the CanOpen CanFestival driver
        /// </summary>
        public void close()
        {
            threadrun = false;

            if (driver == null)
            {
                return;
            }

            driver.close();

            if (connectionevent != null)
            {
                connectionevent(this, new ConnectionChangedEventArgs(false));
            }
        }