本文整理汇总了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();
}
示例2: FAPamtekBarcodeScannerPart
public FAPamtekBarcodeScannerPart(FASequenceManager aSequenceManager)
{
CheckReadyStatus = new FASequence(aSequenceManager);
CheckReadyStatus.AddItem(delegate(object sender) { ReadReadyStatus(); });
CheckReadyStatus.AddItem(ConfirmReadyStatus);
}
示例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");
}
}
}
示例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();
}
}
}
示例5: ConfirmStackTerminated
private void ConfirmStackTerminated(FASequence actor, TimeSpan time)
{
if (IsStackTerminated() == true)
actor.NextStep();
else
actor.NextStep("ClearIsAvailable");
}
示例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);
}
示例7: MainEquipment
//------------------------------------------------------------------------
public MainEquipment()
{
SWInfo = Forms.Main.WindowVersionInfo.Version;
InitialStackerSequence = new FASequence(SubSequenceManager);
InitialStackerExceptSequence = new FASequence(SubSequenceManager);
OnStatusChanged += StatusChangedEventHandler;
CreateSuspendConditionList();
}
示例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";
}
示例9: ConfirmTerminatedPreUnloading
private void ConfirmTerminatedPreUnloading(FASequence actor, TimeSpan time)
{
if (PreUnloading.IsStartable())
{
if (NextModule == null)
actor.NextStep();
else if (NextModule.PreLoading.IsStartable())
actor.NextStep();
}
}
示例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();
}
}
示例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);
}
示例12: Start
public void Start(FASequence actor, TimeSpan time)
{
if (StartCondition == null)
{
Start();
actor.NextStep();
}
else if (StartCondition() == true)
{
Start();
actor.NextStep();
}
}
示例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;
}
示例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);
}
示例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);
}