#353 fixed auto lock not restoring on reconnect

This commit is contained in:
Mikayla Fischler
2023-10-14 17:57:50 -04:00
parent f95ac8be8c
commit 24c787f47d
4 changed files with 11 additions and 7 deletions

View File

@@ -590,6 +590,9 @@ function plc.new_session(id, s_addr, reactor_id, in_queue, out_queue, timeout, f
end
end
-- check if the auto lock is active
function public.is_auto_locked() return self.auto_lock end
-- set the burn rate on behalf of automatic control
---@param rate number burn rate
---@param ramp boolean true to ramp, false to not