There are two ways you can wire your dual function bar depending on how you would like it to operate.
TWO WIRE HARNESSES:
Controlling Amber & White Lights Independently
If you want to control the amber and white separately then you will need 2 harnesses. With the 2 harnesses, this gives you the ability to run the Amber/White lights individually or all at the same time.
The LED bar will have 3 wires on it. BLACK, WHITE, GREEN
WHITE: Power For The White LED's
GREEN: Power For The Amber LED's
The harness will have DT Plugs at the end. You will want to remove those plugs as they are not needed.
After the plugs are removed there will be red and black wires exposed. between both harnesses, you will have 2 red wires and 2 black wires.
You will want to connect the 2 black wires together and connect them to the black wire on the LED bar, Then one red to the white and the other red to green. That will give you the ability to run the lights independently.
ONE WIRE HARNESS:
Controlling ALL Lights At Once
If you are wanting the full bar to turn on/off at once and not be able to control separately then you would just need one harness. Remove the plug from the harness. Connect the black wire from the LED bar to the black wire on the harness. Then combine the green and white wire on the LED bar to connect to the red on the harness.