| | |
| | | public partial class InboundAreaDispatch |
| | | { |
| | | public static string[] InboundStationNo = new string[] { "50301", "50302", "50303", "50304", "50305", "50306", "50307"}; |
| | | |
| | | private static string CLOutStationNo = "30302"; |
| | | |
| | | public static void InboundStationAction(IDt_TaskWCSinfoRepository taskWCSinfoRepository, IDt_TaskRGVinfoRepository taskRGVinfoRepository, PLCClient client) |
| | | { |
| | | foreach (var item in InboundStationNo) |
| | |
| | | return; |
| | | } |
| | | |
| | | |
| | | bool flag = bool.Parse(client.ReadValue(CLineInfoDBName.R_Line_LoadSleep.ToString(), CLOutStationNo).ToString()); |
| | | bool noflag = bool.Parse(client.ReadValue(CLineInfoDBName.R_Line_NoLoadSleep.ToString(), CLOutStationNo).ToString()); |
| | | if (flag || !noflag) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | |
| | | //string lineCode = "Measure_O"; |
| | | int taskNumber = taskWCSinfo.wcstask_taskNumber; |
| | | //æ¥ç线ä½ç¶æï¼åå¤ç»çº¿ä½ä¸åä»»å¡ä¿¡æ¯ 读åé»è¾æ§å¶å¼ |