Does "machinery" mean the same thing in these two sentences?

The complex machinery of negotiation.

The machinery of command labored and brought forth an order.
the same meaning