摘要
电梯的运行模拟,是计算机控制教学中的重要素材。模拟方法主要分为硬件模拟和软件模拟,硬件模拟是以单片机为核心,辅以相关硬件和控制程序来实现;软件模拟则是以软件全程模拟电梯系统,包括用户界面和电梯的控制。文中主要探讨了在VC环境下,实现软件模拟电梯运行的算法设计和程序实现,实验证明,堆栈和多线程技术是软件模拟电梯运行的有力工具。
The simulation of elevator running is an important teaching material in computer control, which is classfied as hardware simulation and software simulation. Hardware simulation is realized with SCM,assistant hardware and control program, Moreover, software simulation means that simulate the whole elevator system including UI and elevator control in pure software environment. This article mainly discussed the algorithm design and the rnethod of programming on simulating elevator running,using stack as data structure, VC as developing phtform. Experimental result indicates that stack and multithreading are effectual in software simulation of elevator running.
出处
《计算机技术与发展》
2006年第8期155-156,159,共3页
Computer Technology and Development
关键词
模拟电梯运行
堆栈
多线程
simulatiingg elevator rtmning
staek
multithreading