@Override
	public boolean equals(Object obj)
	{
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Device other = (Device) obj;
		if (houseCode == null)
		{
			if (other.houseCode != null)
				return false;
		} else if (!houseCode.equals( other.houseCode ))
			return false;
		if (unitCode == null)
		{
			if (other.unitCode != null)
				return false;
		} else if (!unitCode.equals( other.unitCode ))
			return false;
		return true;
	}