单程票发售模块是地铁自动售票机系统功能设计的几大核心模块之一。经过研究CST(单程票发售模块)设备的通信规则,合理地设计CST命令的发送和应答过程,并设计出相关命令分发流程。通过面向接口的设计方法,以动态链接库的形式将该模块代码封装起来。经反复测试,能够在规定时间内完成和各个设备的通信任务,达到了设计要求。%Contectless smart token module is one of the several key modules in the subway ticket vending machine system. This pa-per studies the equipment communication rules of CST ( Contectless smart token module) , reasonably designs the sending and re-sponse process ordered by CST, and the related command distribution process. Using the method of oriented interface design, the code is packaged in the form of dynamic link library. After lots of testing, this module is able to communicate with each equipment and meets the design requirements.
展开▼