diagnostic disables
This commit is contained in:
parent
e54ecf43ed
commit
49b545ba2c
@ -224,6 +224,7 @@ function iocontrol.init(conf, comms, temp_scale, energy_scale)
|
||||
ALARM_STATE.INACTIVE -- turbine trip
|
||||
},
|
||||
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
annunciator = {}, ---@type annunciator
|
||||
|
||||
unit_ps = psil.create(),
|
||||
@ -366,6 +367,7 @@ local function _record_multiblock_build(id, entry, data_tbl, ps_tbl, create)
|
||||
if exists or create then
|
||||
if not exists then
|
||||
ps_tbl[id] = psil.create()
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
data_tbl[id] = {}
|
||||
end
|
||||
|
||||
@ -1085,6 +1087,7 @@ function iocontrol.update_unit_statuses(statuses)
|
||||
unit.annunciator = status[3]
|
||||
|
||||
if type(unit.annunciator) ~= "table" then
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
unit.annunciator = {}
|
||||
log.debug(log_header .. "annunciator state not a table")
|
||||
valid = false
|
||||
|
||||
@ -286,6 +286,7 @@ function process.create_handle()
|
||||
handle.unit_ack = {}
|
||||
|
||||
for u = 1, pctl.io.facility.num_units do
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
handle.unit_ack[u] = {}
|
||||
|
||||
---@class process_unit_ack
|
||||
|
||||
@ -241,6 +241,7 @@ function iocontrol.init_fac(conf)
|
||||
---@type { [ALARM]: ALARM_STATE }
|
||||
alarms = { ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE, ALARM_STATE.INACTIVE },
|
||||
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
annunciator = {}, ---@type annunciator
|
||||
|
||||
unit_ps = psil.create(),
|
||||
|
||||
@ -29,6 +29,7 @@ pocket.MQ__RENDER_CMD = MQ__RENDER_CMD
|
||||
pocket.MQ__RENDER_DATA = MQ__RENDER_DATA
|
||||
|
||||
---@type pkt_config
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
local config = {}
|
||||
|
||||
pocket.config = config
|
||||
|
||||
@ -29,6 +29,7 @@ local PCALL_SCRAM_MSG = "Scram requires the reactor to be active."
|
||||
local PCALL_START_MSG = "Reactor is already active."
|
||||
|
||||
---@type plc_config
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
local config = {}
|
||||
|
||||
plc.config = config
|
||||
|
||||
@ -19,6 +19,7 @@ local MGMT_TYPE = comms.MGMT_TYPE
|
||||
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
|
||||
|
||||
---@type rtu_config
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
local config = {}
|
||||
|
||||
rtu.config = config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user