J4 ›› 2011, Vol. 33 ›› Issue (7): 167-171.
宋志强1,2,山磊3
SONG Zhiqiang1,2,SHAN Lei3
摘要:
本文设计并实现了一种集中控制型预付式保管箱系统,系统由工控机、硬币机、纸币机、下位机、电源等组成。主机由工控机代替了传统的单片机和液晶屏构成的系统,实现了与下位机相关的通信协议,分析了与纸币机相关的通信协议以及软件开发中的编程要点,主机软件采用C++ Builder 6 开发,实现了快速开发。数据库采用InterBase 6.5,相比SQL Server、Oracle等大型数据库,降低了系统的成本。重点介绍了用户界面、通信、系统设置、信息记录、广告等模块。为保证系统找零的准确性,提出了基于本系统的找零算法。通过用户实际应用,验证了所设计的系统是稳定且可靠的,能满足用户需求。