package com.aucma.dms.controller;

import com.aucma.common.core.controller.BaseController;
import com.aucma.common.core.domain.AjaxResult;
import com.aucma.dms.domain.vo.ModelBoardVo;
import com.aucma.dms.service.IModelInterfacesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;



/**
 * AGV位移状态Controller
 *
 * @author Yinq
 * @date 2024-08-21
 */
@RestController
@RequestMapping("/dms/model")
public class modelInterfacesController extends BaseController {

    @Autowired
    private IModelInterfacesService modelInterfacesService;

    /**
     * 查询AGV设备状态列表
     * @param modelBoardVo
     * @return
     */
    @GetMapping("/getAgvDeviceStatus")
    public AjaxResult getAgvDeviceStatus(ModelBoardVo modelBoardVo) {
        HashMap<String, Object> result = modelInterfacesService.getAgvDeviceStatus(modelBoardVo);
        return success(result);
    }


}
