DeviceEquipment get by code and device