陈勇
2026-03-10 fc9cba5f058089887aa7061d2e6b4006b9e04a9a
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
58
59
60
61
62
63
64
65
using LogLibrary.Log;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.BaseRepository;
using WIDESEA_IBusinessesRepository;
using WIDESEA_IServices;
using WIDESEA_IStorageBasicRepository;
using WIDESEA_IStorageOutOrderRepository;
using WIDESEA_IStorageOutOrderServices;
using WIDESEA_IStorageTaskRepository;
using WIDESEA_IStoragIntegrationServices;
using WIDESEA_Repository;
using WIDESEAWCS_BasicInfoRepository;
 
namespace WIDESEA_StoragIntegrationServices
{
    public partial class MESService : IMESService
    {
        private readonly ILocationInfoRepository _locationRepository;
        private readonly IDt_TaskRepository _taskRepository;
        private readonly ISys_ConfigService _configService;
        private readonly IDt_StationManagerRepository _stationManagerRepository;
        private readonly IDt_AreaInfoRepository _areaInfoRepository;
        private readonly IDt_PalletInfoRepository _palletInfoRepository;
        private readonly IDt_PalletStockInfoRepository _palletStockInfoRepository;
        private readonly IDt_OutOrderRepository _OutOrderRepository;
        private readonly LogFactory LogFactory = new LogFactory();
        private readonly IUnitOfWorkManage _unitOfWorkManage;
        private readonly IDt_CarBodyInfoRepository _carBodyRepository;
        private readonly IDt_AssemblyOrderInfoRepository _assemblyOrderInfoRepository;
        private readonly IDt_PaintingOrderInfoRepository _paintingOrderInfoRepository;
        private readonly IVV_StockInfoRepository _VVStockInfoRepository;
        private readonly IDt_MESLockInfoRepository _MESLockInfoRepository;
 
        public MESService(ILocationInfoRepository locationRepository, IDt_TaskRepository taskRepository, ISys_ConfigService configService, IDt_StationManagerRepository stationManagerRepository, IDt_AreaInfoRepository dt_AreaInfoRepository, IDt_PalletInfoRepository palletInfoRepository, IDt_PalletStockInfoRepository palletStockInfoRepository, IDt_OutOrderRepository OutOrderRepository, IUnitOfWorkManage unitOfWorkManage, IDt_CarBodyInfoRepository carBodyRepository, IDt_AssemblyOrderInfoRepository assemblyOrderInfoRepository, IDt_PaintingOrderInfoRepository paintingOrderInfoRepository, IVV_StockInfoRepository VVStockInfoRepository, IDt_MESLockInfoRepository mESLockInfoRepository)
        {
            _locationRepository = locationRepository;
            _taskRepository = taskRepository;
            _configService = configService;
            _stationManagerRepository = stationManagerRepository;
            _areaInfoRepository = dt_AreaInfoRepository;
            _palletInfoRepository = palletInfoRepository;
            _palletStockInfoRepository = palletStockInfoRepository;
            _OutOrderRepository = OutOrderRepository;
            _unitOfWorkManage = unitOfWorkManage;
            _carBodyRepository = carBodyRepository;
            _assemblyOrderInfoRepository = assemblyOrderInfoRepository;
            _paintingOrderInfoRepository = paintingOrderInfoRepository;
            _VVStockInfoRepository = VVStockInfoRepository;
            _MESLockInfoRepository = mESLockInfoRepository;
        }
 
 
        string contentType = "application/json";
        Dictionary<string, string> headers = new Dictionary<string, string>()
        {
             { "app-key", "API_BDC" },
             { "token", "184bc53f2bd598c90cba732795d2367a" },
             { "sync-plant-code", "1052" }
        };
    }
}