#329 disable reactor rather than trip on auto control stop
This commit is contained in:
@@ -645,6 +645,13 @@ function unit.new(reactor_id, num_boilers, num_turbines)
|
||||
-- OPERATIONS --
|
||||
--#region
|
||||
|
||||
-- queue a command to disable the reactor
|
||||
function public.disable()
|
||||
if self.plc_s ~= nil then
|
||||
self.plc_s.in_queue.push_command(PLC_S_CMDS.DISABLE)
|
||||
end
|
||||
end
|
||||
|
||||
-- queue a command to SCRAM the reactor
|
||||
function public.scram()
|
||||
if self.plc_s ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user