| | |
| | | CommonStackerCrane_AGVTaskCompletedEventHandler(getStackerObject, speStackerCrane); |
| | | } |
| | | |
| | | //夿å½åè®¾å¤æ¯å
¥åºè¿æ¯åºåº |
| | | /*if (GetDeviceAddress.OutbounMotherChildCartbool(speStackerCrane.DeviceCode)) |
| | | { |
| | | //夿å½åå®å
¨é¨æ¯å¦ä¸ºç»¿è²ç¯ |
| | | if (GetDeviceAddress.ReadAqmDecicStice(1)) |
| | | { |
| | | return null; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | //夿å
¥åºç«¯å®å
¨é¨æ¯å¦æ£å¸¸ |
| | | if (GetDeviceAddress.ReadAqmDecicStice(2)) |
| | | { |
| | | return null; |
| | | } |
| | | }*/ |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if (getStackerObject.RgvCraneAutoStatusValue == RgvCraneAutoStatus.Automatic && |
| | | getStackerObject.StaclerkJobJobStatusValue == RGV_Rgvtaskstutas.Ready && getStackerObject.RgvCraneWorkStatusValue == RGVStepprocess.NoAction) |
| | | { |
| | |
| | | } |
| | | else if (getStackerObject.StaclerkJobJobStatusValue == RGV_Rgvtaskstutas.AbnormalCompletion && getStackerObject.CurrentRgvtaskid != 0 && getStackerObject.CurrentRgvtaskid != 30001) |
| | | { |
| | | |
| | | //ä¿®æ¹ä»»å¡ç¶æä¸ºå¼å¸¸å®æ |
| | | _taskService.HandleInAbnormal(getStackerObject.CurrentRgvtaskid); |
| | | |
| | | //åå
¥å¼å¸¸å®ææ¥è¦ä¿¡æ¯ |
| | | speStackerCrane.Communicator.Write<short>("DB101.36", 1); |
| | | speStackerCrane.Communicator.Write<short>("DB101.36", 1); //åå
¥æ¥è¦ |
| | | } |
| | | } |
| | | #endregion |
| | |
| | | => GoodsPlacedCorridor(RGVTaskdevice), //å车æ¾è´§ä»»å¡(已宿) |
| | | |
| | | ((int)RGVEquipment.Mothertrailer, RgvEquipmentStatus.HasCargo) |
| | | => MotherVehicleMovement(RGVTaskdevice), //ï¼å·²å®æï¼ |
| | | => MotherVehicleMovement(RGVTaskdevice), //æ¯è½¦ç§»å¨ï¼å·²å®æï¼ |
| | | |
| | | _ => null |
| | | }; |
| | |
| | | } |
| | | else |
| | | { |
| | | RGVMovetask(Muche.ZicheMotherinlaw, Muche.ChildPosiDeviceCode); //å¦ææ²¡æä»»å¡ï¼åå¯ä»¥è¿è¡ç§»å¨åºæ¥ |
| | | //夿æ¯è½¦æ¯å¦æä»»å¡ |
| | | Dt_Task _Task1 = _taskService.MothermacTask(Muche.ChildPosiDeviceCode); |
| | | if (task == null) |
| | | { |
| | | RGVMovetask(Muche.ZicheMotherinlaw, Muche.ChildPosiDeviceCode); //å¦ææ²¡æä»»å¡ï¼åå¯ä»¥è¿è¡ç§»å¨åºæ¥ |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | Dt_Task task = _taskService.MothermachinemovementTask2(Muche2.ChildPosiDeviceCode); //è·åå°æ¯è½¦ç§»å¨ä»»å¡ |
| | | if (task == null) |
| | | { |
| | | RGVMovetask(Muche2.ZicheMotherinlaw, Muche2.ChildPosiDeviceCode); //å¦ææ²¡æä»»å¡ï¼åå¯ä»¥è¿è¡ç§»å¨åºæ¥ |
| | | Dt_Task _Task1 = _taskService.MothermacTask(Muche.ChildPosiDeviceCode); |
| | | if (task == null) |
| | | { |
| | | RGVMovetask(Muche2.ZicheMotherinlaw, Muche2.ChildPosiDeviceCode); //å¦ææ²¡æä»»å¡ï¼åå¯ä»¥è¿è¡ç§»å¨åºæ¥ |
| | | } |
| | | |
| | | } |
| | | } |
| | | return null; |
| | |
| | | AGVStation Muche2 = _agvStationService.GetMothervehicle(aGVStation.MotherCardeputy); //å
ä¾§æ¯è½¦ |
| | | int mucheaddre2 = GetDeviceAddress.GetEquipmentlocation(Muche2.ChildPosiDeviceCode); |
| | | |
| | | if ((neizichecurraddres == neiziche.WaitmomentOne || neizichecurraddres == neiziche.WaitmomentTwo) && task == null && mucheaddre1 == Muche.Motherinlaw && mucheaddre2 == Muche2.Motherinlaw) |
| | | if ((neizichecurraddres == neiziche.WaitmomentOne || neizichecurraddres == neiziche.WaitmomentTwo) && task == null && neizichecurraddres != neiziche.HCJStorageaddress && mucheaddre1 == Muche.Motherinlaw && mucheaddre2 == Muche2.Motherinlaw) |
| | | { |
| | | return _Task; |
| | | } |
| | |
| | | GetStackerObject getStackerObject = GetDeviceAddress.GetChildDeviceCode(zichestation.ChildPosiDeviceCode); |
| | | |
| | | if (getStackerObject.StaclerkJobJobStatusValue != RGV_Rgvtaskstutas.Executing && getStackerObject.RgvCraneAutoStatusValue == RgvCraneAutoStatus.Automatic |
| | | && (getStackerObject.RGVCurrentlocation == zichestation.WaitmomentOne || getStackerObject.RGVCurrentlocation == zichestation.WaitmomentTwo) && getStackerObject.RGVCurrentlocation != zichestation.ZicheMotherinlaw) |
| | | && (getStackerObject.RGVCurrentlocation == zichestation.WaitmomentOne || getStackerObject.RGVCurrentlocation == zichestation.WaitmomentTwo || getStackerObject.RGVCurrentlocation==1171) && getStackerObject.RGVCurrentlocation != zichestation.ZicheMotherinlaw) |
| | | { |
| | | RGVMovetask(GdZiche.Motherinlaw, GdZiche.ChildPosiDeviceCode); |
| | | } |