Exemplo n.º 1
0
        //Slot 개체등록 및 가져오기
        #region "Slot"

        public bool AddSlot(int intSlotID)
        {
            clsSlot dclsSlotInfo;     //SlotInfo 개체 선언

            try
            {
                int dintSlotID = intSlotID;

                if (dintSlotID <= 0)
                {
                    return(false);
                }
                else
                {
                    if (pHashtableSlot.Contains(dintSlotID))
                    {
                        return(true);
                    }
                    else
                    {
                        dclsSlotInfo = new clsSlot(dintSlotID);
                        pHashtableSlot.Add(dintSlotID, dclsSlotInfo);
                        return(true);
                    }
                }
            } catch {
                return(false);
            } finally {}
        }
Exemplo n.º 2
0
Arquivo: clsSlot.cs Projeto: k2un/k2un
        public void CopyFrom(clsSlot slot)
        {
            this.SlotID    = slot.SlotID;
            this.H_PANELID = slot.H_PANELID;
            this.E_PANELID = slot.E_PANELID;
            this.LOTID     = slot.LOTID;
            this.BATCHID   = slot.BATCHID;
            this.JOBID     = slot.JOBID;

            this.PORTID       = slot.PORTID;
            this.SLOTNO       = slot.SLOTNO;
            this.PRODUCT_TYPE = slot.PRODUCT_TYPE;
            this.PRODUCT_KIND = slot.PRODUCT_KIND;
            this.PRODUCTID    = slot.PRODUCTID;
            this.RUNSPECID    = slot.RUNSPECID;
            this.LAYERID      = slot.LAYERID;
            this.STEPID       = slot.STEPID;
            this.HOSTPPID     = slot.HOSTPPID;
            this.FLOWID       = slot.FLOWID;
            this.SIZE         = slot.SIZE;
            this.THICKNESS    = slot.THICKNESS;
            this.GLASS_STATE  = slot.GLASS_STATE;
            this.GLASS_ORDER  = slot.GLASS_ORDER;
            this.COMMENT      = slot.COMMENT;

            this.USE_COUNT   = slot.USE_COUNT;
            this.JUDGEMENT   = slot.JUDGEMENT;
            this.REASON_CODE = slot.REASON_CODE;
            this.INS_FLAG    = slot.INS_FLAG;
            this.ENC_FLAG    = slot.ENC_FLAG;
            this.PRERUN_FLAG = slot.PRERUN_FLAG;
            this.TURN_DIR    = slot.TURN_DIR;
            this.FLIP_STATE  = slot.FLIP_STATE;
            this.WORK_STATE  = slot.WORK_STATE;
            this.MULTI_USE   = slot.MULTI_USE;

            this.PAIR_GLASSID = slot.PAIR_GLASSID;
            this.PAIR_PPID    = slot.PAIR_PPID;

            for (int intLoop = 0; intLoop < this.OPTION_NAME.Length; intLoop++)
            {
                this.OPTION_NAME[intLoop]  = slot.OPTION_NAME[intLoop];
                this.OPTION_VALUE[intLoop] = slot.OPTION_VALUE[intLoop];
            }

            this.JOBStart = slot.JOBStart;
            this.JOBEnd   = slot.JOBEnd;

            this.Scrap     = slot.Scrap;
            this.StartTime = slot.StartTime;
            this.EndTime   = slot.EndTime;

            this.IsAPCRunning = slot.IsAPCRunning;
            this.IsRPCRunning = slot.IsRPCRunning;
            this.IsPPCRunning = slot.IsPPCRunning;
        }