File tree Expand file tree Collapse file tree
dConnectDevicePlugin/dConnectDeviceTheta/dConnectDeviceTheta/Classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -614,7 +614,14 @@ + (NSString*)omitParametersFromUri:(NSString*)uri
614614
615615// デバイス管理情報更新
616616- (void ) updateManageServices : (BOOL ) onlineForSet {
617-
617+ // ROI接続中(常時)
618+ // サービス未登録なら登録する
619+ if (![self .serviceProvider service: DPThetaRoiServiceId]) {
620+ DPThetaService *service = [[DPThetaService alloc ] initWithServiceId: DPThetaRoiServiceId plugin: self .plugin];
621+ [service setName: ROI_IMAGE_SERVICE];
622+ [self .serviceProvider addService: service bundle: DPThetaBundle ()];
623+ [service setOnline: YES ];
624+ }
618625 // 実行中に呼び出されたらなにもしないで終了
619626 if (_isUpdateManageServicesRunning) {
620627 return ;
@@ -669,14 +676,7 @@ - (void) updateManageServices: (BOOL) onlineForSet {
669676 }
670677 }
671678
672- // ROI接続中(常時)
673- // サービス未登録なら登録する
674- if (![self .serviceProvider service: DPThetaRoiServiceId]) {
675- DPThetaService *service = [[DPThetaService alloc ] initWithServiceId: DPThetaRoiServiceId plugin: self .plugin];
676- [service setName: ROI_IMAGE_SERVICE];
677- [self .serviceProvider addService: service bundle: DPThetaBundle ()];
678- [service setOnline: YES ];
679- }
679+
680680
681681 _isUpdateManageServicesRunning = NO ;
682682 }
You can’t perform that action at this time.
0 commit comments