Пример #1
0
 public CommandMoveTrcFly(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, InitLook initLookPrm)
     : base(axisX, axisY)
 {
     if (axisX.Card != axisY.Card)
     {
         throw new Exception("axis x and axis y must be on the same card!");
     }
     this.card        = axisX.Card;
     this.TrcPrm      = trcPrm;
     this.Crds        = crds;
     this.TrcSts      = new MoveTrcSts();
     this.crdQueue    = new Queue <ICrdable>();
     this.InitLoodPrm = initLookPrm;
 }
Пример #2
0
 public CommandMoveTrcFly(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, InitLook initLookPrm, Action starting)
     : this(axisX, axisY, trcPrm, crds, initLookPrm)
 {
     this.Starting = starting;
 }
Пример #3
0
 public CommandMoveTrcBufFluid(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, Cmp2dPrm cmp2dPrm, InitLook lookAheadPrm, IList <BufFluidItem> bufFluidItems)
     : base(axisX, axisY)
 {
     if (axisX.Card != axisY.Card)
     {
         throw new Exception("axis x and axis y must be on the same card!");
     }
     this.card              = axisX.Card;
     this.TrcPrm            = trcPrm;
     this.Cmp2dPrm          = cmp2dPrm;
     this.LookAheadPrm      = lookAheadPrm;
     this.TrcSts            = new MoveTrcSts();
     this.bufFluidItemQueue = new Queue <BufFluidItem>();
     this.bufCmp2dData      = new Queue <PointD>();
     this.initQueue(bufFluidItems);
 }