private object DebugChange(PLTDeviceInfoChange whatChanged, PLTDevice device) { string retval = ""; switch (whatChanged) { case PLTDeviceInfoChange.nothing: retval = "Nothing changed."; break; case PLTDeviceInfoChange.name: retval = "Name is now: " + device.m_device.FriendlyName; break; } return(retval); }
public void NotifyDeviceInfoUpdated(PLTDevice pltDevice, PLTDeviceInfoChange whatChanged) { //todo }
public void NotifyDeviceInfoUpdated(PLTDevice pltDevice, PLTDeviceInfoChange whatChanged) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "NotifyDeviceInfoUpdated = " + pltDevice.m_device.DeviceAddress + " - " + DebugChange(whatChanged, pltDevice)); }