安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






The override functions are for the interior button panel so that you can lock and unlock the door from the secure side (e.g.: the inside of a vault).
There's a video attached above that shows the buttons on the other side of a door frame being used.
Also, there's a MK2 version , which might have better instructions, or better node descriptions.
Instead of a reset button, there is a backspace button. When the controller is in its unlock state, the keypad disappears and a "lock" button appears.
The dimensions and nodes are identical, however making it possible to quickly swap out a MK1 with a MK2 without any rewiring.
Pretty sure I used my Single Hinged Door Microcontroller to control the door.
The default code is 0-0-0-0 if I remember correctly. Check the microcontroller's configuration after placing a new one.
I'll look into that though...... at some point.
To shorten the code, could you not have stored the access code and current input as two strings or integers. After each keypress, you could append to the current input by *10 and adding the pressed key, or using the ".." operator if you are using strings. You can also use the "#" operator before a string variable to return the length of the string.
When you press the enter key, you simply compare the two variables rather than comparing eight. This would mean that the access code can be as many or few digits as you want.
Your code is very good and I am not trying to criticise it in any way: I'm just trying to help.
Can I have steps to reproduce the bugs? Like what the PIN code is set to, and what buttons you are pressing when the error/bug occurs?
Scenario A: You enter all four digits and press the green button.
Scenario B: You press the override button on the instrument panel.
If the display flashes red, then you have entered an invalid code. If it flashes green, then you've entered the correct code and the door should open (assuming the door is connected correctly).
where is the or gate