示例#1
0
 public sconnAlarmSystem()
 {
     AuthorizedDevices = new sconnAuthorizedDevices();
     DeviceConfig      = new sconnDeviceConfig();
     EventConfig       = new sconnEventConfig();
     GlobalConfig      = new sconnGlobalConfig();
     GsmConfig         = new sconnGsmConfig();
     ZoneConfig        = new sconnAlarmZoneConfig();
     UserConfig        = new sconnUserConfig();
     InputConfig       = new sconnInputConfig();
     OutputConfig      = new sconnOutputConfig();
     RelayConfig       = new sconnRelayConfig();
 }
示例#2
0
        public void ReloadConfig()
        {
            AuthorizedDevices = new sconnAuthorizedDevices(legacySiteConfig);
            //  DeviceConfig = new sconnDeviceConfig(legacySiteConfig);
            EventConfig  = new sconnEventConfig(legacySiteConfig);
            GlobalConfig = new sconnGlobalConfig(legacySiteConfig);
            GsmConfig    = new sconnGsmConfig(legacySiteConfig);
            ZoneConfig   = new sconnAlarmZoneConfig(legacySiteConfig);
            UserConfig   = new sconnUserConfig(legacySiteConfig);

            InputConfig  = new sconnInputConfig(legacySiteConfig);
            OutputConfig = new sconnOutputConfig(legacySiteConfig);
            RelayConfig  = new sconnRelayConfig(legacySiteConfig);
        }