官术网_书友最值得收藏!

State machine diagrams

State machine diagrams are used to visually describe a system's behavior. The key components of these diagrams include states and transitions. The sample state machine provided in the following diagram is for a bank vault. The solid circle is the initial pseudo state and indicates entry into the system. There are four states—Wait, Unlock, Enable, and Vault

In our bank vault example, the vault is enabled when two bank managers place their thumb on a thumbprint scanner. The vault is unlocked, contingent on a successful thumbprint scan, by entering the correct combination. When these conditions are met, the Vault state is reached and the managers can enter it:

State diagram for bank vault
主站蜘蛛池模板: 城固县| 武胜县| 太湖县| 康平县| 温宿县| 奉新县| 象州县| 灵寿县| 当阳市| 巍山| 永吉县| 白山市| 湖北省| 宜兰县| 天台县| 麻江县| 吴川市| 元阳县| 集贤县| 凤阳县| 瑞昌市| 东至县| 广丰县| 锦州市| 正定县| 平昌县| 河间市| 大姚县| 获嘉县| 大冶市| 铁岭市| 崇义县| 博客| 东乡| 万载县| 陕西省| 津市市| 东乌珠穆沁旗| 南召县| 邢台县| 凤阳县|