package com.unissoft.webservice.impl;

import com.chinaitop.depot.intelligent.pushs.service.GrainPushsService;
import com.unissoft.model.ResponseEntity;
import com.unissoft.webservice.GrainTemperatureService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class GrainTemperatureServiceImpl implements GrainTemperatureService {

    @Resource
    private GrainPushsService grainPushsService;

    @Override
    public ResponseEntity uploadGrainTemperatureData(String dataSource, String grainTemperatureData) {
        return grainPushsService.uploadGrainTemperatureData(dataSource,grainTemperatureData);
    }
}
