绿色版利用命令模式 创建。
参考:
1. http://www.jb51.net/article/103595.htm
2. http://www.cnblogs.com/goldlone/p/7071715.html