| | |
| | | |
| | | using (VOLContext dbCcontext = new VOLContext()) |
| | | { |
| | | |
| | | IDt_PLCinfoHeadRepository _PLCinfoHeadRepository = new Dt_PLCinfoHeadRepository(dbCcontext); |
| | | IDt_StationManagerRepository stationManagerRepository = new Dt_StationManagerRepository(dbCcontext); |
| | | List<Dt_PLCinfoHead> _PLCinfoHeads = _PLCinfoHeadRepository.Find(r => r.plcinfo_equiptype == "ConveyorLine" && r.plcinfo_state == "Enable"); |
| | |
| | | bool modelResult1 = bool.Parse(client.ReadValue(CLineInfoDBName.R_System_Normal_Model.ToString(), "System").ToString()); |
| | | if (modelResult1) |
| | | { |
| | | //å
¥åºå£ |
| | | InboundAreaDispatch.InboundRequestStationAction(taskWCSinfoRepository, client, "InBound"); |
| | | //æµéç«å°é»è¾ 10301 |
| | | InboundAreaDispatch.MeasureStationAction(taskWCSinfoRepository, client, "Measure_B"); |
| | | //å
¥åºç«å°ç¡®è®¤ |
| | | InboundAreaDispatch.InboundStationAction(taskWCSinfoRepository, taskRGVinfoRepository, client); |
| | | |
| | | //åºåºç«å°ç¡®è®¤ |
| | | InboundAreaDispatch.OutboundStationAction(taskWCSinfoRepository, taskRGVinfoRepository, client); |
| | | } |
| | |
| | | |
| | | //ç§°éç«å°è°åº¦ 20201 |
| | | InboundAreaDispatch.InboundWeighAction(taskWCSinfoRepository, client); |
| | | //åºåºRFID确认 |
| | | InboundAreaDispatch.CheckBarcodeAction(taskWCSinfoRepository, client, "30301"); |
| | | InboundAreaDispatch.CheckBarcodeAction(taskWCSinfoRepository, client, "30302"); |
| | | //åºåºRFID确认(æµé) |
| | | InboundAreaDispatch.CheckBarcodeAction(taskWCSinfoRepository, client, "30301"); // ä¸é¢ç ä»è¿éåºå» |
| | | InboundAreaDispatch.CheckBarcodeAction(taskWCSinfoRepository, client, "30302"); // ä¸é¢ç ä»è¿éè¿å» |
| | | |
| | | } |
| | | //è¯´ææ¯åºåºåºçè°åº¦ï¼æ¥çå
¥åºåºçº¿ä½çè¿è¡æ¨¡å¼ |
| | |
| | | client.WriteValue(CLineInfoDBName.W_System_RGVState.ToString(), true); |
| | | } |
| | | } |
| | | |
| | | } |
| | | return ""; |
| | | } |