public override bool newReportLoadComplete(string vhID, BCRReadResult bcrReadResult, List <AMCSREPORTQUEUE> reportqueues)
        {
            bool isSuccsess = true;

            isSuccsess = isSuccsess && iBSEMDriver.S6F11SendVehicleAcquireCompleted(vhID, reportqueues);
            isSuccsess = isSuccsess && iBSEMDriver.S6F11SendCarrierInstalledWithIDRead(vhID, reportqueues);//北群創要等到AcquireCompleted之後才能報CarrierInstalled
            isSuccsess = isSuccsess && iBSEMDriver.S6F11SendVehicleDeparted(vhID, reportqueues);
            return(isSuccsess);
        }
Beispiel #2
0
        public virtual bool newReportLoadComplete(string vhID, BCRReadResult bcrReadResult, List <AMCSREPORTQUEUE> reportqueues)
        {
            bool isSuccsess = true;

            isSuccsess = isSuccsess && iBSEMDriver.S6F11SendVehicleAcquireCompleted(vhID, reportqueues);
            if (bcrReadResult == BCRReadResult.BcrNormal)
            {
                isSuccsess = isSuccsess && iBSEMDriver.S6F11SendVehicleDeparted(vhID, reportqueues);
            }
            return(isSuccsess);
        }
Beispiel #3
0
        public static string NorthInnoluxBarcodeReadReultMap(BCRReadResult bcr)
        {
            switch (bcr)
            {
            case BCRReadResult.BcrNormal:
                return(((int)NorthInnoluxBarcodeReadReult.Normal).ToString());

            case BCRReadResult.BcrMisMatch:     //北群創Mismatch也報Normal給MCS
                return(((int)NorthInnoluxBarcodeReadReult.Normal).ToString());

            case BCRReadResult.BcrReadFail:
                return(((int)NorthInnoluxBarcodeReadReult.Error).ToString());

            default:
                return(((int)NorthInnoluxBarcodeReadReult.Error).ToString());
            }
        }
Beispiel #4
0
        public static string NorthInnoluxBarcodeReadReultMap(BCRReadResult bcr)
        {
            switch (bcr)
            {
            case BCRReadResult.BcrNormal:
                return(((int)NorthInnoluxBarcodeReadReult.Normal).ToString());

            case BCRReadResult.BcrMisMatch:     //北群創Mismatch也報Normal給MCS -> 2020/12/21 Hsinyu Chang: mismatch報error
                return(((int)NorthInnoluxBarcodeReadReult.Error).ToString());

            case BCRReadResult.BcrReadFail:
                return(((int)NorthInnoluxBarcodeReadReult.NoBarcode).ToString());

            default:
                return(((int)NorthInnoluxBarcodeReadReult.NoResponse).ToString());
            }
        }