Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 public sconnGlobalConfig(ipcSiteConfig cfg) : this()
 {
     this.memCFG = cfg.globalConfig.memCFG;
 }
Ejemplo n.º 3
0
 public sconnUserConfig(ipcSiteConfig cfg) : this()
 {
     this.Deserialize(cfg.UserConfig);
 }
Ejemplo n.º 4
0
 public sconnOutputConfig(ipcSiteConfig cfg) : this()
 {
 }
Ejemplo n.º 5
0
 public sconnAlarmZoneConfig(ipcSiteConfig cfg) : this()
 {
     this.Deserialize(cfg.globalConfig.memCFG);
     this.LoadNames(cfg.ZoneNames);
 }
Ejemplo n.º 6
0
 public sconnAlarmSystem(ipcSiteConfig cfg) : this()
 {
     legacySiteConfig = cfg;
     ReloadConfig();
 }
Ejemplo n.º 7
0
 public sconnRelayConfig(ipcSiteConfig cfg) : this()
 {
 }