#604 start of total rework of redstone RTUs for relay functionalitiy
This commit is contained in:
@@ -132,6 +132,8 @@ local function handle_unit_mount(smem, println_ts, iface, type, device, unit)
|
||||
unit.rtu, faulted = sna_rtu.new(device)
|
||||
elseif unit.type == RTU_UNIT_TYPE.ENV_DETECTOR then
|
||||
unit.rtu, faulted = envd_rtu.new(device)
|
||||
elseif unit.type == RTU_UNIT_TYPE.REDSTONE then
|
||||
unit.rtu.change_phy(device)
|
||||
else
|
||||
unknown = true
|
||||
log.error(util.c("failed to identify reconnected RTU unit type (", unit.name, ")"), true)
|
||||
|
||||
Reference in New Issue
Block a user