mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
#159 fixed RTU facility level redstone linking
This commit is contained in:
parent
c9526ba601
commit
c4f6c1b289
@ -3,7 +3,7 @@
|
||||
"bootloader": "0.2",
|
||||
"comms": "1.3.3",
|
||||
"reactor-plc": "beta-v0.10.11",
|
||||
"rtu": "beta-v0.11.0",
|
||||
"rtu": "beta-v0.11.1",
|
||||
"supervisor": "beta-v0.11.13",
|
||||
"coordinator": "beta-v0.9.16",
|
||||
"pocket": "alpha-v0.0.0"
|
||||
@ -181,7 +181,7 @@
|
||||
"graphics": 99360,
|
||||
"lockbox": 100797,
|
||||
"reactor-plc": 75956,
|
||||
"rtu": 81511,
|
||||
"rtu": 81676,
|
||||
"supervisor": 261745,
|
||||
"coordinator": 180622,
|
||||
"pocket": 335
|
||||
|
@ -25,7 +25,7 @@ local sna_rtu = require("rtu.dev.sna_rtu")
|
||||
local sps_rtu = require("rtu.dev.sps_rtu")
|
||||
local turbinev_rtu = require("rtu.dev.turbinev_rtu")
|
||||
|
||||
local RTU_VERSION = "beta-v0.11.0"
|
||||
local RTU_VERSION = "beta-v0.11.1"
|
||||
|
||||
local rtu_t = types.rtu_t
|
||||
|
||||
@ -131,8 +131,8 @@ local function main()
|
||||
local io_reactor = rtu_redstone[entry_idx].for_reactor ---@type integer
|
||||
|
||||
-- CHECK: reactor ID must be >= to 1
|
||||
if (not util.is_int(io_reactor)) or (io_reactor <= 0) then
|
||||
println(util.c("configure> redstone entry #", entry_idx, " : ", io_reactor, " isn't an integer >= 1"))
|
||||
if (not util.is_int(io_reactor)) or (io_reactor < 0) then
|
||||
println(util.c("configure> redstone entry #", entry_idx, " : ", io_reactor, " isn't an integer >= 0"))
|
||||
return false
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user