Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void NotifyDeviceInfoUpdated(PLTDevice pltDevice, PLTDeviceInfoChange whatChanged)
 {
     //todo
 }
Ejemplo n.º 3
0
 public void NotifyDeviceInfoUpdated(PLTDevice pltDevice, PLTDeviceInfoChange whatChanged)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "NotifyDeviceInfoUpdated = "
                + pltDevice.m_device.DeviceAddress
                + " - " + DebugChange(whatChanged, pltDevice));
 }