| | |
| | | 锘縰sing 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; |
| | | 锘縰sing 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", "鎵嬪姩鎺у埗"); |
| | |
| | | |
| | | |
| | | |
| | | Thread.Sleep(300); |
| | | //Thread.Sleep(300); |
| | | int modelResult = int.Parse(client.ReadValue(CLineInfoDBName.R_System_Inline_Run_Model.ToString(), "OutSystem").ToString()); |
| | | if (modelResult == 1) |
| | | resultDic.Add("modelResult", "鎵嬪姩鎺у埗"); |
| | |
| | | catch (Exception ex) |
| | | { |
| | | content.Error(ex.Message); |
| | | LogRecord.WriteLog(LogEnum.Errer, DateTime.Now.ToString()+"鍦℅etInboundLineCurrentModel鏂规硶鑾峰彇褰撳墠鍏ュ簱妯″紡鐨勬椂鍊欏彂鐢熶簡閿欒" + ex.Message+ "鏁版嵁"+ resultDic); |
| | | } |
| | | return content; |
| | | } |