fixes for control app data updating

This commit is contained in:
Mikayla Fischler
2024-10-03 22:56:38 -04:00
parent 60c4cc2f80
commit 6a04354964
7 changed files with 84 additions and 75 deletions

View File

@@ -219,7 +219,7 @@ function iocontrol.init(conf, comms, temp_scale, energy_scale)
annunciator = {}, ---@type annunciator
unit_ps = psil.create(),
reactor_data = {}, ---@type reactor_db
reactor_data = types.new_reactor_db(),
boiler_ps_tbl = {}, ---@type psil[]
boiler_data_tbl = {}, ---@type boilerv_session_db[]

View File

@@ -256,8 +256,9 @@ function pocket.new_session(id, s_addr, i_seq_num, in_queue, out_queue, timeout)
u.a_group
}
_send(CRDN_TYPE.API_GET_CTRL, data)
end
_send(CRDN_TYPE.API_GET_CTRL, data)
else
log.debug(log_tag .. "handler received unsupported CRDN packet type " .. pkt.type)
end