I have a mac 4 post solenoid for controlling a vacuum locker but it has only 2 black wires.. how do i wire this to a switch?

I bet its bleeding obvious and i am.

Cheers

Sent from my SM-G900I using Tapatalk