mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
#78 functional reactor stats on main view
This commit is contained in:
parent
397e311f1b
commit
117784500a
@ -153,10 +153,18 @@ function database.update_statuses(statuses)
|
|||||||
end
|
end
|
||||||
|
|
||||||
for key, val in pairs(unit.reactor_data) do
|
for key, val in pairs(unit.reactor_data) do
|
||||||
if key ~= "mek_struct" then
|
if key ~= "rps_status" and key ~= "mek_struct" and key ~= "mek_status" then
|
||||||
unit.reactor_ps.publish(key, val)
|
unit.reactor_ps.publish(key, val)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for key, val in pairs(unit.reactor_data.rps_status) do
|
||||||
|
unit.reactor_ps.publish(key, val)
|
||||||
|
end
|
||||||
|
|
||||||
|
for key, val in pairs(unit.reactor_data.mek_status) do
|
||||||
|
unit.reactor_ps.publish(key, val)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- RTU statuses
|
-- RTU statuses
|
||||||
|
@ -16,7 +16,7 @@ local config = require("coordinator.config")
|
|||||||
local coordinator = require("coordinator.coordinator")
|
local coordinator = require("coordinator.coordinator")
|
||||||
local renderer = require("coordinator.renderer")
|
local renderer = require("coordinator.renderer")
|
||||||
|
|
||||||
local COORDINATOR_VERSION = "alpha-v0.4.4"
|
local COORDINATOR_VERSION = "alpha-v0.4.5"
|
||||||
|
|
||||||
local print = util.print
|
local print = util.print
|
||||||
local println = util.println
|
local println = util.println
|
||||||
|
Loading…
Reference in New Issue
Block a user