#219 properly close out GUI on error on pocket and coordinator
This commit is contained in:
@@ -33,7 +33,7 @@ local UNIT_TYPE_LABELS = {
|
||||
|
||||
|
||||
-- create new main view
|
||||
---@param panel table main displaybox
|
||||
---@param panel graphics_element main displaybox
|
||||
---@param units table unit list
|
||||
local function init(panel, units)
|
||||
TextBox{parent=panel,y=1,text="RTU GATEWAY",alignment=TEXT_ALIGN.CENTER,height=1,fg_bg=style.header}
|
||||
@@ -116,8 +116,6 @@ local function init(panel, units)
|
||||
local for_unit = util.trinary(unit.reactor == 0, "\x1a FACIL ", "\x1a UNIT " .. unit.reactor)
|
||||
TextBox{parent=unit_hw_statuses,y=i,x=19,text=for_unit,height=1,fg_bg=cpair(colors.lightGray,colors.ivory)}
|
||||
end
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return init
|
||||
|
||||
@@ -28,7 +28,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 = "v1.0.2"
|
||||
local RTU_VERSION = "v1.0.3"
|
||||
|
||||
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
|
||||
local RTU_UNIT_HW_STATE = databus.RTU_UNIT_HW_STATE
|
||||
|
||||
Reference in New Issue
Block a user