| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | using WIDESEA_WCS.WCSClient; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Services.Repositories; |
| | | using System.Linq; |
| | | using System.Threading; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Diagnostics; |
| | | using Quartz.Impl; |
| | | using WIDESEA_Common.CutomerModel; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Services.IRepositories; |
| | | using HslCommunication; |
| | | using HslCommunication.WebSocket; |
| | | using HslCommunication; |
| | | using WIDESEA_Services; |
| | | using Microsoft.SqlServer.Server; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.Numeric; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; |
| | | using Quartz.Impl; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Diagnostics; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Common.CutomerModel; |
| | | using WIDESEA_Common.LogEnum; |
| | | using WIDESEA_Common.TaskEnum; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Common.LogEnum; |
| | | using WIDESEA_Services.Services; |
| | | using WIDESEA_Core.Services; |
| | | using WIDESEA_Core.Enums; |
| | | using WIDESEA_Core.Services; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Services; |
| | | using WIDESEA_Services.IRepositories; |
| | | using WIDESEA_Services.Repositories; |
| | | using WIDESEA_Services.Services; |
| | | using WIDESEA_WCS.WCSClient; |
| | | |
| | | namespace WIDESEA_WCS |
| | | { |
| | |
| | | resultDic.Add("normal", "0"); |
| | | |
| | | |
| | | Thread.Sleep(300); |
| | | //Thread.Sleep(300); |
| | | modelResult1 = bool.Parse(client.ReadValue(CLineInfoDBName.R_System_Emery_Model.ToString(), "System").ToString()); |
| | | |
| | | if (modelResult1) |
| | |
| | | } |
| | | |
| | | |
| | | Thread.Sleep(300); |
| | | //Thread.Sleep(300); |
| | | int val = int.Parse(client.ReadValue(CLineInfoDBName.R_System_Inline_Run_Model.ToString(), "System").ToString()); |
| | | if (val == 1) |
| | | resultDic.Add("controlModel", "æå¨æ§å¶"); |
| | |
| | | resultDic.Add("controlModel", "èæºæ§å¶"); |
| | | else |
| | | resultDic.Add("controlModel", "æªç¥ç¶æ"); |
| | | |
| | | |
| | | |
| | | //Thread.Sleep(300); |
| | | int modelResult = int.Parse(client.ReadValue(CLineInfoDBName.R_System_Inline_Run_Model.ToString(), "OutSystem").ToString()); |
| | | if (modelResult == 1) |
| | | resultDic.Add("modelResult", "æå¨æ§å¶"); |
| | | else if (modelResult == 2) |
| | | resultDic.Add("modelResult", "åæºæ§å¶"); |
| | | else if (modelResult == 3) |
| | | resultDic.Add("modelResult", "èæºæ§å¶"); |
| | | else |
| | | resultDic.Add("modelResult", "æªç¥ç¶æ"); |
| | | } |
| | | else |
| | | { |
| | |
| | | catch (Exception ex) |
| | | { |
| | | content.Error(ex.Message); |
| | | LogRecord.WriteLog(LogEnum.Errer, DateTime.Now.ToString()+"å¨GetInboundLineCurrentModelæ¹æ³è·åå½åå
¥åºæ¨¡å¼çæ¶ååçäºé误" + ex.Message+ "æ°æ®"+ resultDic); |
| | | } |
| | | return content; |
| | | } |
| | | |
| | | //public static WebResponseContent GetInorOutMODELS(SaveModel saveModel) |
| | | //{ |
| | | |
| | | //} |
| | | |
| | | |
| | | /// <summary> |
| | | /// 彿 ¡éªæçç ä¸ä¸è´æ¶ï¼äººå·¥è§¦åç»§ç»ä»»å¡ |