|
|
|
@ -3,6 +3,7 @@ using Admin.Core.IService;
|
|
|
|
|
using Admin.Core.IService.IService_New;
|
|
|
|
|
using Admin.Core.Model.Model_New;
|
|
|
|
|
using Admin.Core.Service;
|
|
|
|
|
using Aucma.Core.BoxFoam.Config;
|
|
|
|
|
using Aucma.Core.BoxFoam.Models;
|
|
|
|
|
using Aucma.Core.HwPLc;
|
|
|
|
|
using Aucma.Core.Tasks.Models;
|
|
|
|
@ -31,7 +32,7 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
|
public static event RefreshBoxFoamDataDelegate RefreshBoxFoamDataDelegateEvent;
|
|
|
|
|
|
|
|
|
|
private static System.Text.ASCIIEncoding asciiEncoding = new System.Text.ASCIIEncoding();
|
|
|
|
|
|
|
|
|
|
private AppConfig appConfig = AppConfig.Instance;
|
|
|
|
|
public static List<SpaceDetailModel> spaceDetailModel = new List<SpaceDetailModel>();
|
|
|
|
|
public static List<FixtureStatus> listFixtureStatus = new List<FixtureStatus>();
|
|
|
|
|
private readonly IRecordBoxFoamFixtureComplateServices _fixtureComplateServices;
|
|
|
|
@ -103,8 +104,8 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
|
{
|
|
|
|
|
fixtureComplates.Add(new RecordBoxFoamFixtureComplate()
|
|
|
|
|
{
|
|
|
|
|
ProductionLine = "CX_02",
|
|
|
|
|
StationCode = "1005",
|
|
|
|
|
ProductionLine = appConfig.ProductlineCode,
|
|
|
|
|
StationCode = appConfig.StationCode,
|
|
|
|
|
FixtureCode = x.ObjId,
|
|
|
|
|
FixtureBoxType = x.FixtureBoxType,
|
|
|
|
|
FixtureStatus = x.Status,
|
|
|
|
@ -112,9 +113,10 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
|
PlanCuringTime = x.PlanCuringTime,
|
|
|
|
|
RealCuringTime = x.RealCuringTime,
|
|
|
|
|
RecordTime = DateTime.Now,
|
|
|
|
|
LoginTeam = appConfig.TeamName
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
var info = _fixtureComplateServices.SaveFixtureComplate(fixtureComplates, "CX_02", "1005");
|
|
|
|
|
var info = _fixtureComplateServices.SaveFixtureComplate(fixtureComplates, appConfig.ProductlineCode, appConfig.StationCode);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|