/// <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"); } }
/// <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"); } }
public abstract void setCANDevice(ICANDevice a_canDevice);
/// <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) { }