Red is the supply line, air in the supply line releases the parking brakes, air in the blue line applies the service brakes.
What you have there is a glad hand, extension(makes it easier to hook up) and a quick disconnect fitting to hook it to shop air for servicing the trailer.