Ejemplo n.º 1
0
 public CommandMoveTrcCmp2dMode1d(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, short chn, IList <PointD> cmp2dPoints)
     : base(axisX, axisY, trcPrm, crds)
 {
     this.Chn          = chn;
     this.Cmp2dPoints  = cmp2dPoints;
     this.Cmp2dSts     = new Cmp2dSts();
     this.cmp2dPtQueue = new Queue <PointD>();
 }
Ejemplo n.º 2
0
        public CommandMoveTrcCmp2d(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, short chn, IList <PointD> cmp2dPoints)
            : base(axisX, axisY, trcPrm, crds)
        {
            if (axisX.Card != axisY.Card)
            {
                throw new Exception("axis x and axis y must be on the same card!");
            }

            this.Chn          = chn;
            this.Cmp2dPoints  = cmp2dPoints;
            this.Cmp2dSts     = new Cmp2dSts();
            this.cmp2dPtQueue = new Queue <PointD>();
        }
Ejemplo n.º 3
0
 public CommandMoveTrc(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds)
     : 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>();
 }
Ejemplo n.º 4
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);
 }
Ejemplo n.º 5
0
 public CommandMoveTrcTime(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, int milliSec)
     : base(axisX, axisY, trcPrm, crds)
 {
     this.MilliSec = milliSec;
 }
Ejemplo n.º 6
0
 public CommandMoveTrcCmp2d(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, ICrdable crd, short chn, IList <PointD> cmp2dPoints)
     : this(axisX, axisY, trcPrm, new List <ICrdable>() { crd }, chn, cmp2dPoints)
 {
 }
Ejemplo n.º 7
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;
 }
Ejemplo n.º 8
0
 public CommandMoveTrc(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, ICrdable crd, Action starting)
     : this(axisX, axisY, trcPrm, crd)
 {
     this.Starting = starting;
 }
Ejemplo n.º 9
0
 public CommandMoveTrc(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, ICrdable crd)
     : this(axisX, axisY, trcPrm, new List <ICrdable>() { crd })
 {
 }