Ejemplo n.º 1
0
        public void Handle()
        {
            warehouse_inmission.CarryProcess = CarryMissonProcessEnum.WHSTART;
            missionContext.SendAgvMisson(warehouse_inmission);

            missionContext.DoWork(() => WareHouseInMission(warehouse_inmission), () =>
            {
                //TODO:添加料库入库错误后的动作
            }, "料库入库动作失败", AgvMissionServiceErrorCodeEnum.WAREHOUSEIN);
        }
Ejemplo n.º 2
0
        public void Handle()
        {
            warehouse_outmission.CarryProcess = CarryMissonProcessEnum.WHSTART;
            missionContext.SendAgvMisson(warehouse_outmission);

            missionContext.DoWork(() => WareHouseOutMission(warehouse_outmission), () =>
            {
                //TODO:添加料库出库失败动作
            }, "料库出库动作失败", AgvMissionServiceErrorCodeEnum.WAREHOUSEOUT);
        }
Ejemplo n.º 3
0
 public void Handle()
 {
     foreach (var mission in missonNodes)
     {
         missionContext.DoWork(() => missionContext.AgvPushMission(AgvSendActionEnum.SendLastWaitEndSignal.EnumToString(), mission.Id), () =>
         {
             mission.Process = AgvMissonProcessEnum.AGVATPLACE;
             missionContext.SendAgvMisson(mission);
         }, "通知小车等待结束失败", AgvMissionServiceErrorCodeEnum.AGVOUTPREPLACEWAIT);
     }
 }
Ejemplo n.º 4
0
        public void Handle()
        {
            agv_outmission.Process = AgvMissonProcessEnum.AGVSTART;
            missionContext.SendAgvMisson(agv_outmission);

            missionContext.DoWork(() => missionContext.AgvPushMission(AgvSendActionEnum.SendMissonOutOrder.EnumToString(), agv_outmission), () =>
            {
                agv_outmission.Process = AgvMissonProcessEnum.CANCEL;
                missionContext.SendAgvMisson(agv_outmission);
            }, "小车搬运出库任务失败", AgvMissionServiceErrorCodeEnum.AGVOUT);
        }
Ejemplo n.º 5
0
        public void Handle()
        {
            agv_inmissions_atpreplace.Process = AgvMissonProcessEnum.AGVATPLACE;

            //TODO:添加出料道传感器信号
            missionContext.SendAgvMisson(agv_inmissions_atpreplace);


            missionContext.DoWork(() => missionContext.AgvPushMission(AgvSendActionEnum.SendLastWaitEndSignal.EnumToString(), agv_inmissions_atpreplace.Id), () =>
            {
                //TODO:添加小车等待信号取消失败操作
            }, "通知小车等待结束失败", AgvMissionServiceErrorCodeEnum.AGVINPREPLACEWAIT);
        }
Ejemplo n.º 6
0
        public void Handle()
        {
            agv_outmissions_atprepick.Process      = AgvMissonProcessEnum.AGVATPICK;
            agv_outmissions_atprepick.CarryProcess = CarryMissonProcessEnum.CLOSE;

            //TODO:添加出料道传感器信号
            missionContext.SendAgvMisson(agv_outmissions_atprepick);


            missionContext.DoWork(() => missionContext.AgvPushMission(AgvSendActionEnum.SendFirstWaitEndSignal.EnumToString(), agv_outmissions_atprepick.Id), () =>
            {
                //TODO:添加小车等待信号取消失败操作
            }, "通知小车等待结束失败", AgvMissionServiceErrorCodeEnum.AGVOUTPREPICKWAIT);
        }