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


C# Sequence.FASequence类代码示例

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


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

示例1: ConfirmSkipPassToNextMachine

 private void ConfirmSkipPassToNextMachine(FASequence actor, TimeSpan time)
 {
     if (SkipPassToNextMachine)
         actor.NextStep("ClearIsAvailable");
     else
         actor.NextStep();
 }
开发者ID:vesteksoftware,项目名称:VT5070-SSD,代码行数:7,代码来源:FAPassModule.cs

示例2: FAPamtekBarcodeScannerPart

        public FAPamtekBarcodeScannerPart(FASequenceManager aSequenceManager)
        {
            CheckReadyStatus = new FASequence(aSequenceManager);

            CheckReadyStatus.AddItem(delegate(object sender) { ReadReadyStatus(); });
            CheckReadyStatus.AddItem(ConfirmReadyStatus);
        }
开发者ID:vesteksoftware,项目名称:FALibrary,代码行数:7,代码来源:FAPamtekBarcodeScannerPart.cs

示例3: ConfirmTime

 public void ConfirmTime(FASequence actor, TimeSpan time)
 {
     if (Time.Time < time)
     {
         if (MethodOfEndTime != null)
         {
             if (MethodOfEndTime())
                 actor.NextStep();
             else
                 actor.NextStep("Retry");
         }
         else
             actor.NextStep();
     }
     else
     {
         if (MethodOfDuringTime != null)
         {
             if (MethodOfDuringTime())
                 actor.NextStep();
             else
                 actor.NextStep("Retry");
         }
     }
 }
开发者ID:vesteksoftware,项目名称:Onyang_3L_CSharp_VT5080,代码行数:25,代码来源:ActionOfDuringTime.cs

示例4: 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

示例5: ConfirmStackTerminated

 private void ConfirmStackTerminated(FASequence actor, TimeSpan time)
 {
     if (IsStackTerminated() == true)
         actor.NextStep();
     else
         actor.NextStep("ClearIsAvailable");
 }
开发者ID:vesteksoftware,项目名称:VT5081-SSD,代码行数:7,代码来源:FAStackModule.cs

示例6: RegisterSequence

        public override void RegisterSequence(FALibrary.Sequence.FASequenceManager aSequenceManager)
        {
            base.RegisterSequence(aSequenceManager);

            Initialize = new FASequence(aSequenceManager);
            TransferBox = new FASequence(aSequenceManager);
            ReleaseLabel = new FASequence(aSequenceManager);
        }
开发者ID:vesteksoftware,项目名称:VT8670,代码行数:8,代码来源:FALoaderModule.cs

示例7: MainEquipment

        //------------------------------------------------------------------------
        public MainEquipment()
        {
            SWInfo = Forms.Main.WindowVersionInfo.Version;
            InitialStackerSequence = new FASequence(SubSequenceManager);
            InitialStackerExceptSequence = new FASequence(SubSequenceManager);

            OnStatusChanged += StatusChangedEventHandler;
            CreateSuspendConditionList();
        }
开发者ID:vesteksoftware,项目名称:Common_VT5061,代码行数:10,代码来源:MainEquipment.cs

示例8: RegisterSequence

        public override void RegisterSequence(FALibrary.Sequence.FASequenceManager aSequenceManager)
        {
            Initialize = new FASequence(aSequenceManager);
            MoveToStackerPos = new FASequence(aSequenceManager);
            MoveToStackerPos.Name = "TrayUnloader.MoveToStackerPos";

            PushToStacker = new FASequence(aSequenceManager);
            PushToStacker.Name = "TrayUnloader.PushToStacker";
        }
开发者ID:vesteksoftware,项目名称:VT5025,代码行数:9,代码来源:FATrayUnloaderModule.cs

示例9: ConfirmTerminatedPreUnloading

 private void ConfirmTerminatedPreUnloading(FASequence actor, TimeSpan time)
 {
     if (PreUnloading.IsStartable())
     {
         if (NextModule == null)
             actor.NextStep();
         else if (NextModule.PreLoading.IsStartable())
             actor.NextStep();
     }
 }
