dock:: fix SetState failed.

reason:
cannot using self defined type as arguments on dbus method.

Change-Id: I4a1ef5127b537d92d53330b4c122609caaa8564d