Exemplo n.º 1
0
 public MHEControl_ManualPicking(ManualPickingATCInfo info, StraightAccumulationConveyor conveyor)
 {
     Info = info;  // set this to save properties
     manualPickDatcomInfo = info;
     theConveyor          = conveyor;
     casePLC = conveyor.Controller as MHEController_Case;
     theConveyor.OnArrivedAtPickingPosition += theConveyor_OnArrivedAtPickingPosition;
 }
Exemplo n.º 2
0
 public MHEControl_CommPoint(CommPointATCInfo info, CommunicationPoint cPoint)
 {
     commPoint                  = cPoint;
     commPointATCInfo           = info;
     Info                       = info;     // set this to save properties
     commPoint.commPointArrival = ap_Enter; //CommunicationPoint will use this delegate for ap_enter.
     casePLC                    = CommPoint.Controller as MHEController_Case;
 }
Exemplo n.º 3
0
        public MHEControl_MiniloadPickStation(MiniloadPickStationATCInfo info, MiniloadPickStation pickStation)
        {
            miniloadPickStation     = pickStation;
            miniloadPickStationInfo = info;
            Info = info;  // set this to save properties

            casePLC = miniloadPickStation.Controller as MHEController_Case;

            miniloadPickStation.OnPickStationStatusUpdate += miniloadPickStation_OnPickStationStatusUpdate;
        }
Exemplo n.º 4
0
        //private List<string> PriorityRoutes = null;

        //Timer LeftBlockedTimer = new Timer(1);
        //Timer RightBlockedTimer = new Timer(1);


        public MHEControl_Transfer(TransferATCInfo info, Transfer transfer)
        {
            Info = info;                // set this to save properties
            transferDatcomInfo = info;
            theTransfer        = transfer;
            casePLC            = transfer.Controller as MHEController_Case;
            theTransfer.OnDivertCompleteController        += transfer_OnDivertCompleteController;
            theTransfer.OnArrivedAtTransferController     += transfer_OnArrivedAtTransferController;
            theTransfer.OnTransferStatusChangedController += theTransfer_OnTransferStatusChangedController;
            LHSRoutingCode = info.lhsRoutingCode;
            RHSRoutingCode = info.rhsRoutingCode;

            //LeftBlockedTimer.OnElapsed += LeftBlockedTimer_OnElapsed;
            //RightBlockedTimer.OnElapsed += RightBlockedTimer_OnElapsed;
        }
Exemplo n.º 5
0
        public MHEControl_BeltSorterDivert(BeltSorterDivertATCInfo info, BeltSorterDivert sorterDivert)
        {
            divertConveyor   = sorterDivert;
            divertDatcomInfo = info;
            Info             = info; // set this to save properties

            //Subscribe to the diverter events
            divertConveyor.OnDivertPointArrivedControl  += divertConveyor_OnDivertPointArrivedControl;
            divertConveyor.OnDivertPointDivertedControl += divertConveyor_OnDivertPointDivertedControl;

            casePLC = divertConveyor.Controller as MHEController_Case;

            //Anything with setup code in the "set" of a property except setting the value will need to be called
            //explicitly so that the "set" code will execute when loading from a saved configuration
            DivertRoutingCode = info.divertRoutingCode;
            //StraightRoutingCode = info.straightRoutingCode;
        }
Exemplo n.º 6
0
        public MHEControl_MergeDivert(MergeDivertATCInfo info, MergeDivertConveyor mergeDivert)
        {
            mergeDivertConveyor   = mergeDivert;
            mergeDivertDatcomInfo = info;
            Info = info;  // set this to save properties
            mergeDivertConveyor.divertArrival = divertArrival;
            mergeDivertConveyor.loadDeleted   = loadDeleted;

            mergeDivertConveyor.releasedStraight = releasedStraight;
            mergeDivertConveyor.releasedLeft     = releasedLeft;
            mergeDivertConveyor.releasedRight    = releasedRight;

            casePLC = mergeDivertConveyor.Controller as MHEController_Case;

            //Anything with setup code in the "set" of a property except setting the value will need to be called
            //explicitly so that the "set" code will execute when loading from a saved configuration
            LeftRoutingCode     = info.leftRoutingCode;
            RightRoutingCode    = info.rightRoutingCode;
            StraightRoutingCode = info.straightRoutingCode;
        }