源码简介: |
基于UML的汽车安全带提示控制系统建模.设计要求:若未系安全带,亮红灯提示;车辆行驶速度小于10km/h,红灯不闪烁,蜂鸣器不发声;大于10km/h,红灯闪烁,蜂鸣器发声,但是行驶时间超过5分钟,则蜂鸣器停止发声,红灯亮,不闪烁。倒车时,红灯灭系上安全带,红灯灭-UML-based control system modeling of vehicle seat belt tips. Design requirements: If you do not wear seat belts, red tips vehicle speed is less than 10km/h, the red light does not flash, the buzzer does not sound than 10km/h, red light flashes, the buzzer sound, but more than 5 minutes driving time, the buzzer sound stops, the red light, not blinking. Reversing turned off, wear seat belts, red light off
|