Beispiel #1
0
        /// <summary>
        /// </summary>
        /// <param name="eqp"/>
        /// <param name="info"/>
        /// <param name="lot"/>
        /// <param name="wp"/>
        /// <param name="handled"/>
        /// <param name="prevReturnValue"/>
        /// <returns/>
        public string ADD_DISPATCH_WIP_LOG0(Mozart.SeePlan.DataModel.Resource eqp, Mozart.SeePlan.Simulation.EntityDispatchInfo info, Mozart.SeePlan.Simulation.ILot lot, Mozart.SeePlan.DataModel.WeightPreset wp, ref bool handled, string prevReturnValue)
        {
            string log = string.Empty;

            var flot      = lot as FabLot;
            var targetEqp = eqp as FabEqp;

            log = DispatchLogHelper.GetDispatchWipLog(targetEqp, info, flot, wp);


            return(log);
        }
Beispiel #2
0
        /// <summary>
        /// </summary>
        /// <param name="resource"/>
        /// <param name="stateChangeTime"/>
        /// <param name="handled"/>
        /// <param name="prevReturnValue"/>
        /// <returns/>
        public DateTime GET_EQP_UP_TIME0(Mozart.SeePlan.DataModel.Resource resource, DateTime stateChangeTime, ref bool handled, DateTime prevReturnValue)
        {
            FabEqp eqp = resource as FabEqp;


#if DEBUG
            if (eqp.EqpID == "THPHL100")
            {
                Console.WriteLine();
            }


            if (eqp.State == ResourceState.Up)
            {
                Console.WriteLine();
            }
#endif


            return(eqp.StatusInfo.EndTime);
        }
Beispiel #3
0
        /// <summary>
        /// </summary>
        /// <param name="eqp"/>
        /// <param name="sels"/>
        /// <param name="handled"/>
        /// <param name="prevReturnValue"/>
        /// <returns/>
        public string GET_SELECTED_WIP_LOG0(Mozart.SeePlan.DataModel.Resource eqp, Mozart.SeePlan.Simulation.IHandlingBatch[] sels, ref bool handled, string prevReturnValue)
        {
            string log = DispatchLogHelper.GetSelectedWipLog(eqp as FabEqp, sels);

            return(log);
        }