コード例 #1
0
        public JsonResult check_track_by_lot(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();

            results = promisObject.check_track_by_lot(access.lotNo);

            return(Json(results));
        }
コード例 #2
0
        public JsonResult check_track_by_machine(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();

            results = promisObject.check_track_by_machine(access.machineID);

            return(Json(results));
        }
コード例 #3
0
        [ValidateInput(true)] // Checks if inputs are true
        public JsonResult update_machine_history(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();


            promisObject.insert_Data_History(access.machineID, access.stsDes, access.date1, access.date2, access.user, access.remarks, access.prodName, access.lotNo.ToUpper(), access.uph, access.stsOwner, access.group, access.pkgType, access.pbft_min, access.pbft_max, access.pkgLine, access.bin1, access.total_ng_units_result, access.unpicked_device, access.waferID, access.marking_surface, access.failure_mechanism, access.bump_leads, access.part_specification, access.missing, access.lsg_repair_type, access.lsg_sample, access.vi5_sample, access.swi_mode, access.swi, access.carrier_tape_lot_no, access.cover_tape_lot_no, access.setup_flg);

            results["done"] = "TRUE";
            results["msg"]  = "<strong class='success'>UPDATE HISTORY SUCCESSFULLY</strong>";
            return(Json(results));
        }
コード例 #4
0
        [ValidateInput(true)] // Checks if inputs are true
        public JsonResult update_machine(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();


            promisObject.insert_Data(access.machineID, access.machinePF, access.stsOwner, access.stsDes, access.prodName, access.lotNo.ToUpper(), access.pkgType, access.remarks, access.group, access.user, access.date3, access.pkgLine, access.waferID, access.failure_mechanism, access.part_specification, access.lsg_repair_type, access.pbft_min, access.pbft_max, access.swi_mode, access.swi, access.carrier_tape_lot_no, access.cover_tape_lot_no, access.setup_flg);

            results["done"] = "TRUE";
            results["msg"]  = "<strong class='success'>UPDATE SUCCESSFULLY</strong>";
            return(Json(results));
        }
コード例 #5
0
        [ValidateInput(true)] // Checks if inputs are true
        public JsonResult update_track_lot(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();

            promisObject.track_lot(access.machineID, access.track_in, access.track_out, access.lotNo, access.user);

            //if (access.track_out == "1")
            //{
            //    promisObject.pbft_reset(access.machineID);
            //}

            results["done"] = "TRUE";
            results["msg"]  = "<strong class='success'>UPDATE TRACK DATA SUCCESSFULLY</strong>";
            return(Json(results));
        }