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" }
|
};
|
}
|
}
|