private static void GetDeviceData(XmlDocument document, ZwaveDeviceLibraryItem device)
 {
     device.Id = int.Parse(GetNodeValue(document, "//ProductExport/Id"));
     device.Name = GetNodeValue(document, "//ProductExport/Name");
     device.Description = GetNodeValue(document, "//ProductExport/Description");
     device.Brand = GetNodeValue(document, "//ProductExport/Brand");
     device.Identifier = GetNodeValue(document, "//ProductExport/Identifier");
     device.CertificationNumber = GetNodeValue(document, "//ProductExport/CertificationNumber");
     device.OemVersion = GetNodeValue(document, "//ProductExport/OemVersion");
     device.HardwarePlatform = GetNodeValue(document, "//ProductExport/HardwarePlatform");
     device.ZWaveVersion = GetNodeValue(document, "//ProductExport/ZWaveVersion");
     device.LibraryType = GetNodeValue(document, "//ProductExport/LibraryType");
     device.SpecificDeviceClass = GetNodeValue(document, "//ProductExport/SpecificDeviceClass");
     device.GenericDeviceClass = GetNodeValue(document, "//ProductExport/GenericDeviceClass");
     device.DeviceType = GetNodeValue(document, "//ProductExport/DeviceType");
     device.ManufacturerId = GetNodeValueAsInt32(document, "//ProductExport/ManufacturerId");
     device.ProductTypeId = GetNodeValueAsInt32(document, "//ProductExport/ProductTypeId");
     device.ProductId = GetNodeValueAsInt32(document, "//ProductExport/ProductId");
     device.FrequencyName = GetNodeValue(document, "//ProductExport/FrequencyName");
     device.Image = GetNodeValue(document, "//ProductExport/Image");
 }
        private static ZwaveDeviceLibraryItem LoadIntoLibrary(XmlDocument document)
        {
            var device = new ZwaveDeviceLibraryItem();

            GetDeviceData(document, device);
            //GetDescription(document, device);

            return device;
        }