According to the morphological structure characteristics of plants, the de- velopment mode for component-based virtual plants software was put forward, and the internal structure of plant organs component under this mode were analyzed, thereby, the overall design mode for virtual plants software was given out, and its characteristics were estimated. Compared with traditional development modes of virtual plants software, component-based virtual plants software had significant advantages in code reusing, development efficiency and expansion of software functions.
The aim of the study is to simulate actual operation of an elevator. First, it designed elevator scheduling algorithm for control ing operation of the elevator;second, it simulated elevator operation by the use of object-oriented programming language, in which double buffering technology was used to solve the problem of elevator pictures flicker at refreshing; final y, test correctness and rationality of the system.