add struct array

add struct array
add assign variable from command.

Signed-off-by: Lindell Xu <lxu@vetronicsltd.com.cn>