• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Sequence.FASequence类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: StandardEquipment

        public StandardEquipment()
        {
            _operationSequence = new FASequence(MainSequenceManager);
            _startSequence = new FASequence(MainSequenceManager);
            _stopSequence = new FASequence(MainSequenceManager);
            _initialSequence = new FASequence(MainSequenceManager);
            _jamClearSequence = new FASequence(MainSequenceManager);
            AlarmStopSequence = new FASequence(MainSequenceManager);
            SuspendSequence = new FASequence(MainSequenceManager);
            ResumeSequence = new FASequence(MainSequenceManager);
            PreStartSequence = new FASequence(MainSequenceManager);

            IOList = new FAPartMemoryBaseIOList();
            CreatePart();
            CreateModule();

            SetOperationList();

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

            OnSoundClearButtonClick +=
                delegate
                {
                    if (SoundClear == false)
                    {
                        SignalTowerBuzzer.DoTurnOff(this);
                        SignalPhoneMelodie1.DoTurnOff(this);
                        SignalPhoneMelodie2.DoTurnOff(this);
                        SignalPhoneMelodie3.DoTurnOff(this);
                        SignalPhoneMelodie4.DoTurnOff(this);
                    }

                    SoundClear = !SoundClear;
                };

            DispatcherTimer allwaysTimer = new DispatcherTimer();
            allwaysTimer.Interval = new TimeSpan(0, 0, 0);
            allwaysTimer.Tick +=
                delegate
                {
                    SoundClearButtonPushStatus = SoundClearButtonSignal.IsOn;
                    System.Threading.Thread.Sleep(1);
                };
            allwaysTimer.Start();
        }
开发者ID:vesteksoftware,项目名称:Onyang_4L_3rd_Line_VT5080,代码行数:47,代码来源:StandardEquipment.cs


示例17: StandardEquipment

        public StandardEquipment()
        {
            _operationSequence = new FASequence(MainSequenceManager);
            _startSequence = new FASequence(MainSequenceManager);
            _stopSequence = new FASequence(MainSequenceManager);
            _initialSequence = new FASequence(MainSequenceManager);
            _jamClearSequence = new FASequence(MainSequenceManager);
            AlarmStopSequence = new FASequence(MainSequenceManager);

            IOList = new FAPartMemoryBaseIOList();
            CreatePart();
            CreateModule();

            SetOperationList();

            _ioSwitchingTimer.Tick += OnIOSwitchingTick;
            _ioSwitchingTimer.Interval = new TimeSpan(0, 0, 0, 0, IO_SWITCHING_INTERVAL);
            _ioSwitchingTimer.Start();
        }
开发者ID:vesteksoftware,项目名称:VT8642,代码行数:19,代码来源:StandardEquipment.cs


示例18: ConfirmTerminated

        public void ConfirmTerminated(FASequence actor, TimeSpan time)
        {
            if (Sequences == null)
            {
                TerminateResult();
                actor.NextStep();
            }
            else
            {
                foreach (var seq in Sequences)
                {
                    if (seq.IsStartable() == false)
                        return;
                }

                if (TerminateResult != null)
                    TerminateResult();

                actor.NextStep();
            }
        }
开发者ID:vesteksoftware,项目名称:VT5070-SSD,代码行数:21,代码来源:ConditionalSequenceManager.cs


示例19: RegisterSequence

 public override void RegisterSequence(FASequenceManager aSequenceManager)
 {
     Initialize = new FASequence(aSequenceManager);
     MoveStandby = new FASequence(aSequenceManager);
     Loading = new FASequence(aSequenceManager);
     BandingOneStep = new FASequence(aSequenceManager);
     Banding = new FASequence(aSequenceManager);
     Unloading = new FASequence(aSequenceManager);
     UnloadingConveyor = new FASequence(aSequenceManager);
     BandingAndUnloading = new FASequence(aSequenceManager);
 }
开发者ID:vesteksoftware,项目名称:VT8642,代码行数:11,代码来源:FABandingModule.cs


示例20: IsTimeout

 private void IsTimeout(FASequence actor, TimeSpan time)
 {
     if (time > Timeout)
     {
         actor.SetAlarm();
     }
 }
开发者ID:vesteksoftware,项目名称:FALibrary,代码行数:7,代码来源:FAPart.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Sequence.FASequenceManager类代码示例发布时间:2022-05-24
下一篇:
C# Net.StoreRefreshDataEventArgs类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap