package com.usky.eg.controller.api;

import com.usky.eg.RemoteEgService;
import com.usky.eg.service.EgDeviceHeartbeatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ServiceEgTaskApi implements RemoteEgService {
    @Autowired
    private EgDeviceHeartbeatService egDeviceHeartbeatService;

    @Override
    public void egDeviceStatus(){
        egDeviceHeartbeatService.updateEgDeviceStatus();
    }
}
