Beispiel #1
0
        /// <summary>
        /// Set the CAN device to be used by this class.
        /// </summary>
        /// <param name="a_canDevice">A ICANDevice.</param>
        public void setCANDevice(ICANDevice a_canDevice)
        {
            if (m_canDevice == null)
            {
                lock (m_lockObject)
                {
                    Console.WriteLine("******* KWPCANDevice: m_CanDevice set");

                    m_canDevice = a_canDevice;
                }
            }
            else
            {
                Console.WriteLine("KWPCANDevice, candevice was already set");
            }
        }
Beispiel #2
0
        /// <summary>
        /// Set the CAN device to be used by this class.
        /// </summary>
        /// <param name="a_canDevice">A ICANDevice.</param>
        public override void setCANDevice(ICANDevice a_canDevice)
        {
            if (m_canDevice == null)
            {
                lock (m_lockObject)
                {
                    logger.Debug("******* KWPCANDevice: m_CanDevice set");

                    m_canDevice = a_canDevice;
                }
            }
            else
            {
                logger.Debug("KWPCANDevice, candevice was already set");
            }
        }
Beispiel #3
0
 public abstract void setCANDevice(ICANDevice a_canDevice);
Beispiel #4
0
 /// <summary>
 /// Set the CAN device to be used by this class.
 /// </summary>
 /// <param name="a_canDevice">A ICANDevice.</param>
 public override void setCANDevice(ICANDevice a_canDevice)
 {
 }