开发者ID:vesteksoftware,项目名称:VT5070-SSD,代码行数:10,代码来源:FAPassModule.cs

示例10: ConfirmNextModuleLoadingAble

 private void ConfirmNextModuleLoadingAble(FASequence actor, TimeSpan time)
 {
     if (NextModule == null)
         actor.NextStep("ProductDataCopyToNextMachine");
     else if (NextModule.IsAvailable == true)
     {
         NextModule.IsAvailable = false;
         actor.NextStep();
     }
 }
开发者ID:vesteksoftware,项目名称:VT5070-SSD,代码行数:10,代码来源:FAPassModule.cs

示例11: FAPrintronix5000TRPart

        public FAPrintronix5000TRPart(FASequenceManager aSequenceManager)
        {
            CheckStatus = new FASequence(aSequenceManager);

            CheckStatus.Steps.Add("Start", new StepInfo());
            CheckStatus.OnStart += EventHandlerOnCheckStatus;

            CheckStatus.Steps["Start"].StepIndex = CheckStatus.AddItem(GetStatus);
            CheckStatus.AddItem(ConfirmStatus);
        }
开发者ID:vesteksoftware,项目名称:Onyang_3L_CSharp_VT5080,代码行数:10,代码来源:FAPrintronix5000TRPart.cs

示例12: Start

 public void Start(FASequence actor, TimeSpan time)
 {
     if (StartCondition == null)
     {
         Start();
         actor.NextStep();
     }
     else if (StartCondition() == true)
     {
         Start();
         actor.NextStep();
     }
 }
开发者ID:vesteksoftware,项目名称:VT5070-SSD,代码行数:13,代码来源:ConditionalSequenceManager.cs

示例13: MainEquipment

        //------------------------------------------------------------------------
        public MainEquipment()
        {
            SWInfo = Forms.Main.WindowVersionInfo.Version;
            InitialStackerSequence = new FASequence(SubSequenceManager);
            InitialStackerExceptSequence = new FASequence(SubSequenceManager);

            TimeDoorLockTimeout = new FATime(FATimeType.second, 3);
            _ioSwitchingTimer.Tick += OnIOSwitchingTick;
            _ioSwitchingTimer.Interval = new TimeSpan(0, 0, 0, 0, IO_SWITCHING_INTERVAL);
            _ioSwitchingTimer.Start();

            OnStatusChanged += StatusChangedEventHandler;
        }
开发者ID:vesteksoftware,项目名称:Onyang_3L_CSharp_VT5061,代码行数:14,代码来源:MainEquipment.cs

示例14: MainEquipment

        public MainEquipment()
        {
            SWInfo = Forms.Main.WindowVersionInfo.Version;
            OnStatusChanged += EventHandlerStatusChanged;

            OnStatusChanged += StatusChangedEventHandler;

            _ioSwitchingTimer.Tick += OnIOSwitchingTick;
            _ioSwitchingTimer.Interval = new TimeSpan(0, 0, 0, 0, IO_SWITCHING_INTERVAL);
            _ioSwitchingTimer.Start();

            LargeBoxAutoLoadingSequence = new FASequence(SubSequenceManager);
        }
开发者ID:vesteksoftware,项目名称:Onyang_3L_CSharp_VT5080,代码行数:13,代码来源:MainEquipment.cs

示例15: MainEquipment

        public MainEquipment()
        {
            SWInfo = Forms.Main.WindowVersionInfo.Version;

            LoadingConveyorUnitByPassStackerUpDownCylinder.Down.Sequence.Atomic = true;
            LoadingConveyorUnitByPassStackerUpDownCylinder.Up.Sequence.Atomic = true;

            OnStatusChanged += EventHandlerStatusChanged;

            _ioSwitchingTimer.Tick += OnIOSwitchingTick;
            _ioSwitchingTimer.Interval = new TimeSpan(0, 0, 0, 0, IO_SWITCHING_INTERVAL);
            _ioSwitchingTimer.Start();

            LargeBoxAutoLoadingSequence = new FASequence(SubSequenceManager);
        }
开发者ID:vesteksoftware,项目名称:Onyang_CL_CSharp_VT5081,代码行数:15,代码来源:MainEquipment.cs


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