$moduleManager->VersionHandler()->CheckModuleVersion('IPS','2.50'); $moduleManager->VersionHandler()->CheckModuleVersion('IPSModuleManager','2.50.2'); IPSUtils_Include ("IPSInstaller.inc.php", "IPSLibrary::install::IPSInstaller"); IPSUtils_Include ("IPSLogger_Configuration.inc.php", "IPSLibrary::config::core::IPSLogger"); $WFC10_Enabled = $moduleManager->GetConfigValue('Enabled', 'WFC10'); $WFC10_ConfigId = $moduleManager->GetConfigValueIntDef('ID', 'WFC10', GetWFCIdDefault()); $WFC10_Path = $moduleManager->GetConfigValue('Path', 'WFC10'); $WFC10_TabPaneItem = $moduleManager->GetConfigValue('TabPaneItem', 'WFC10'); $WFC10_TabPaneParent = $moduleManager->GetConfigValue('TabPaneParent', 'WFC10'); $WFC10_TabPaneName = $moduleManager->GetConfigValue('TabPaneName', 'WFC10'); $WFC10_TabPaneOrder = $moduleManager->GetConfigValueInt('TabPaneOrder', 'WFC10'); $WFC10_TabPaneIcon = $moduleManager->GetConfigValue('TabPaneIcon', 'WFC10'); $WFC10_TabPaneExclusive = $moduleManager->GetConfigValueBoolDef('TabPaneExclusive', 'WFC10', false); $WFC10_TabItem1 = $moduleManager->GetConfigValue('TabItem1', 'WFC10'); $WFC10_TabName1 = $moduleManager->GetConfigValue('TabName1', 'WFC10'); $WFC10_TabIcon1 = $moduleManager->GetConfigValue('TabIcon1', 'WFC10'); $WFC10_TabOrder1 = $moduleManager->GetConfigValueInt('TabOrder1', 'WFC10'); $WFC10_TabItem2 = $moduleManager->GetConfigValue('TabItem2', 'WFC10'); $WFC10_TabName2 = $moduleManager->GetConfigValue('TabName2', 'WFC10'); $WFC10_TabIcon2 = $moduleManager->GetConfigValue('TabIcon2', 'WFC10'); $WFC10_TabOrder2 = $moduleManager->GetConfigValueInt('TabOrder2', 'WFC10'); $Mobile_Enabled = $moduleManager->GetConfigValue('Enabled', 'Mobile'); $Mobile_Path = $moduleManager->GetConfigValue('Path', 'Mobile'); $Mobile_PathOrder = $moduleManager->GetConfigValueInt('PathOrder', 'Mobile'); $Mobile_PathIcon = $moduleManager->GetConfigValue('PathIcon', 'Mobile'); $Mobile_Name1 = $moduleManager->GetConfigValue('Name1', 'Mobile');
} $moduleManager->VersionHandler()->CheckModuleVersion('IPS','2.50'); $moduleManager->VersionHandler()->CheckModuleVersion('IPSLogger','2.50.1'); $moduleManager->VersionHandler()->CheckModuleVersion('IPSModuleManager','2.50.1'); IPSUtils_Include ("IPSInstaller.inc.php", "IPSLibrary::install::IPSInstaller"); IPSUtils_Include ("IPSEDIP_Constants.inc.php", "IPSLibrary::app::hardware::IPSEDIP"); IPSUtils_Include ("IPSEDIP_Configuration.inc.php", "IPSLibrary::config::hardware::IPSEDIP"); $AppPath = "Program.IPSLibrary.app.hardware.IPSEDIP"; $DataPath = "Program.IPSLibrary.data.hardware.IPSEDIP"; $ConfigPath = "Program.IPSLibrary.config.hardware.IPSEDIP"; $HardwarePath = "Hardware.EDIP"; $IgnoreIOPortInstanceError = $moduleManager->GetConfigValueBoolDef('IgnoreIOPortInstanceError', '', true); /* ---------------------------------------------------------------------- */ /* EDIP Program Installation */ /* ---------------------------------------------------------------------- */ $CategoryIdData = CreateCategoryPath($DataPath); $CategoryIdApp = CreateCategoryPath($AppPath); $CategoryIdHW = CreateCategoryPath($HardwarePath); $id_ScriptTimer = IPS_GetScriptIDByName('IPSEDIP_Timer', $CategoryIdApp); $id_ScriptEvent = IPS_GetScriptIDByName('IPSEDIP_Event', $CategoryIdApp); $id_ScriptReceive = IPS_GetScriptIDByName('IPSEDIP_Receive', $CategoryIdApp); foreach (IPSEDIP_GetConfiguration() as $configItem=>$configData) {