A New Method of Comparing Cooling Curves to Recognize the Casting Quality