huanghongfeng
2025-04-22 3c75ba788897a524771bfde12feddcc94aaf14c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using AutoMapper.Configuration.Annotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Common;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO;
using WIDESEA_IStoragIntegrationServices;
 
namespace WIDESEA_WMSServer.Controllers;
 
[Route("api/[controller]")]
[ApiController]
public class ToZYController : Controller
{
    private readonly IToZYService _ZYService;
    private readonly IHttpContextAccessor _httpContextAccessor;
 
    public ToZYController(IToZYService ZYService, IHttpContextAccessor httpContextAccessor)
    {
        _httpContextAccessor = httpContextAccessor; 
        _ZYService = ZYService;
    }
 
 
    /// <summary>
    /// 获取车轮信息
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    [HttpPost, Route("ZY_GetCLInfo"), AllowAnonymous]
    public object RequsetCellInfo([FromBody] SaveModel input)
    {
        return _ZYService.ZY_GetCLInfo(input);
    }
 
    /// <summary>
    /// 获取制动盘信息
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    [HttpPost, Route("getZDPInfo"), AllowAnonymous]
    public object getZDPInfo([FromBody] SaveModel input)
    {
        return _ZYService.getZDPInfo(input);
    }
 
    /// <summary>
    /// 获取制动盘信息
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    [HttpPost, Route("getCZInfo"), AllowAnonymous]
    public object getCZInfo([FromBody] SaveModel input)
    {
        return _ZYService.getCZInfo(input);
    }
}