public bool ToBefore(string name) { foreach (var temp in lineSegmentActions) { if (temp.LineName == name) { if (name == "sensor锁付") { LineSegmentAction lineobj = lineSegmentActions.First((t) => { return(t.LineName == "sensor"); }); lineobj.feedMode = FeedMode.后进料; temp.bOutMotorRunDir = false; temp.LineSegState = LineSegementState.Finish; } else { MessageBox.Show("非 sensor锁付不能调用tobefore"); } } } return(true); }
public LineException(LineSegmentAction lineSegmentAction) { lineObj = null; }
public LineExceptionEntryTimeOut(LineSegmentAction lineSegmentAction) : base(lineSegmentAction) { }
public LineExceptionLeaveingCheck(LineSegmentAction lineSegmentAction) : base(lineSegmentAction) { }
public LineExceptionReadingCheck(LineSegmentAction lineSegmentAction) : base(lineSegmentAction) { }
public LineExceptionEntreyCheck(LineSegmentAction lineSegmentAction) : base(lineSegmentAction) { }
public LineExceptionLeavingTimeout(LineSegmentAction lineSegmentAction) : base(lineSegmentAction) { }
public LineExceptionOutTimeout(LineSegmentAction lineSegmentAction) : base(lineSegmentAction) { }