当前位置: 首页>>代码示例>>C#>>正文


C# FASequence.NextTerminate方法代码示例

本文整理汇总了C#中FALibrary.Sequence.FASequence.NextTerminate方法的典型用法代码示例。如果您正苦于以下问题:C# FASequence.NextTerminate方法的具体用法?C# FASequence.NextTerminate怎么用?C# FASequence.NextTerminate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FALibrary.Sequence.FASequence的用法示例。


在下文中一共展示了FASequence.NextTerminate方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ConfirmTrayIndex

        private void ConfirmTrayIndex(FASequence actor, TimeSpan time)
        {
            bool isRFTray, isFirstTray, isLastTray, isHaveAEmptyPocket;
            int needEmptyTrayCount;
            string errMsg;

            var result = UtilityClass.SetTrayProcessFlag(ProductInfo, out isRFTray, out isFirstTray, out isLastTray, out needEmptyTrayCount, out isHaveAEmptyPocket, out errMsg);

            if (result == false)
            {
                RaiseAlarm(actor, AlarmLotInfoNotCorrect);
            }
            else
            {
                if (isRFTray || needEmptyTrayCount > 0 || isHaveAEmptyPocket) // Robot이 집어간다.
                {
                    SkipPassToNextMachine = true;
                    actor.NextStep();
                }
                else
                {
                    SkipPassToNextMachine = false;
                    actor.NextTerminate();
                }
            }
        }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:26,代码来源:PreTrayStackModule.cs

示例2: ConfirmTrayDetectSensorOnAndServoZStop

 private void ConfirmTrayDetectSensorOnAndServoZStop(FASequence actor, TimeSpan time)
 {
     if (TrayDetectSensor.IsOn)
     {
         if (DateTime.Now - LastTrayDetectedTime > TimeTrayCountingSensorHuntingTime.Time)
         {
             LastTrayDetectedTime = DateTime.Now;
             RFScannerUpDownServo.Stop.Execute(actor);
             actor.NextStep();
         }
     }
     else if (RFScannerUpDownServo.IsMotionDone()
         && RFScannerUpDownServo.IsInPosition(RFScannerUpDownServo.BottomPos))
     {
         TrayCount += CountOffset;
         actor.NextTerminate();
     }
     else if (RFScannerUpDownServo.RunFlag == false && RFScannerUpDownServo.IsMotionDone() &&
         RFScannerUpDownServo.ErrorFlag == false)
     {
         RFScannerUpDownServo.MoveBottomPos.Execute(actor);
     }
 }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:23,代码来源:RFReaderModule.cs

示例3: StartSequenceList

 private void StartSequenceList(FASequence actor, TimeSpan time)
 {
     if (CurrentSequenceQueue.Count <= 0)
         actor.NextTerminate();
     else
     {
         CurrentSequence = CurrentSequenceQueue.Dequeue();
         actor.NextStep();
     }
 }
开发者ID:vesteksoftware,项目名称:VT5070-SSD,代码行数:10,代码来源:ConditionalSequenceManager.cs

示例4: TerminateSequence

 protected void TerminateSequence(FASequence actor, TimeSpan time)
 {
     actor.NextTerminate();
 }
开发者ID:vesteksoftware,项目名称:Onyang_CL_CSharp_VT5081,代码行数:4,代码来源:FACommonPart.cs

示例5: IncreaseTrayCount

        private void IncreaseTrayCount(FASequence actor, TimeSpan time)
        {
            PickingTrayCount++;

            if (SuppliedTrayCount + PickingTrayCount == TargetTrayCount)
                actor.NextTerminate();
            else
                actor.NextStep();
        }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:9,代码来源:TrayTransferRobotModule.cs

示例6: ConfirmXYPosition

 private void ConfirmXYPosition(FASequence actor, TimeSpan time)
 {
     if (TransferServoX.IsInPosition(TargetPosition.PositionX) &&
         TransferServoY.IsInPosition(TargetPosition.PositionY))
         actor.NextTerminate();
     else
         actor.NextStep();
 }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:8,代码来源:TrayTransferRobotModule.cs

示例7: ConfirmTrayDetectSensorOnAndServoZStop

 private void ConfirmTrayDetectSensorOnAndServoZStop(FASequence actor, TimeSpan time)
 {
     if (TraySideDetectSensor.IsOn)
     {
         TransferServoZ.Stop.Execute(actor);
         actor.NextStep();
     }
     else if (TransferServoZ.IsMotionDone()
         && TransferServoZ.IsInPosition(TargetPosition.PositionZ))
     {
         PickingTrayCount = 0;
         actor.NextTerminate();
     }
     else if (TransferServoZ.RunFlag == false && TransferServoZ.IsMotionDone() &&
         TransferServoZ.ErrorFlag == false)
     {
         TransferServoZ.MoveToPos.Execute(actor);
     }
 }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:19,代码来源:TrayTransferRobotModule.cs

示例8: ConfirmRemainTrayCount

 private void ConfirmRemainTrayCount(FASequence actor, TimeSpan time)
 {
     if (SuppliedTrayCount == TargetTrayCount)
     {
         InterfaceEmptyTraySupplyConveyorReady.DoTurnOff(actor);
         actor.NextTerminate();
     }
     else
         actor.NextStep("SelectTargetStacker");
 }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:10,代码来源:TrayTransferRobotModule.cs

示例9: ConfirmSeperateActionCount

 private void ConfirmSeperateActionCount(FASequence actor, TimeSpan time)
 {
     if (RetryInfoSeperateAction.IncreaseCount() == true)
         actor.NextStep();
     else
         actor.NextTerminate();
 }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:7,代码来源:TraySeperatorModule.cs

示例10: ConfirmStackFull

 private void ConfirmStackFull(FASequence actor, TimeSpan time)
 {
     if (IsStackTerminated() == true)
     {
         if (ProductInfo.VT8792ProductInfo.TrayCount == ProductInfo.VT8792ProductInfo.TrayIndex &&
             ProductInfo.VT8792ProductInfo.LotScanCompleted.ScanSuccess == false)
         {
             RFTrayCoveringRequest = true;
             CoverTrayRequest = true;
             actor.NextStep();
         }
         else
         {
             CoverTrayRequest = true;
             actor.NextStep();
         }
     }
     else
         actor.NextTerminate();
 }
开发者ID:vesteksoftware,项目名称:VT8792-SSD,代码行数:20,代码来源:TrayStackerModule.cs


注:本文中的FALibrary.Sequence.FASequence.NextTerminate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。