节点文献

状态模式在自动售票机中的应用

State pattern design in automatic vending machine

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 陆斌牛国柱

【Author】 LU Bin1,NIU Guo-zhu2(1.Nanjing Panda Information Industry Company Limited,Nanjing 210002,China; 2.School of Mechanical Engineering,Nanjing University of Science & Technology,Nanjing 210094,China)

【机构】 南京熊猫信息产业有限公司南京理工大学机械工程学院

【摘要】 首先分析了自动售票机的功能,并给出了自动售票机的状态转换图。然后以模块化设计方法编写了实现状态转换图的程序代码,并分析了该方法的不足,引出了状态模式设计方法,并设计了相应的程序,最后就状态模式方法做了总结。

【Abstract】 The function of automatic vending machine is analyzed in this paper.The state transition diagram is given and program code is developed based on the modular design method.Then state pattern design method is applied to design corresponding program and a case study is given.

【关键词】 轨道交通自动售票机状态模式
【Key words】 rail transportTVMstate pattern
  • 【文献出处】 信息技术 ,Information Technology , 编辑部邮箱 ,2013年01期
  • 【分类号】TP311.52
  • 【被引频次】3
  • 【下载频次】76
节点文献中: 

本文链接的文献网络图示:

本文的引文网络