public E084ActiveTransferSimEngineState(E084ActiveTransferSimEngineState rhs)
     : this()
 {
     StateStr = rhs.StateStr;
     IsReady = rhs.IsReady;
     IsCycling = rhs.IsCycling;
     TransferProgressStr = rhs.TransferProgressStr;
     TransferCount = rhs.TransferCount;
 }
Example #2
0
 public E084ActiveTransferSimEngineState(E084ActiveTransferSimEngineState other) : this()
 {
     StateStr               = other.StateStr;
     NotReadyReason         = other.NotReadyReason;
     NotReadyToLoadReason   = other.NotReadyToLoadReason;
     NotReadyToUnloadReason = other.NotReadyToUnloadReason;
     IsCycling              = other.IsCycling;
     TransferProgressStr    = other.TransferProgressStr;
     TransferCount          = other.TransferCount;
 }
Example #3
0
        public override bool Equals(object otherObj)
        {
            if (otherObj == null || !(otherObj is E084ActiveTransferSimEngineState))
            {
                return(false);
            }

            E084ActiveTransferSimEngineState other = (E084ActiveTransferSimEngineState)otherObj;

            return(StateStr == other.StateStr &&
                   NotReadyReason == other.NotReadyReason &&
                   NotReadyToLoadReason == other.NotReadyToLoadReason &&
                   NotReadyToUnloadReason == other.NotReadyToUnloadReason &&
                   IsCycling == other.IsCycling &&
                   TransferProgressStr == other.TransferProgressStr &&
                   TransferCount == other.TransferCount);
        }
Example #4
0
        protected override string PerformGoOfflineAction()
        {
            SetBaseState(UseState.Offline, "GoOffline Action has been performed", true);

            SetCurrentActivity(ActivitySelect.Offline, "Performing GoOffline Action");

            nextActivitySelect       = ActivitySelect.None;
            lastSetA2PPins           = new ActiveToPassivePinsState();
            lastSetA2PPins.IFaceName = PartID;
            lastSetA2PPins.XferILock = true;
            ohtActiveToPassivePinsStateIVA.Set(lastSetA2PPins as IActiveToPassivePinsState);
            agvActiveToPassivePinsStateIVA.Set(lastSetA2PPins as IActiveToPassivePinsState);

            privateState = new E084ActiveTransferSimEngineState()
            {
                StateStr = "Offline"
            };

            PublishPrivateState();

            return(String.Empty);
        }
        protected override string PerformGoOfflineAction()
        {
            SetBaseState(UseState.Offline, "GoOffline Action has been performed", true);

            SetCurrentActivity(ActivitySelect.Offline, "Performing GoOffline Action");

            nextActivitySelect = ActivitySelect.None;
            lastSetA2PPins = new ActiveToPassivePinsState();
            lastSetA2PPins.IFaceName = PartID;
            lastSetA2PPins.XferILock = true;
            lpmSimPart.CreateSetE084ActivePins(pioSelect, lastSetA2PPins).Start();

            privateState = new E084ActiveTransferSimEngineState() { StateStr = "Offline" };

            PublishPrivateState();

            return String.Empty;
        }