Admin
6 天以前 bd6818fc9d40f343547bafca0743658f3c0379dc
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WIDESEA_Common.CutomerModel;
using WIDESEA_Core.Filters;
using WIDESEA_Core.Utilities;
using WIDESEA_Entity.DomainModels;
using WIDESEA_Services.Services;
using WIDESEA_Services.Services.VueMonitorServices;
using WIDESEA_WCS;
namespace WIDESEA_WCSServer.Controllers.ToVueMonitor
{
    [Route("api/ToVueMonitor")]
    [ApiController]
    public class ToVueMonitorController : ControllerBase
    {
 
        /// <summary>
        /// 给前端监控页面提供数据
        /// </summary>
        [HttpPost, Route("AllStationData"), AllowAnonymous]
        public WebResponseContent AllStationData()
        {
            return VueMonitorService.AllStationData();
        }
 
 
 
        /// <summary>
        /// 将组盘工位获取到的RFID值,返回给PDA,用于组盘
        /// </summary>
        [HttpPost, Route("GetBoxingRfidValue"), AllowAnonymous]
        public WebResponseContent GetBoxingRfidValue()
        {
            return WCSService.GetBoxingRfidValue();
        }
 
 
        
 
    }
}