예제 #1
0
 protected void configService_onZoneSetupChanged(CpConfigService _configService)
 {
     if (zoneSetupChanged != null)
     {
         zoneSetupChanged();
     }
 }
예제 #2
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();
            }
        }
예제 #3
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();
            }
        }