本文整理汇总了C#中FALibrary.NextStep方法的典型用法代码示例。如果您正苦于以下问题:C# FALibrary.NextStep方法的具体用法?C# FALibrary.NextStep怎么用?C# FALibrary.NextStep使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FALibrary
的用法示例。
在下文中一共展示了FALibrary.NextStep方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ConfirmDoorLockOk
protected override void ConfirmDoorLockOk(FALibrary.Sequence.FASequence actor, TimeSpan time)
{
int alarm = GetDoorLockAlarm();
if (alarm >= 0 && TimeDoorLockTimeout.Time < time)
{
string windowName = string.Empty;
var alarmObj = Utility.AlarmUtility.GetAlarm(alarm, "DOOR LOCK FAIL");
Manager.MessageWindowManager.Instance.Show(Equipment, "DOOR WARNING", out windowName, alarmObj, string.Empty, false);
actor.ClearState();
Equipment.RequestStop();
}
else
actor.NextStep();
}
示例2: ConfirmDoorLockOk
protected override void ConfirmDoorLockOk(FALibrary.Sequence.FASequence actor, TimeSpan time)
{
//int alarm=-1;
//if (BoxFormingMachineEquipment.DoorUnit.FrontUppeDoorLockCheck.IsOff)
// alarm = AlarmFrontUppeDoorLockCheck;
//else if (BoxFormingMachineEquipment.DoorUnit.LeftUpperDoorLockCheck.IsOff)
// alarm = AlarmLeftUpperDoorLockCheck;
//else if (BoxFormingMachineEquipment.DoorUnit.FrontLeftDoorLockCheck.IsOff)
// alarm = AlarmFrontLeftDoorLockCheck;
//else if (BoxFormingMachineEquipment.DoorUnit.FrontRightDoorLockCheck.IsOff)
// alarm = AlarmFrontRightDoorLockCheck;
//else if (BoxFormingMachineEquipment.DoorUnit.RightUpperDoorLockCheck.IsOff)
// alarm = AlarmRightUpperDoorLockCheck;
//if (alarm >= 0)
//{
// var alarmObj = Utility.AlarmUtility.GetAlarm(alarm, "");
// Manager.MessageWindowManager.Instance.Show(Equipment, "DOOR WARNING", alarmObj, false);
// actor.ClearState();
// Equipment.RequestStop();
//}
actor.NextStep();
}
示例3: ConfirmDoorLockOk
protected override void ConfirmDoorLockOk(FALibrary.Sequence.FASequence actor, TimeSpan time)
{
int alarm = -1;
if (VT5070Equipment.DoorUnit.FrontMonitorDoorLockCheck.IsOff)
alarm = AlarmFrontMonitorDoorLockFail;
else if (VT5070Equipment.DoorUnit.FrontCenterUpperLeftDoorLockCheck.IsOff)
alarm = AlarmFrontCenterUpperLeftDoorLockFail;
else if (VT5070Equipment.DoorUnit.FrontCenterUpperRightDoorLockCheck.IsOff)
alarm = AlarmFrontCenterUpperRightDoorLockFail;
else if (VT5070Equipment.DoorUnit.FrontSSDBoxInletUpperDoorLockCheck.IsOff)
alarm = AlarmFrontSSDInletUpperDoorLockFail;
else if (VT5070Equipment.DoorUnit.FrontSSDBoxLoadingUpperLeftDoorLockCheck.IsOff)
alarm = AlarmFrontLoadingUpperLeftDoorLockFail;
else if (VT5070Equipment.DoorUnit.FrontSSDBoxLoadingUpperRightDoorLockCheck.IsOff)
alarm = AlarmFrontLoadingUpperRightDoorLockFail;
else if (VT5070Equipment.DoorUnit.LeftFoamPadInletDoorLockCheck.IsOff)
alarm = AlarmLeftFoamPadInletDoorLockFail;
else if (VT5070Equipment.DoorUnit.RearCenterDoorLockCheck.IsOff)
alarm = AlarmRearCenterDoorLockFail;
//else if (VT5070Equipment.DoorUnit.UpperPrinterFrontDoorLockCheck.IsOff)
// alarm = AlarmUpperPrinterDoorLockFail;
//else if (VT5070Equipment.DoorUnit.LowerPrinterFrontDoorLockCheck.IsOff)
// alarm = AlarmLowerPrinterDoorLockFail;
else if (VT5070Equipment.DoorUnit.PrinterRearDoorLockCheck.IsOff)
alarm = AlarmPrinterRearDoorLockFail;
else if (VT5070Equipment.DoorUnit.BandingMachineFrontDoorLockCheck.IsOff)
alarm = AlarmBandingMachineFrontDoorLockFail;
else if (VT5070Equipment.DoorUnit.BandingMachineRearDoorLockCheck.IsOff)
alarm = AlarmBandingMachineRearDoorLockFail;
if (alarm >= 0)
{
if (TimeDoorLockTimeout.Time < time)
{
string windowName = string.Empty;
var alarmObj = Utility.AlarmUtility.GetAlarm(alarm, "DOOR WARNING");
Manager.MessageWindowManager.Instance.Show(Equipment, "DOOR WARNING", out windowName, alarmObj, string.Empty, true);
actor.ClearState();
Equipment.RequestStop();
}
}
else
actor.NextStep();
}
示例4: ConfirmDoorClosed
protected override void ConfirmDoorClosed(FALibrary.Sequence.FASequence actor, TimeSpan time)
{
string windowName = string.Empty;
int alarm = -1;
if (BoxFormingMachineEquipment.DoorUnit.FrontLeftDoorCloseCheck.IsOff)
alarm = AlarmFrontLeftDoorCloseCheck;
else if (BoxFormingMachineEquipment.DoorUnit.FrontRightDoorCloseCheck.IsOff)
alarm = AlarmFrontRightDoorCloseCheck;
else if (BoxFormingMachineEquipment.DoorUnit.RearLowerDoorCloseCheck.IsOff)
alarm = AlarmRearLowerDoorCloseCheck;
if (alarm >= 0)
{
var alarmObj = Utility.AlarmUtility.GetAlarm(alarm, "");
Manager.MessageWindowManager.Instance.Show(Equipment, "DOOR WARNING", out windowName, alarmObj, string.Empty, false);
actor.ClearState();
Equipment.RequestStop();
}
else
actor.NextStep();
}
示例5: Execute
public void Execute(FALibrary.Sequence.FASequence actor, TimeSpan time)
{
if (TimeObject.Time < time)
actor.NextStep();
}