work on pocket, bumped comms version for PR
This commit is contained in:
@@ -349,8 +349,8 @@ function pocket.comms(version, nic, sv_watchdog, api_watchdog)
|
|||||||
-- get configuration
|
-- get configuration
|
||||||
local conf = { num_units = fac_config[1], cooling = fac_config[2] }
|
local conf = { num_units = fac_config[1], cooling = fac_config[2] }
|
||||||
|
|
||||||
---@todo
|
---@todo unit options
|
||||||
iocontrol.init_fac(conf, public, 0)
|
iocontrol.init_fac(conf, public, 1)
|
||||||
|
|
||||||
log.info("coordinator connection established")
|
log.info("coordinator connection established")
|
||||||
self.establish_delay_counter = 0
|
self.establish_delay_counter = 0
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ local function init(main)
|
|||||||
local page_div = Div{parent=main_pane,x=4,y=1}
|
local page_div = Div{parent=main_pane,x=4,y=1}
|
||||||
|
|
||||||
local sidebar_tabs = {
|
local sidebar_tabs = {
|
||||||
{ char = "#", color = cpair(colors.black,colors.green) }
|
{ char = "#", color = cpair(colors.black, colors.green) }
|
||||||
}
|
}
|
||||||
|
|
||||||
home_page(page_div)
|
home_page(page_div)
|
||||||
|
|||||||
@@ -21,7 +21,9 @@ local function new_view(root)
|
|||||||
local app = db.nav.register_app(iocontrol.APP_ID.UNITS, main)
|
local app = db.nav.register_app(iocontrol.APP_ID.UNITS, main)
|
||||||
app.new_page(nil, function () end)
|
app.new_page(nil, function () end)
|
||||||
|
|
||||||
TextBox{parent=main,text="UNITS",x=1,y=1,height=1,alignment=ALIGN.CENTER}
|
TextBox{parent=main,y=2,text="UNITS",height=1,alignment=ALIGN.CENTER}
|
||||||
|
|
||||||
|
TextBox{parent=main,y=4,text="work in progress",height=1,alignment=ALIGN.CENTER}
|
||||||
|
|
||||||
return main
|
return main
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ local max_distance = nil
|
|||||||
local comms = {}
|
local comms = {}
|
||||||
|
|
||||||
-- protocol/data versions (protocol/data independent changes tracked by util.lua version)
|
-- protocol/data versions (protocol/data independent changes tracked by util.lua version)
|
||||||
comms.version = "2.4.5"
|
comms.version = "2.5.0"
|
||||||
comms.api_version = "0.0.1"
|
comms.api_version = "0.0.1"
|
||||||
|
|
||||||
---@enum PROTOCOL
|
---@enum PROTOCOL
|
||||||
|
|||||||
Reference in New Issue
Block a user