Пример #1
0
        protected void configServiceRemovedSink(CpConfigService _configService)
        {
            this.writeLog(LogType.Info, String.Format("ConfigService'{0}' verloren", _configService.FriendlyName));

            if (_configService.FriendlyName != raumfeldConfigServiceDeviceName)
                return;

            configService = null;
            if (configServiceRemoved != null) configServiceRemoved();
        }
Пример #2
0
        protected void configServiceFoundSink(CpConfigService _configService)
        {
            this.writeLog(LogType.Info, String.Format("ConfigService'{0}' gefunden", _configService.FriendlyName));

            if (_configService.FriendlyName != raumfeldConfigServiceDeviceName)
                return;

            configService = _configService;
            configService.onZoneSetupChanged += configService_onZoneSetupChanged;
            if (configServiceFound != null) configServiceFound();
        }
Пример #3
0
 protected void configService_onZoneSetupChanged(CpConfigService _configService)
 {
     if (zoneSetupChanged != null) zoneSetupChanged();
 }
Пример #4
0
 protected void ConfigServiceRemovedSink(CpConfigService _configService)
 {
     if (onConfigServiceRemoved != null) this.onConfigServiceRemoved(_configService);
 }
Пример #5
0
 protected void ConfigServiceFoundSink(CpConfigService _configService)
 {
     if (onConfigServiceFound != null) this.onConfigServiceFound(_configService);
 }