package com.gyee.edge.loader.service;

import com.gyee.edge.loader.data.TsPointData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SqlService {
    @Autowired
    protected RemoteServiceBuilder remoteServiceBuilder;
    public void saveDataSnaps(List<TsPointData> tsDataList) {

        remoteServiceBuilder.writeDataService().saveTspointDatas(tsDataList);
    }
}
