鼠标单击开关切换开合状态
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-16-cat-circuit-with-gate.txt
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-17-cat-circuit-integrated.txt
注: 没有设置输入, 读者可自行添加逻辑输入或模拟电源及开关组合
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-18-cat-selection-circuit.txt