-- ======================
-- Description
-- ======================
--
-- strubs for missing functions
--
-- ======================
-- ChangeLog
-- ======================
-- 2024-05-11 ver 1.0.0
--
-- # First release
--
-- Atrapa dla zmiennej LOGIC_SUBTYPE, aby uniknąć błędów w Intellisense
if not LOGIC_SUBTYPE then
LOGIC_SUBTYPE = "LOGIC_SUBTYPE"
end
-- Atrapa dla zmiennej LOGIC_SUBVERSION, aby uniknąć błędów w Intellisense
if not LOGIC_SUBVERSION then
LOGIC_SUBVERSION = "1.0.0"
end
-- Atrapa dla zmiennej LOGIC_INSTANCE_NAME, aby uniknąć błędów w Intellisense
if not LOGIC_INSTANCE_NAME then
LOGIC_INSTANCE_NAME = "INSTANCE_NAME"
end
-- Atrapa dla zmiennej LOGIC_VERSION, aby uniknąć błędów w Intellisense
if not LOGIC_VERSION then
LOGIC_VERSION = "1.0.0"
end
-- Atrapa dla zmiennej LOGIC_TYPE, aby uniknąć błędów w Intellisense
if not LOGIC_TYPE then
LOGIC_TYPE = "LOGIC_TYPE"
end
-- Atrapa dla LogLevel, aby uniknąć błędów w Intellisense
if not LogLevel then
LogLevel = {
Error = "Error",
Warning = "Warning",
Info = "Info",
Debug = "Debug"
}
end
-- Atrapa dla funkcji setLogicValue, aby uniknąć błędów w Intellisense
if not setLogicValue then
function setLogicValue(name, value)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end
-- Atrapa dla funkcji getLogicValue, aby uniknąć błędów w Intellisense
if not getLogicValue then
function getLogicValue(name)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
return 0
end
end
-- Atrapa dla funkcji getValue, aby uniknąć błędów w Intellisense
if not getValue then
function getValue(name)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
return 0
end
end
-- Atrapa dla funkcji getVarList, aby uniknąć błędów w Intellisense
if not getVarList then
function getVarList(name)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end
-- Atrapa dla funkcji setValue, aby uniknąć błędów w Intellisense
if not setValue then
function setValue(name, value)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end
-- Atrapa dla funkcji log, aby uniknąć błędów w Intellisense
if not log then
function log(logLevel, message)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end
-- Atrapa dla funkcji getKvSettings, aby uniknąć błędów w Intellisense
if not getKvSettings then
function getKvSettings()
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end
-- Atrapa dla funkcji scheduleAlert, aby uniknąć błędów w Intellisense
if not scheduleAlert then
function scheduleAlert(alert)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end
-- Atrapa dla funkcji cancelAlert, aby uniknąć błędów w Intellisense
if not cancelAlert then
function cancelAlert(alert)
-- Pusta implementacja: w docelowym środowisku funkcja istnieje
end
end