package com.tsi.monitoring.schedule;

import com.tsi.monitoring.mapper.section.SectionMapper;
import com.tsi.monitoring.mapper.utis.UtisMapper;
import com.tsi.monitoring.repository.GlobalStatusInfoRepository;
import com.tsi.monitoring.service.SectionService;
import com.tsi.monitoring.service.UtisService;
import com.tsi.monitoring.vo.ProcessStatusVo;
import com.tsi.monitoring.vo.SendRcvHistVo;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;


//@EnableScheduling
//@Service
//@RequiredArgsConstructor
//@Slf4j
public class StatusScheduleHandler {
//    private final UtisService utisService;
//    private final SectionService sectionService;
//
//    @Scheduled(fixedRate = 60000) // 60000ms = 60초
//    public void callLocalCenterLinkInfos() {
//        this.sectionService.setLocalCenterLinkInfo();
//        this.utisService.setProcessStatusValue();
//        this.utisService.setAllProcessStatusValue();
//    }
}
