public sconnEventConfig(ipcSiteConfig cfg) { try { Events = new List <sconnEvent>(); if (cfg.events != null) { foreach (var ev in cfg.events) { sconnEvent nevent = new sconnEvent(ev.Buffer); Events.Add(nevent); } } } catch (Exception e) { _logger.Error(e, e.Message); } }
public sconnGlobalConfig(ipcSiteConfig cfg) : this() { this.memCFG = cfg.globalConfig.memCFG; }
public sconnUserConfig(ipcSiteConfig cfg) : this() { this.Deserialize(cfg.UserConfig); }
public sconnOutputConfig(ipcSiteConfig cfg) : this() { }
public sconnAlarmZoneConfig(ipcSiteConfig cfg) : this() { this.Deserialize(cfg.globalConfig.memCFG); this.LoadNames(cfg.ZoneNames); }
public sconnAlarmSystem(ipcSiteConfig cfg) : this() { legacySiteConfig = cfg; ReloadConfig(); }
public sconnRelayConfig(ipcSiteConfig cfg) : this() { }