示例#1
0
 public MHEControl_Lift(LiftATCInfo info, Lift liftAssembly)
 {
     liftATCInfo       = info;
     Info              = info; // set this to save properties
     lift              = liftAssembly;
     palletPLC         = lift.Controller as MHEController_Pallet;
     lift.OnLiftRaised = OnLiftRaised;
 }
示例#2
0
 public MHEControl_TCar(TCarATCInfo info, TCar tCarAssembly)
 {
     tCarATCInfo        = info;
     Info               = info; // set this to save properties
     tCar               = tCarAssembly;
     palletPLC          = tCar.Controller as MHEController_Pallet;
     tCar.sourceArrival = SourceArrival;
 }
示例#3
0
 public MHEControl_PalletCommPoint(PalletCommPointATCInfo info, PalletCommunicationPoint 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_Pallet;
 }
示例#4
0
        public MHEControl_PalletStraight(PalletStraightATCInfo info, PalletStraight palletStraightAssembly)
        {
            palletStraightATCInfo = info;
            Info           = info; // set this to save properties
            palletStraight = palletStraightAssembly;
            palletStraight.OnLoadArrived += PalletStraight_OnLoadArrived;
            palletStraight.OnLoadLeft    += PalletStraight_OnLoadLeft;


            palletPLC = palletStraight.Controller as MHEController_Pallet;
        }
示例#5
0
        //private IATCPalletLoadType activeLoad = null;

        public MHEControl_SingleDropStation(SingleDropStationATCInfo info, SingleDropStation dropStation)
        {
            SingleDropStationConveyor = dropStation;
            SingleDropStationATCInfo  = info;
            Info = info;  // set this to save properties

            SingleDropStationConveyor.divertArrival = divertArrival;
            SingleDropStationConveyor.loadDeleted   = loadDeleted;

            palletPLC = SingleDropStationConveyor.Controller as MHEController_Pallet;
        }
示例#6
0
        public MHEControl_LiftTable(LiftTableATCInfo info, LiftTable mergeDivert)
        {
            liftTableConveyor = mergeDivert;
            liftTableATCInfo  = info;
            Info = info;  // set this to save properties
            liftTableConveyor.divertArrival = divertArrival;
            liftTableConveyor.loadDeleted   = loadDeleted;

            liftTableConveyor.releasedStraight = releasedStraight;
            liftTableConveyor.releasedLeft     = releasedLeft;
            liftTableConveyor.releasedRight    = releasedRight;

            palletPLC = liftTableConveyor.Controller as MHEController_Pallet;

            //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;
        }