CHARLOTTE, N.C. (AP) _ SPX Corp. (SPXC) on Thursday reported second-quarter net income of $23 million, after reporting a loss in the same period a year earlier.

On a per-share basis, the Charlotte, North Carolina-based company said it had net income of 51 cents. Earnings, adjusted for one-time gains and costs, were 53 cents per share.

The infrastructure equipment supplier posted revenue of $379.2 million in the period.

SPX expects full-year earnings in the range of $2.15 to $2.25 per share.

SPX shares have risen 17 percent since the beginning of the year.

_____

This story was generated by Automated Insights (http://automatedinsights.com/ap) using data from Zacks Investment Research. Access a Zacks stock report on SPXC at https://www.zacks.com/ap/SPXC