package com.ningdatech.carapi.schedule;

import java.util.List;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.fastjson.JSON;
import com.ningdatech.carapi.AppTests;
import com.ningdatech.carapi.scheduler.model.dto.VehicleStatusDTO;
import com.ningdatech.carapi.scheduler.service.VehicleStatusService;

/**
 * @Classname VehicleStatus
 * @Description
 * @Date 2022/12/1 17:54
 * @Created by PoffyZhang
 */
public class VehicleStatus extends AppTests {
    
    @Autowired
    private VehicleStatusService vehicleStatusService;
    
    @Test
    public void task(){
        List<VehicleStatusDTO> vehicleStatusInGps = vehicleStatusService.getVehicleStatusInGps();
        System.out.println(JSON.toJSONString(vehicleStatusInGps));
    }
}
