| | |
| | | Dt_Task Muche2Task = _taskService.ObtainMuChetask(ZicheinnerSide.MotherCardeputy.ToString()); |
| | | if (Muche2Task == null) return null; |
| | | |
| | | //è·åå车æ¯å¦æä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetChariotTaskBool(ZicheinnerSide.ChildPosiDeviceCode); |
| | | if (zicheTASK != null) return null; |
| | | |
| | | //è·å2å··éå车æ¯å¦æä»»å¡ |
| | | var muche1 = _agvStationService.GetMothervehicle(ZicheinnerSide.MotherCarDeviceCode); |
| | | Dt_Task Muche1 = _taskService.GetChariotTaskBool(muche1.ChildPosiDeviceCode.ToString()); |
| | | if(Muche1!=null) return null; |
| | | |
| | | return Muche2Task; |
| | | } |
| | |
| | | Dt_Task Muche3Task = _taskService.ObtainMuChetask(ZicheinnerSide.MotherCarDeviceCode.ToString()); |
| | | if (Muche3Task == null) return null; |
| | | |
| | | //夿å车æ¯å¦ææéè¦åè´§çä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetChariotTaskBool(ZicheinnerSide.ChildPosiDeviceCode); |
| | | //夿å车æ¯å¦æè¦åHCJä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetHCJTaskBool(ZicheinnerSide.ChildPosiDeviceCode, ZicheinnerSide.HCJStorageaddress); |
| | | if (zicheTASK != null) return null; |
| | | |
| | | if (curraddZiChe == ZicheinnerSide.WaitmomentTwo || curraddZiChe == ZicheinnerSide.WaitmomentOne) |
| | | { |
| | | return Muche3Task; |
| | | } |
| | | return null; |
| | | return Muche3Task; |
| | | } |
| | | public Dt_Task? OutboundSideAisle4(int curraddZiChe, AGVStation ZicheinnerSide) |
| | | { |
| | |
| | | Dt_Task Muche4Task = _taskService.ObtainMuChetask(ZicheinnerSide.MotherCardeputy.ToString()); |
| | | if (Muche4Task == null) return null; |
| | | |
| | | //夿æ¯å¦æéè¦åHCJçä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetChariotTaskBool(ZicheinnerSide.ChildPosiDeviceCode); |
| | | if (zicheTASK != null) return null; |
| | | |
| | | if (curraddZiChe == ZicheinnerSide.WaitmomentOne) |
| | | { |
| | | //夿3巷鿝妿åºåºçä»»å¡ |
| | | var muche3 = _agvStationService.GetMothervehicle(ZicheinnerSide.MotherCarDeviceCode); |
| | | Dt_Task muchetask = _taskService.OutMothermaTask(muche3.ChildPosiDeviceCode); |
| | | if (muchetask != null) return null; |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if ( || curraddZiChe == ZicheinnerSide.WaitmomentTwo) |
| | | { |
| | | return Muche4Task; |
| | | } |
| | | return null; |
| | | return Muche4Task; |
| | | } |
| | | |
| | | #endregion |
| | |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentOne, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation && RGVCurrentlocation == 1171) |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation || RGVCurrentlocation == 1171) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentTwo, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | |
| | | { |
| | | if (GdZiche.Station_Area == 5) |
| | | { |
| | | if (GdZiche.MotherCarDeviceCode == RGVCurrentlocation || GdZiche.HCJStorageaddress == RGVCurrentlocation) |
| | | Dt_Task task = _taskService.GetChariotTaskBool(GdZiche.ChildPosiDeviceCode); |
| | | if (task == null && RgvCraneStatusValue == (int)RgvEquipmentStatus.NoCargo) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentOne, GdZiche.ChildPosiDeviceCode); |
| | | if (GdZiche.MotherCarDeviceCode == RGVCurrentlocation || GdZiche.HCJStorageaddress == RGVCurrentlocation) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentOne, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentTwo, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | } |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentTwo, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |