mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
#504 fixed reactor idle status on pocket display
This commit is contained in:
parent
2bc20ec312
commit
bc76c01aa5
@ -523,7 +523,10 @@ function iocontrol.record_unit_data(data)
|
|||||||
reactor_state = 6 -- SCRAM
|
reactor_state = 6 -- SCRAM
|
||||||
rps_status = 2
|
rps_status = 2
|
||||||
end
|
end
|
||||||
else rps_status = 4 end
|
else
|
||||||
|
rps_status = 4
|
||||||
|
reactor_state = 4
|
||||||
|
end
|
||||||
|
|
||||||
-- update reactor/control status
|
-- update reactor/control status
|
||||||
if unit.reactor_data.mek_status.status then
|
if unit.reactor_data.mek_status.status then
|
||||||
|
@ -20,7 +20,7 @@ local pocket = require("pocket.pocket")
|
|||||||
local renderer = require("pocket.renderer")
|
local renderer = require("pocket.renderer")
|
||||||
local threads = require("pocket.threads")
|
local threads = require("pocket.threads")
|
||||||
|
|
||||||
local POCKET_VERSION = "v0.10.0-alpha"
|
local POCKET_VERSION = "v0.10.1-alpha"
|
||||||
|
|
||||||
local println = util.println
|
local println = util.println
|
||||||
local println_ts = util.println_ts
|
local println_ts = util.println_ts
|
||||||
|
Loading…
Reference in New Issue
Block a user