This is a cable that can connect a display with the green 5 pin waterproof plug to the flat plug regularly used on many ebike controllers.
Display connection plug