public List <sconnAlarmZone> GetAll()
 {
     if (Online)
     {
         EntityManager.Download();
     }
     return(ConfigManager.Config.ZoneConfig.Zones.ToList());
 }
Пример #2
0
 public List <sconnAuthorizedDevice> GetAll()
 {
     if (Online)
     {
         EntityManager.Download();
     }
     return(ConfigManager.Config.AuthorizedDevices.Devices.ToList());
 }
Пример #3
0
 public List <sconnUser> GetAll()
 {
     if (Online)
     {
         EntityManager.Download();
     }
     return(ConfigManager.Config.UserConfig.Users.ToList());
 }
Пример #4
0
 public List <sconnGsmRcpt> GetAll()
 {
     if (Online)
     {
         EntityManager.Download();
     }
     return(ConfigManager.Config.GsmConfig.Rcpts.ToList());
 }
Пример #5
0
 public sconnDevice Get()
 {
     if (Online)
     {
         EntityManager.Download();
     }
     return(ConfigManager.Config.DeviceConfig.Device);
 }
Пример #6
0
 public sconnGlobalConfig Get()
 {
     if (Online)
     {
         EntityManager.Download();
     }
     return(ConfigManager.Config.GlobalConfig);
 }
        private void LoadDeviceConfigs()
        {
            sconnGlobalConfig glob = new sconnGlobalConfig();
            AlarmGenericConfigManager <sconnGlobalConfig> gbman = new AlarmGenericConfigManager <sconnGlobalConfig>(glob, ConfigManager.RemoteDevice);

            gbman.Download();
            DeviceNo = glob.Devices;

            DeviceConfigs = new List <sconnDevice>();
            for (int i = 0; i < DeviceNo; i++)
            {
                sconnDeviceConfig dev = new sconnDeviceConfig();
                AlarmGenericConfigManager <sconnDeviceConfig> dman = new AlarmGenericConfigManager <sconnDeviceConfig>(dev, ConfigManager.RemoteDevice, i);
                dman.Download();
                DeviceConfigs.Add(dev.Device);
            }
        }
Пример #8
0
 public List <sconnEvent> GetAll()
 {
     EntityManager.Download();
     return(ConfigManager.Config.EventConfig.Events.ToList());
 }