Add the curtain controller function, when open state, if we use close ,
then stop the move, vice versa
	modified:   zbTest.c